[Bug 733976] New: uridecodebin: Does not set the dec->source uri when an error occurred with a first soon and we set a new URI in READY state

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 30 06:01:47 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733976
  GStreamer | gst-plugins-base | git

           Summary: uridecodebin: Does not set the dec->source uri when an
                    error occurred with a first soon and we set a new URI
                    in READY state
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: tsaunier at gnome.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Since the latest changes in uridecodebin (namely uridecodebin: Create new
sources after chaining up to the parent class) the following command will fail:

  $gst-discoverer-1.0 file:///wrong/uri file:///an/actually/uri

What actually happens is the following in uridecodebin:

 1- Discoverer sets "file:///wrong/uri" on its internal uridecodebin
 2- That FAILS an error is reported on the bus, and the discovering is done
 3- Discoverer will try to discover the pipeline to READY
 4- Discoverer sets the uridecodebin uri to file:///an/actually/uri
 5- The Source of uridecodebin report the *same* error as the first time as its
uri is actually not reset properly to "file:///an/actually/uri" and is still
"file:///wrong/uri"

In discoverer setting the pipeline back to NULL and then READY in state 3 works
around the issue.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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