dvdemux: don't return FALSE when dropping sink events

Fixes problem in conjunction with avidemux.

https://bugzilla.gnome.org/show_bug.cgi?id=695643
This commit is contained in:
Kishore Arepalli 2013-03-12 09:48:31 +00:00 committed by Tim-Philipp Müller
parent dfde4179e8
commit 3b943a56da

View file

@ -651,8 +651,10 @@ gst_dvdemux_push_event (GstDVDemux * dvdemux, GstEvent * event)
if (dvdemux->audiosrcpad) if (dvdemux->audiosrcpad)
res |= gst_pad_push_event (dvdemux->audiosrcpad, event); res |= gst_pad_push_event (dvdemux->audiosrcpad, event);
else else {
gst_event_unref (event); gst_event_unref (event);
res = TRUE;
}
return res; return res;
} }