mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
baseparse: non-TIME seek event is simply not handled
This commit is contained in:
parent
dc80b52372
commit
08e8dbf027
1 changed files with 2 additions and 1 deletions
|
@ -2063,7 +2063,8 @@ gst_base_parse_handle_seek (GstBaseParse * parse, GstEvent * event)
|
||||||
* it directly or fail. For TIME, try upstream, but do it ourselves if
|
* it directly or fail. For TIME, try upstream, but do it ourselves if
|
||||||
* it fails upstream */
|
* it fails upstream */
|
||||||
if (format != GST_FORMAT_TIME) {
|
if (format != GST_FORMAT_TIME) {
|
||||||
return gst_pad_push_event (parse->sinkpad, event);
|
/* default action delegates to upstream */
|
||||||
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
gst_event_ref (event);
|
gst_event_ref (event);
|
||||||
if (gst_pad_push_event (parse->sinkpad, event)) {
|
if (gst_pad_push_event (parse->sinkpad, event)) {
|
||||||
|
|
Loading…
Reference in a new issue