summaryrefslogtreecommitdiff
path: root/ext/ogg/gstoggdemux.c
diff options
context:
space:
mode:
authorThiago Santos <ts.santos@sisa.samsung.com>2014-02-19 01:55:50 -0300
committerThiago Santos <ts.santos@sisa.samsung.com>2014-02-20 00:24:02 -0300
commitb0985365affd8f469a288ca7eecb620007d3b1fa (patch)
tree53d2f9bd73919522319e5042bba190eb3644167c /ext/ogg/gstoggdemux.c
parentef547c3eb54edae5df26f38642bf7832268d4278 (diff)
downloadgstreamer-plugins-base-b0985365affd8f469a288ca7eecb620007d3b1fa.tar.gz
oggdemux: allow file to go until the end in push mode
When seeking back to original state after duration seeks, let upstream know that we want the whole file, including the last byte that wasn't requested on the duration seeks. https://bugzilla.gnome.org/show_bug.cgi?id=724633
Diffstat (limited to 'ext/ogg/gstoggdemux.c')
-rw-r--r--ext/ogg/gstoggdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index 4ddf0f1e5..56e255169 100644
--- a/ext/ogg/gstoggdemux.c
+++ b/ext/ogg/gstoggdemux.c
@@ -1373,7 +1373,7 @@ gst_ogg_demux_seek_back_after_push_duration_check_unlock (GstOggDemux * ogg)
GST_INFO_OBJECT (ogg, "Seeking back to 0 after duration check");
event = gst_event_new_seek (1.0, GST_FORMAT_BYTES,
GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH,
- GST_SEEK_TYPE_SET, 1, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE);
+ GST_SEEK_TYPE_SET, 1, GST_SEEK_TYPE_SET, GST_CLOCK_TIME_NONE);
if (!gst_pad_push_event (ogg->sinkpad, event)) {
GST_WARNING_OBJECT (ogg, "Failed seeking back to start");
return GST_FLOW_ERROR;