[Bug 750439] New: playbin using fdsrc source hangs for with empty input

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 4 23:31:40 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750439

            Bug ID: 750439
           Summary: playbin using fdsrc source hangs for with empty input
    Classification: Platform
           Product: GStreamer
           Version: 1.4.5
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: james at jamesh.id.au
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Playbin appears to hang when using an fdsrc that is at eof.  I can reproduce
this using the standard utilities like so:

    $ touch empty
    $ gst-launch-1.0 playbin uri=fd://3 3< empty 
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...

At this point, it hangs until I kill the process.  Instead, I would expect the
playbin to behave in the same way as if I was using filesrc with the same empty
file:

    $ gst-launch-1.0 playbin uri=file://$PWD/empty
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    ERROR: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
Stream contains no data.
    Additional debug info:
    gsttypefindelement.c(1055): gst_type_find_element_loop ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
    Can't typefind empty stream
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    Freeing pipeline ...

I tested this on an Ubuntu 15.04 amd64 box, which has the 1.4.5-1 GStreamer
packages installed.

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


More information about the gstreamer-bugs mailing list