[gstreamer-bugs] [Bug 584291] New: Cannot create elements after calling gst_update_registry

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat May 30 07:35:45 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=584291

  GStreamer | gst-ffmpeg | Ver: git
           Summary: Cannot create elements after calling
                    gst_update_registry
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: jordimash at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hello,

The file bug.c shows a problem with the current gst-ffmpeg. 

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.

Runing the attached case returns these values:

Creating element ffenc_mpeg2video->a222bf8
Creating element ffdec_mpeg2video->a225048
Creating element ffmux_dvd->a226000
calls gst_update_registry
Creating element ffenc_mpeg2video->0
Creating element ffdec_mpeg2video->0
Creating element ffmux_dvd->0

Changing the sample muxer, encoder and decoder for similar Ogg ones do work as
expected.

Attached to this report you have the file to show the issue and proposed patch
to fix it.

Jordi Mas
jmas at softcatala.org


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=584291.




More information about the Gstreamer-bugs mailing list