diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-04-30 14:18:58 +0200 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-05-03 12:03:19 -0400 |
commit | c75344342c3d337dae730135453a25351fe74167 (patch) | |
tree | 523a80c6fca4fb4ceefc576cf6132de3340cb02d | |
parent | 322b5be071ed89161169ed8154dcbe1370709835 (diff) | |
download | gst-plugins-bad-c75344342c3d337dae730135453a25351fe74167.tar.gz gst-plugins-bad-c75344342c3d337dae730135453a25351fe74167.tar.bz2 gst-plugins-bad-c75344342c3d337dae730135453a25351fe74167.zip |
dvdspu: don't EOS when the subtitle got EOS
Don't forward the EOS on the subtitle pad as the video might still be running.
-rw-r--r-- | gst/dvdspu/gstdvdspu.c | 6 |
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; |