[Bug 745073] GstDiscoverer fails to get duration for ogg fd uris

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 24 21:36:35 PST 2015


James Henstridge <james at jamesh.id.au> changed:

           What    |Removed                     |Added
                 CC|                            |james at jamesh.id.au

--- Comment #1 from James Henstridge <james at jamesh.id.au> ---
If I comment out all the print_duration calls but the last, fdsrc seems to work
correctly.  The problem seems to be related to reconfiguring the pipeline from
the normal file source to the fd source.

I can reproduce this with the standard gst-discoverer-1.0 tool too.  The
following succeeds:

    gst-discoverer-1.0 fd://3 3< file1.ogg

And the following gives an error when discovering the second file:

    gst-discoverer-1.0 file1.ogg fd://3 3< file2.ogg

The output on dicovering the second URI is:

    Analyzing fd://3

    (gst-discoverer-1.0:22235): GStreamer-CRITICAL **: pullrange on pad
typefind:sink but it was not activated in pull mode
    Done discovering fd://3
    An error was encountered while discovering the file
     GStreamer encountered a general stream error.

Further evidence that this is related to pipeline reconfiguration, discovering
two file descriptor sources seems to work fine:

    gst-discoverer-1.0 fd://3 fd://4 3< file1.ogg 4< file2.ogg

For reference, this was using GStreamer 1.4.5 from Ubuntu Vivid.

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