summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dv/gstdvdec.c')
-rw-r--r--ext/dv/gstdvdec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index 19bf308f..dbfbe5b3 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -657,6 +657,9 @@ gst_dvdec_handle_sink_event (GstDVDec * dvdec)
gst_event_ref (event);
gst_pad_push (dvdec->audiosrcpad, GST_DATA (event));
}
+ if (type == GST_EVENT_EOS) {
+ gst_element_set_eos (GST_ELEMENT (dvdec));
+ }
break;
}
case GST_EVENT_DISCONTINUOUS: