mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
subparse: forward seek event first and return if succeeded
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4889>
This commit is contained in:
parent
dabce9635d
commit
824c70d35a
1 changed files with 5 additions and 0 deletions
|
@ -273,6 +273,11 @@ gst_sub_parse_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
goto beach;
|
||||
}
|
||||
|
||||
/* Forward seek event first and return if succeeded */
|
||||
ret = gst_pad_event_default (pad, parent, event);
|
||||
if (ret)
|
||||
break;
|
||||
|
||||
/* Convert that seek to a seeking in bytes at position 0,
|
||||
FIXME: could use an index */
|
||||
ret = gst_pad_push_event (self->sinkpad,
|
||||
|
|
Loading…
Reference in a new issue