Magellan Linux

Annotation of /trunk/kdemultimedia4/patches/kdemultimedia4-4.6.5-ffmpeg08.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1452 - (hide annotations) (download)
Thu Jul 28 08:46:35 2011 UTC (12 years, 10 months ago) by niro
File size: 597 byte(s)
-added patch to fix compile issues against git ffmpeg
1 niro 1452 --- ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp.ffmpeg 2011-06-24 07:20:23.000000000 +0200
2     +++ ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp 2011-06-24 07:20:44.000000000 +0200
3     @@ -122,7 +122,7 @@
4     void MovieDecoder::initializeVideo()
5     {
6     for (unsigned int i = 0; i < m_pFormatContext->nb_streams; i++) {
7     - if (m_pFormatContext->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO) {
8     + if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
9     m_pVideoStream = m_pFormatContext->streams[i];
10     m_VideoStream = i;
11     break;