Bug 276375 - ffmpegthumbs does not compile against ffmpeg 0.8
Summary: ffmpegthumbs does not compile against ffmpeg 0.8
Status: RESOLVED FIXED
Alias: None
Product: kdemultimedia
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
: 274666 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-24 04:53 UTC by Funda Wang
Modified: 2011-07-18 20:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Funda Wang 2011-06-24 04:53:39 UTC
Version:           unspecified (using KDE 4.6.4) 
OS:                Linux

When building kdemultimedia 4.6.4 with ffmpeg 0.8, it throws out following errors:

Generating viewbase.moc
/home/iurt/rpm/BUILD/kdemultimedia-4.6.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function 'void ffmpegthumbnailer::MovieDecoder::initialize(const QString&)':
/home/iurt/rpm/BUILD/kdemultimedia-4.6.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:60:39: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1083)
/home/iurt/rpm/BUILD/kdemultimedia-4.6.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:60:135: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1083)
/home/iurt/rpm/BUILD/kdemultimedia-4.6.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function 'void ffmpegthumbnailer::MovieDecoder::initializeVideo()':
/home/iurt/rpm/BUILD/kdemultimedia-4.6.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:125:64: error: 'CODEC_TYPE_VIDEO' was not declared in this scope

Reproducible: Always




Please accept following patch for kde 4.6.x, 4.7.x and 4.8.x:
http://svnweb.mageia.org/packages/cauldron/kdemultimedia4/current/SOURCES/kdemultimedia-4.6.4-ffmpeg0.8.patch
Comment 1 Funda Wang 2011-06-24 04:54:25 UTC
The patch also works with ffmpeg 0.6
Comment 2 Andreas Scherf 2011-06-24 11:10:41 UTC
Thanks. Comiited your patch to trunk
Comment 3 Funda Wang 2011-06-26 09:43:11 UTC
How about commit this change into branches/4.7 and branches/4.6?
Comment 4 Andreas Scherf 2011-07-05 08:20:31 UTC
Hello, it is backported to the 4.7 branch. I think there is no need to port
it to 4.6 or?

Greetings
Andreas

Am 05.07.2011 07:37 schrieb "Funda Wang" <fundawang@gmail.com>:
> https://bugs.kde.org/show_bug.cgi?id=276375
>
>
>
>
>
> --- Comment #3 from Funda Wang <fundawang gmail com> 2011-06-26 09:43:11
---
> How about commit this change into branches/4.7 and branches/4.6?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> kde-multimedia mailing list
> kde-multimedia@kde.org
> https://mail.kde.org/mailman/listinfo/kde-multimedia
Comment 5 Andreas Scherf 2011-07-05 08:28:04 UTC
Hello, woebbeking@kde.org will look on this. I'm on vacation so I have no pc
to look on that now.
I have cc him to look at that thing.

Greetings
Andreas

Am 05.07.2011 09:21 schrieb "Andreas Scherf" <ascherfy@googlemail.com>:
> https://bugs.kde.org/show_bug.cgi?id=276375
>
>
>
>
>
> --- Comment #4 from Andreas Scherf <ascherfy googlemail com> 2011-07-05
08:20:31 ---
> Hello, it is backported to the 4.7 branch. I think there is no need to
port
> it to 4.6 or?
>
> Greetings
> Andreas
>
> Am 05.07.2011 07:37 schrieb "Funda Wang" <fundawang@gmail.com>:
>> https://bugs.kde.org/show_bug.cgi?id=276375
>>
>>
>>
>>
>>
>> --- Comment #3 from Funda Wang <fundawang gmail com> 2011-06-26 09:43:11
> ---
>> How about commit this change into branches/4.7 and branches/4.6?
>>
>> --
>> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
>> ------- You are receiving this mail because: -------
>> You are the assignee for the bug.
>> _______________________________________________
>> kde-multimedia mailing list
>> kde-multimedia@kde.org
>> https://mail.kde.org/mailman/listinfo/kde-multimedia
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> kde-multimedia mailing list
> kde-multimedia@kde.org
> https://mail.kde.org/mailman/listinfo/kde-multimedia
Comment 6 Christoph Feck 2011-07-18 20:53:30 UTC
*** Bug 274666 has been marked as a duplicate of this bug. ***