[Bug 675156] New: mpegdemux: the ts demuxer ignores/discards NEWSEGMENT events that are already in time format

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 30 06:18:14 PDT 2012


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

           Summary: mpegdemux: the ts demuxer ignores/discards NEWSEGMENT
                    events that are already in time format
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: frank at netview.no
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I've made a push-based source plugin for GStreamer that downloads adaptive
streams over HTTP. Basically I fetch the media by piecemeal segments from a web
server by giving parameters for time offset and quality layer. Internally the
GST plugin uses GST_FORMAT_TIME (the sizes of the individual media segments
that will be fetched to make up the viewed stream are not known before they are
fetched, so it is meaningless to talk about byte offset into the stream).

I discovered that when I use it with decodebin/playbin, seeking didn't work. I
traced this back to this module and the fact that it doesn't forward NEWSEGMENT
events to its sinks, even though I emit them with correct times in
GST_FORMAT_TIME format. This seems like a bug to me. It simply attempts to
convert NEWSEGMENT events that are specified in byte format, and
ignores/discards the rest.

(Perhaps all NEWSEGMENT events that are not in byte format should be
forwarded?)

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