[gstreamer-bugs] [Bug 322254] New: gst-ffmpeg isn't thread-safe

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Nov 23 09:13:14 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=322254
 GStreamer | gst-ffmpeg | Ver: HEAD CVS

           Summary: gst-ffmpeg isn't thread-safe
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: sebas642 at yahoo.ca
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Run many instances of ffmpeg decoders and/or encoders simultaneously and you get
the following message: "insufficient thread locking around avcodec_open/close()".

It seems a lock must be held before calling avcodec_open/close(). When you get
the warning, ffmpeg doesn't initialize properly and problems start happening. We
probably need a static mutex that both gstffmpegenc and gstffmpegdec can lock.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list