mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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.
This commit is contained in:
parent
1ae52725d9
commit
f38cb76b5f
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue