mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
asfdemux: slightly relax supported seek requirements
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680279
This commit is contained in:
parent
89ff56321f
commit
f7c5be9dd1
1 changed files with 3 additions and 2 deletions
|
@ -644,8 +644,9 @@ gst_asf_demux_handle_seek_event (GstASFDemux * demux, GstEvent * event)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
/* we can (re)construct the start later on, but not the end */
|
/* we can (re)construct the start later on, but not the end */
|
||||||
if (stop_type != GST_SEEK_TYPE_NONE) {
|
if (stop_type != GST_SEEK_TYPE_NONE &&
|
||||||
GST_LOG_OBJECT (demux, "streaming; end type must be NONE");
|
(stop_type != GST_SEEK_TYPE_SET || GST_CLOCK_TIME_IS_VALID (stop))) {
|
||||||
|
GST_LOG_OBJECT (demux, "streaming; end position must be NONE");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
gst_event_ref (event);
|
gst_event_ref (event);
|
||||||
|
|
Loading…
Reference in a new issue