[gstreamer-bugs] [Bug 303962] New: decodebin/typefind can cause premature EOS events

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu May 12 13:28:08 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=303962
 GStreamer | gst-plugins | Ver: 0.8.10

           Summary: decodebin/typefind can cause premature EOS events
           Product: GStreamer
           Version: 0.8.10
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: dez at ti.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Version details: Not using GNOME
Distribution/Version: MontaVista Linux

If one runs "gst-launch filesrc location=myfile ! decodebin ! fakesink", and if
the last typefinder calls gst_type_find_peek() such that the filesrc position is
now at the end of a file, an EOS event is triggered before the typefinder
element has a chance to reset the filesrc position.  This causes the stream to
end prematurely.

To replicate this bug, compile and install the attached element "dummy".  Remove
any other existing typefinders (such as
/lib/gstreamer-0.8/libgsttypefindfunctions.so) and run gst-register.  Now run
"gst-launch filesrc location=myfile ! decodebin ! fakesink --gst-debug=dummy:3".
 The dummy typefinder will associate "myfile" as type "application/x-dummy" and
will load the dummy element.  However, an EOS occurs before any data can be passed.

As a control, comment out the line "gst_type_find_peek(tf, -1, 1);" from the
dummy code and recompile the dummy element.  Run the above gst-launch command
again and note that dummy reports receiving all of "myfile" (via GST_INFO()
messages).

Note that this issue was found on an ARM port of GStreamer.

------- 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