Patches item #3431254, was opened at 2011-10-31 09:10
Message generated for change (Comment added) made by genete
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757418&aid=3431254&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Postponed
Priority: 5
Private: No
Submitted By: Jelle van der Waa (jelly1)
>Assigned to: Genete (genete)
Summary: FFMPEG 0.8 API Changes

Initial Comment:
In ffmpeg 0.8 some types changed its name. Here is a patch that fixed build 
issues on archlinux. I based the patch on git, so it should be fine.

----------------------------------------------------------------------

>Comment By: Genete (genete)
Date: 2011-11-11 11:59

Message:
When enable libavcodec can't build on Ubuntu 10.04
configure --with-libavcodec="yes" and the patch applied gives:
trgt_av.cpp: In member function 'bool
VideoEncoder::write_frame(AVFormatContext*, AVStream*, AVFrame*)':
trgt_av.cpp:444: error: 'AV_PKT_FLAG_KEY' was not declared in this scope
trgt_av.cpp:466: error: 'AV_PKT_FLAG_KEY' was not declared in this scope
trgt_av.cpp: In member function 'bool
Target_LibAVCodec::LibAVEncoder::Initialize(const char*, const char*)':
trgt_av.cpp:570: error: 'av_guess_format' was not declared in this scope
trgt_av.cpp:574: error: 'av_guess_format' was not declared in this scope
trgt_av.cpp:580: error: 'av_guess_format' was not declared in this scope
trgt_av.cpp: In member function 'AVStream*
Target_LibAVCodec::LibAVEncoder::add_video_stream(int, const VideoInfo&)':
trgt_av.cpp:756: error: 'AVMEDIA_TYPE_VIDEO' was not declared in this
scope
trgt_av.cpp: In member function 'AVStream*
Target_LibAVCodec::LibAVEncoder::add_audio_stream(int, const AudioInfo&)':
trgt_av.cpp:803: error: 'AVMEDIA_TYPE_AUDIO' was not declared in this
scope
make[3]: *** [libmod_libavcodec_la-trgt_av.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libmod_libavcodec_la-main.Tpo
.deps/libmod_libavcodec_la-main.Plo
make[3]: Leaving directory
`/home/carlos/Software/Synfig1/synfig/synfig-core/src/modules/mod_libavcodec'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/carlos/Software/Synfig1/synfig/synfig-core/src/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/carlos/Software/Synfig1/synfig/synfig-core/src'
make: *** [install-recursive] Error 1


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757418&aid=3431254&group_id=144022

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to