ffmpeg: make elements reusable after registry rescan
authorJordi Mas <jordimash at gmail.com>
Fri, 5 Jun 2009 11:19:03 +0000 (13:19 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 5 Jun 2009 11:19:03 +0000 (13:19 +0200)
commitcfbb046f1e73e5b27c3436120660f27bacc7d6c4
tree01a4b09efe15d0b57a6cfc67cdfb3534d9dde247
parent6d643a134e88c2cff1672bd1e72ebcb0dbe8b969
ffmpeg: make elements reusable after registry rescan

If the same instance of the plugin is asked to be initialised more that once,
instances after the first one do not register the elements properly and the
elements become not usable.

For example, if you call gst_update_registry (), is not possible to create
elements after the call since the plugin is asked to be initialised again and
does not register the elements.

Fixes #584291
ext/ffmpeg/gstffmpegdec.c
ext/ffmpeg/gstffmpegenc.c
ext/ffmpeg/gstffmpegmux.c