The patch has been applied to the current development branch of the
source code. Thanks! :)

On Mon, Feb 24, 2014 at 11:30 AM, Sebastian Ramacher
<sramac...@debian.org> wrote:
> Control: tags -1 + patch
>
> On 2014-02-18 19:05:33, Moritz Muehlenhoff wrote:
>>  g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
>> -Werror=format-security -D_FORTIFY_SOURCE=2 -m64 -pipe -O2 -Wall -W 
>> -D_REENTRANT -fPIC -DQT_WEBKIT -DHAVE_QUAZIP -DHAVE_THEORA -DHAVE_FFMPEG 
>> -DHAVE_ZLIB -DVERSION=\"0.2\" -DCODE_NAME=\"Ajuba\" -DREVISION=\"git02\" 
>> -DK_DEBUG -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SVG_LIB -DQT_XML_LIB 
>> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
>> -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
>> -I/usr/include/qt4/QtNetwork
>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL 
>> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4 
>> -I../../../framework -I../../../framework/tcore -I../../../framework/tgui 
>> -I../../../store -I../../../libtupi -I../../../libbase -I/usr/include/quazip 
>> -I/usr/include/ffmpeg/ -I/usr/X11R6/include -I.moc -o 
>> .obj/tffmpegmoviegenerator.o tffmpegmoviegenerator.cpp
>> tffmpegmoviegenerator.cpp: In function 'AVStream* 
>> addVideoStream(AVFormatContext*, AVCodec**, AVCodecID, const QString&, int, 
>> int, int, const char*)':
>> tffmpegmoviegenerator.cpp:124:24: error: 'CODEC_ID_MPEG2VIDEO' was not 
>> declared in this scope
>>      if (c->codec_id == CODEC_ID_MPEG2VIDEO) {
>>                         ^
>> tffmpegmoviegenerator.cpp:129:24: error: 'CODEC_ID_MPEG1VIDEO' was not 
>> declared in this scope
>>      if (c->codec_id == CODEC_ID_MPEG1VIDEO) {
>>                         ^
>> tffmpegmoviegenerator.cpp: In member function 'bool 
>> TFFMpegMovieGenerator::Private::openVideo(AVCodec*, AVStream*)':
>> tffmpegmoviegenerator.cpp:194:13: warning: 'AVFrame* avcodec_alloc_frame()' 
>> is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) 
>> [-Wdeprecated-declarations]
>>      frame = avcodec_alloc_frame();
>>              ^
>> tffmpegmoviegenerator.cpp:194:33: warning: 'AVFrame* avcodec_alloc_frame()' 
>> is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) 
>> [-Wdeprecated-declarations]
>>      frame = avcodec_alloc_frame();
>>                                  ^
>> tffmpegmoviegenerator.cpp: In member function 'virtual bool 
>> TFFMpegMovieGenerator::begin()':
>> tffmpegmoviegenerator.cpp:385:32: error: 'CODEC_ID_NONE' was not declared in 
>> this scope
>>      if (k->fmt->video_codec != CODEC_ID_NONE) {
>>                                 ^
>
> The attached patch fixes this issue. Since there is already special
> casing for libav 9 and newer present in the package, there should be no
> special casing needed for older versions (in case the patch is going to
> be sent to upstream).
>
> Regards
> --
> Sebastian Ramacher



-- 
Follow us on:
https://twitter.com/#!/maefloresta
http://identi.ca/maefloresta
https://www.facebook.com/maefloresta

==
Gustav Gonzalez
Development Leader
i...@maefloresta.com

TupĂ­: Magia 2D
http://www.maefloresta.com
---


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to