[Bug 759592] New: Seek with negative rates appears to be broken with hlsdemux

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 17 05:50:56 PST 2015


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

            Bug ID: 759592
           Summary: Seek with negative rates appears to be broken with
                    hlsdemux
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: arjen.veenhuizen at tno.nl
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

As discussed in [1], seeking with negative rates appears to be broken.

Basic pipeline:
[souphttpsrc] - [hlsdemux] - [tsdemux] - [h264parse] - [avdec_h264] -
[ximagesink]

The event I send for a positive rate (works fine): 
start = self.elementPipeline.query_position(Gst.Format.TIME)[1]
end = self.elementPipeline.query_duration(Gst.Format.TIME)[1]
seekEvent =  Gst.Event.new_seek (argRate, Gst.Format.TIME,  Gst.SeekFlags.FLUSH
| Gst.SeekFlags.ACCURATE, Gst.SeekType.SET, int(start), Gst.SeekType.SET,
int(end))

The event I send for a negative rate (doesn't work): 
start = -1
end = self.elementPipeline.query_position(Gst.Format.TIME)[1]
seekEvent =  Gst.Event.new_seek (argRate, Gst.Format.TIME,  Gst.SeekFlags.NONE,
Gst.SeekType.NONE, int(start), Gst.SeekType.NONE, int(end))

Not sure where this issues stems from, but I suspect hlsdemux in
gst-plugins-bad.

[1]
http://gstreamer-devel.966125.n4.nabble.com/Playing-a-VOD-HLS-feed-backwards-stops-playback-td4674935.html

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