summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2015-10-20 09:49:16 +0200
committerEdward Hervey <bilboed@bilboed.com>2015-12-02 14:15:04 +0100
commita21c2618c509638e06c1e49046d69bc41b7c545d (patch)
tree34e40239fbef979e56a58bf241ecec4b9975e20d
parent531117b7df1002f816f2a4e3259fdcdfa470cb72 (diff)
tsdemux: Expose DVB Subpicture as subpictures
For some reason we were considering them as private data.
-rw-r--r--gst/mpegtsdemux/tsdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index 729c579d7..b54a7d371 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -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;