summaryrefslogtreecommitdiff
path: root/ext/resindvd
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-08-20 23:37:00 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-08-20 23:37:00 +0100
commit2483c82bd75bea521b9d5721c994a191d26c55a9 (patch)
treeeb3f92a6f6eee3bfc869c6c5a2c8b78772a61b0c /ext/resindvd
parentcc167a237ac7373139e54f8477affa9e6a1513c7 (diff)
downloadgstreamer-plugins-bad-2483c82bd75bea521b9d5721c994a191d26c55a9.tar.gz
video/x-dvd-subpicture -> subpicture/x-dvd
Diffstat (limited to 'ext/resindvd')
-rw-r--r--ext/resindvd/gstmpegdemux.c4
-rw-r--r--ext/resindvd/resindvdbin.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/resindvd/gstmpegdemux.c b/ext/resindvd/gstmpegdemux.c
index bfa883508..527cd605a 100644
--- a/ext/resindvd/gstmpegdemux.c
+++ b/ext/resindvd/gstmpegdemux.c
@@ -89,7 +89,7 @@ static GstStaticPadTemplate subpicture_template =
GST_STATIC_PAD_TEMPLATE ("subpicture_%02x",
GST_PAD_SRC,
GST_PAD_SOMETIMES,
- GST_STATIC_CAPS ("video/x-dvd-subpicture")
+ GST_STATIC_CAPS ("subpicture/x-dvd")
);
static GstStaticPadTemplate private_template =
@@ -313,7 +313,7 @@ gst_flups_demux_create_stream (GstFluPSDemux * demux, gint id, gint stream_type)
case ST_PS_DVD_SUBPICTURE:
template = klass->subpicture_template;
name = g_strdup_printf ("subpicture_%02x", id);
- caps = gst_caps_new_simple ("video/x-dvd-subpicture", NULL);
+ caps = gst_caps_new_simple ("subpicture/x-dvd", NULL);
break;
case ST_GST_AUDIO_RAWA52:
template = klass->audio_template;
diff --git a/ext/resindvd/resindvdbin.c b/ext/resindvd/resindvdbin.c
index a83656d1e..78a74e2bb 100644
--- a/ext/resindvd/resindvdbin.c
+++ b/ext/resindvd/resindvdbin.c
@@ -76,7 +76,7 @@ static GstStaticPadTemplate subpicture_src_template =
GST_STATIC_PAD_TEMPLATE ("subpicture",
GST_PAD_SRC,
GST_PAD_SOMETIMES,
- GST_STATIC_CAPS ("video/x-dvd-subpicture")
+ GST_STATIC_CAPS ("subpicture/x-dvd")
);
static void rsn_dvdbin_do_init (GType rsn_dvdbin_type);
@@ -696,7 +696,7 @@ demux_pad_added (GstElement * element, GstPad * pad, RsnDvdBin * dvdbin)
if (can_sink_caps (dvdbin->pieces[DVD_ELEM_VIDDEC], caps)) {
dest_pad =
gst_element_get_static_pad (dvdbin->pieces[DVD_ELEM_VIDDEC], "sink");
- } else if (g_str_equal (gst_structure_get_name (s), "video/x-dvd-subpicture")) {
+ } else if (g_str_equal (gst_structure_get_name (s), "subpicture/x-dvd")) {
dest_pad =
gst_element_get_request_pad (dvdbin->pieces[DVD_ELEM_SPU_SELECT],
"sink_%u");