From 646ba6b3df8f363723715f8bac2092c8fb07648d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 30 Jul 2013 16:08:17 +0100 Subject: [PATCH] mpegts: private/teletext -> application/x-teletext --- gst/mpegtsdemux/tsdemux.c | 2 +- gst/mpegtsmux/mpegtsmux.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index d4f418d..6089276 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -826,7 +826,7 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream, GST_LOG ("teletext"); template = gst_static_pad_template_get (&private_template); name = g_strdup_printf ("private_%04x", bstream->pid); - caps = gst_caps_new_empty_simple ("private/teletext"); + caps = gst_caps_new_empty_simple ("application/x-teletext"); break; } desc = diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index e7a6d01..a31157f 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -135,7 +135,7 @@ static GstStaticPadTemplate mpegtsmux_sink_factory = "dynamic_range = (int) [ 0, 255 ], " "emphasis = (boolean) { FALSE, TRUE }, " "mute = (boolean) { FALSE, TRUE }; " "audio/x-ac3;" "audio/x-dts;" - "subpicture/x-dvb;" "private/teletext")); + "subpicture/x-dvb;" "application/x-teletext")); static GstStaticPadTemplate mpegtsmux_src_factory = GST_STATIC_PAD_TEMPLATE ("src", @@ -639,7 +639,7 @@ mpegtsmux_create_stream (MpegTsMux * mux, MpegTsPadData * ts_data) } } else if (strcmp (mt, "subpicture/x-dvb") == 0) { st = TSMUX_ST_PS_DVB_SUBPICTURE; - } else if (strcmp (mt, "private/teletext") == 0) { + } else if (strcmp (mt, "application/x-teletext") == 0) { st = TSMUX_ST_PS_TELETEXT; /* needs a particularly sized layout */ ts_data->prepare_func = mpegtsmux_prepare_teletext; -- 2.7.4