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 835473b792
commit 7831661c40

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 fails upstream */
if (format != GST_FORMAT_TIME) {
return gst_pad_push_event (parse->sinkpad, event);
/* default action delegates to upstream */
return FALSE;
} else {
gst_event_ref (event);
if (gst_pad_push_event (parse->sinkpad, event)) {