Hi Robert,

As described in the APIChanges file of FFMPEG, av_lockmgr_register()
is first introduced in r19025. I have built OSG with FFMPEG version
0.6-r31301without trouble, but 0.5-r17682 failed.

Wang Rui


2010/8/17 Robert Osfield <[email protected]>:
> Hi JS,
>
> On Tue, Aug 17, 2010 at 4:28 AM, Jean-Sébastien Guay
> <[email protected]> wrote:
>> Generally, it would be nice to know when a change bumps the minimum required
>> version of a 3rd party dependency. I know it's not always easy to know
>> (especially for a dependency with such great documentation as ffmpeg
>> </sarcasm>). Just saying... :-)
>
> For this particular issue I wasn't aware that av_lockmgr_register
> would cause problems with older rev's.
>
> CMake itself can encode some of this version but this might not be
> needed in this instance.  For the ffmpeg plugin we already have some
> version checks directly in the source code and once we find out which
> version the av_lockmgr_register was introduced we can add an #if
> #endif directive around it.
>
> Which version of ffmpeg are you using JS?
>
> My version is:
>> ffmpeg
> FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6.2, Copyright (c)
> 2000-2009 Fabrice Bellard, et al.
>  configuration: --enable-gpl --enable-postproc --enable-swscale
> --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6.2
> --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm
> --enable-libschroedinger --enable-libspeex --enable-libtheora
> --enable-libvorbis --enable-pthreads --disable-stripping
> --disable-vhook --enable-libdc1394 --enable-shared --disable-static
>  libavutil     49.15. 0 / 49.15. 0
>  libavcodec    52.20. 0 / 52.20. 0
>  libavformat   52.31. 0 / 52.31. 0
>  libavdevice   52. 1. 0 / 52. 1. 0
>  libavfilter    0. 4. 0 /  0. 4. 0
>  libswscale     0. 7. 1 /  0. 7. 1
>  libpostproc   51. 2. 0 / 51. 2. 0
>  built on Apr 23 2010 15:48:03, gcc: 4.3.3
>
>
> Robert.
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to