summaryrefslogtreecommitdiffstats
path: root/gst/dvdspu/gstdvdspu.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/dvdspu/gstdvdspu.c')
-rw-r--r--gst/dvdspu/gstdvdspu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c
index 6ad8ed06..3b4c1a0c 100644
--- a/gst/dvdspu/gstdvdspu.c
+++ b/gst/dvdspu/gstdvdspu.c
@@ -1366,6 +1366,12 @@ gst_dvd_spu_subpic_event (GstPad * pad, GstEvent * event)
/* We don't forward flushes on the spu pad */
gst_event_unref (event);
goto done;
+ case GST_EVENT_EOS:
+ /* drop EOS on the subtitle pad, it means there are no more subtitles,
+ * video might still continue, though */
+ gst_event_unref (event);
+ goto done;
+ break;
default:
res = gst_pad_event_default (pad, event);
break;