video/x-dvd-subpicture -> subpicture/x-dvd
authorTim-Philipp Müller <tim@centricular.net>
Mon, 20 Aug 2012 22:30:38 +0000 (23:30 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 20 Aug 2012 22:30:38 +0000 (23:30 +0100)
docs/plugins/inspect/plugin-matroska.xml
gst/isomp4/qtdemux.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c

index 8df9c50ddbe4240ed0e1359577e97efb506f75a4..f623626b2b32675bcb09e55cc3a0fb42a5647b72 100644 (file)
@@ -32,7 +32,7 @@
           <name>subtitle_%u</name>
           <direction>source</direction>
           <presence>sometimes</presence>
-          <details>text/x-pango-markup; application/x-ssa; application/x-ass; application/x-usf; video/x-dvd-subpicture; subpicture/x-pgs; subtitle/x-kate; application/x-subtitle-unknown</details>
+          <details>text/x-pango-markup; application/x-ssa; application/x-ass; application/x-usf; subpicture/x-dvd; subpicture/x-pgs; subtitle/x-kate; application/x-subtitle-unknown</details>
         </caps>
         <caps>
           <name>video_%u</name>
@@ -59,7 +59,7 @@
           <name>subtitle_%d</name>
           <direction>sink</direction>
           <presence>request</presence>
-          <details>subtitle/x-kate; text/plain; application/x-ssa; application/x-ass; application/x-usf; video/x-dvd-subpicture; application/x-subtitle-unknown</details>
+          <details>subtitle/x-kate; text/plain; application/x-ssa; application/x-ass; application/x-usf; subpicture/x-dvd; application/x-subtitle-unknown</details>
         </caps>
         <caps>
           <name>video_%u</name>
           <name>subtitle_%d</name>
           <direction>sink</direction>
           <presence>request</presence>
-          <details>subtitle/x-kate; text/plain; application/x-ssa; application/x-ass; application/x-usf; video/x-dvd-subpicture; application/x-subtitle-unknown</details>
+          <details>subtitle/x-kate; text/plain; application/x-ssa; application/x-ass; application/x-usf; subpicture/x-dvd; application/x-subtitle-unknown</details>
         </caps>
         <caps>
           <name>video_%u</name>
index 89f80555be0d878177cb15fe4d7c23b223481448..49c8c476318680cb1f138b241f56bbaf3bd7b70e 100644 (file)
@@ -9749,7 +9749,7 @@ qtdemux_sub_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
   switch (fourcc) {
     case GST_MAKE_FOURCC ('m', 'p', '4', 's'):
       _codec ("DVD subtitle");
-      caps = gst_caps_new_empty_simple ("video/x-dvd-subpicture");
+      caps = gst_caps_new_empty_simple ("subpicture/x-dvd");
       break;
     case GST_MAKE_FOURCC ('t', 'e', 'x', 't'):
       _codec ("Quicktime timed text");
index 3683817a70d218b6e838323d1732a281d7aff89c..04cd76cea6f334db8bcd65b69c68aa0e8b9edd92 100644 (file)
@@ -115,7 +115,7 @@ static GstStaticPadTemplate subtitle_src_templ =
     GST_PAD_SRC,
     GST_PAD_SOMETIMES,
     GST_STATIC_CAPS ("text/x-pango-markup; application/x-ssa; "
-        "application/x-ass;application/x-usf; video/x-dvd-subpicture; "
+        "application/x-ass;application/x-usf; subpicture/x-dvd; "
         "subpicture/x-pgs; subtitle/x-kate; " "application/x-subtitle-unknown")
     );
 
@@ -5643,7 +5643,7 @@ gst_matroska_demux_subtitle_caps (GstMatroskaTrackSubtitleContext *
     context->postprocess_frame = gst_matroska_demux_check_subtitle_buffer;
     subtitlecontext->check_markup = FALSE;
   } else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_SUBTITLE_VOBSUB)) {
-    caps = gst_caps_new_empty_simple ("video/x-dvd-subpicture");
+    caps = gst_caps_new_empty_simple ("subpicture/x-dvd");
     ((GstMatroskaTrackContext *) subtitlecontext)->send_dvd_event = TRUE;
   } else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_SUBTITLE_HDMVPGS)) {
     caps = gst_caps_new_empty_simple ("subpicture/x-pgs");
index 1a60eeb7dc2715fe42de16692b26f996faa05dc7..f7006bfb17e004e895d7f8c9982ec136d7a22d2a 100644 (file)
@@ -191,7 +191,7 @@ static GstStaticPadTemplate subtitlesink_templ =
     GST_PAD_REQUEST,
     GST_STATIC_CAPS ("subtitle/x-kate; "
         "text/plain; application/x-ssa; application/x-ass; "
-        "application/x-usf; video/x-dvd-subpicture; "
+        "application/x-usf; subpicture/x-dvd; "
         "application/x-subtitle-unknown")
     );
 
@@ -2023,7 +2023,7 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
     gst_matroska_mux_set_codec_id (context, GST_MATROSKA_CODEC_ID_SUBTITLE_ASS);
   } else if (!strcmp (mimetype, "application/x-usf")) {
     gst_matroska_mux_set_codec_id (context, GST_MATROSKA_CODEC_ID_SUBTITLE_USF);
-  } else if (!strcmp (mimetype, "video/x-dvd-subpicture")) {
+  } else if (!strcmp (mimetype, "subpicture/x-dvd")) {
     gst_matroska_mux_set_codec_id (context,
         GST_MATROSKA_CODEC_ID_SUBTITLE_VOBSUB);
   } else {