diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-06-20 18:10:37 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-21 11:25:17 +0100 |
commit | a8dd05742ad19caf13a5747a52a7f3a93190fdc3 (patch) | |
tree | 1f600c53ed72fb60583dbdaa41f06dad262f408b | |
parent | 96b7059d242421cba1dde21b841f4b95fb3aad0c (diff) |
mpegtbase: Always send EOS
subclass will take care of handling it more if needed
-rw-r--r-- | gst/mpegtsdemux/mpegtsbase.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c index 4083c8eee..90a3bb2d1 100644 --- a/gst/mpegtsdemux/mpegtsbase.c +++ b/gst/mpegtsdemux/mpegtsbase.c @@ -1328,7 +1328,7 @@ mpegts_base_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) gboolean res = TRUE; MpegTSBase *base = GST_MPEGTS_BASE (parent); - GST_WARNING_OBJECT (base, "Got event %s", + GST_DEBUG_OBJECT (base, "Got event %s", gst_event_type_get_name (GST_EVENT_TYPE (event))); switch (GST_EVENT_TYPE (event)) { @@ -1341,7 +1341,7 @@ mpegts_base_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) break; case GST_EVENT_EOS: res = gst_mpegts_base_handle_eos (base); - gst_event_unref (event); + res = GST_MPEGTS_BASE_GET_CLASS (base)->push_event (base, event); break; case GST_EVENT_CAPS: /* FIXME, do something */ |