baseparse: non-TIME seek event is simply not handled

This commit is contained in:
Mark Nauwelaerts 2010-09-06 14:12:00 +02:00 committed by Tim-Philipp Müller
parent dc80b52372
commit 08e8dbf027

View file

@ -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)) {