mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
tsdemux: Expose DVB Subpicture as subpictures
For some reason we were considering them as private data.
This commit is contained in:
parent
531117b7df
commit
a21c2618c5
1 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ struct _TSDemuxStream
|
|||
|
||||
/* Can also use the subpicture pads for text subtitles? */
|
||||
#define SUBPICTURE_CAPS \
|
||||
GST_STATIC_CAPS ("subpicture/x-pgs; subpicture/x-dvd")
|
||||
GST_STATIC_CAPS ("subpicture/x-pgs; subpicture/x-dvd; subpicture/x-dvb")
|
||||
|
||||
static GstStaticPadTemplate video_template =
|
||||
GST_STATIC_PAD_TEMPLATE ("video_%04x", GST_PAD_SRC,
|
||||
|
@ -1181,7 +1181,7 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
|
|||
GST_MTS_DESC_DVB_SUBTITLING);
|
||||
if (desc) {
|
||||
GST_LOG ("subtitling");
|
||||
is_private = TRUE;
|
||||
is_subpicture = TRUE;
|
||||
caps = gst_caps_new_empty_simple ("subpicture/x-dvb");
|
||||
sparse = TRUE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue