Question WRT gstreamer0.10-ffmpeg (0.10.7.2-2): debian/patches/02_plugin-dependencies.patch

Sebastian Dröge slomo at circular-chaos.org
Mon Jul 6 09:28:13 UTC 2009


Am Montag, den 06.07.2009, 11:08 +0200 schrieb Fabian Greffrath:
> Hi slomo,
> 
> i've got a question concerning the patch that you've introduced in the 
> following upload:
> 
> gstreamer0.10-ffmpeg (0.10.7.2-2) experimental; urgency=low
>    * debian/patches/02_plugin-dependencies.patch:
>      + Add the ffmpeg libraries as plugin dependencies. This makes sure
>        that the list of encoders/decoders/muxers/demuxers is updated in
>        the GStreamer registry whenever ffmpeg is updated. This is
>        especially useful if someone installs an unstripped ffmpeg.
> [...]
> 
> - What does this patch exactly do? In the patch description you state 
> that it adds the ffmpeg libraries as plugin dependencies, but AFAICT 
> the ffmpeg libraries are already dependencies of the 
> gstreamer0.10-ffmpeg package.

GStreamer plugin dependencies make sure, that the GStreamer registry is
rebuild whenever the timestamps of the plugin dependencies change, i.e.
when a new ffmpeg version is installed (which may contain new
encoders/decoders/etc).

> - Furthermore you state that some elements list is updated whenever 
> the ffmpeg libraries are updated and that this is especially usefull 
> for people who install unstripped ffmpeg libraries. Does this mean in 
> turn that without this patch gst-ffmpeg is not able to make use of the 
>   additional encoders in the unstripped ffmpeg libraries if it is 
> built against the stripped ones? if not, please elaborate on what this 
> exactly means.

It means that you don't need to force GStreamer to rebuild it's registry
when the unstripped ffmpeg package is installed (i.e. rm
~/.gstreamer-0.10/registry.*.bin). Instead the ffmpeg plugin will be now
re-registered whenever the timestamps on the ffmpeg library files are
changing.

> - Is it possible to port this patch back to Lenny and are you willing 
> to do so (and convince the release team, ahem) given the *chance* that 
> there may be unstripped ffmpeg libraries for Lenny some day? ;)

No, because the plugin dependency support was added in gstreamer 0.10.22
and Lenny has only 0.10.19 :(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.alioth.debian.org/pipermail/pkg-gstreamer-maintainers/attachments/20090706/54489dd6/attachment-0001.pgp>


More information about the Pkg-gstreamer-maintainers mailing list