{"video/x-dirac", "Dirac", 0},
{"video/x-dnxhd", "Digital Nonlinear Extensible High Definition (DNxHD)", 0},
/* FIXME 0.11: rename to subpicture/x-dvd or so */
- {"video/x-dvd-subpicture", "DVD subpicture", 0},
+ {"subpicture/x-dvd", "DVD subpicture", 0},
{"video/x-ffv", N_("FFMpeg v1"), 0},
{"video/x-flash-screen", "Flash Screen Video", 0},
{"video/x-flash-video", "Sorenson Spark Video", 0},
static GstStaticCaps subtitle_caps = GST_STATIC_CAPS ("text/plain; "
"text/x-pango-markup; subpicture/x-pgs; subpicture/x-dvb; "
"application/x-subtitle-unknown; application/x-ssa; application/x-ass; "
- "subtitle/x-kate; application/x-kate; video/x-dvd-subpicture");
+ "subtitle/x-kate; application/x-kate; subpicture/x-dvd");
static gboolean
is_subtitle_caps (const GstCaps * caps)
"audio/x-raw; " \
"text/plain; " \
"text/x-pango-markup; " \
- "video/x-dvd-subpicture; " \
+ "subpicture/x-dvd; " \
"subpicture/x-pgs"
/* Properties */
group->selector[PLAYBIN_STREAM_TEXT].media_list[1] = "application/x-subtitle";
group->selector[PLAYBIN_STREAM_TEXT].media_list[2] = "application/x-ssa";
group->selector[PLAYBIN_STREAM_TEXT].media_list[3] = "application/x-ass";
- group->selector[PLAYBIN_STREAM_TEXT].media_list[4] = "video/x-dvd-subpicture";
+ group->selector[PLAYBIN_STREAM_TEXT].media_list[4] = "subpicture/x-dvd";
group->selector[PLAYBIN_STREAM_TEXT].media_list[5] = "subpicture/";
group->selector[PLAYBIN_STREAM_TEXT].media_list[6] = "subtitle/";
group->selector[PLAYBIN_STREAM_TEXT].get_media_caps =
GST_DEBUG_PAD_NAME (pad), caps, group);
/* major type of the pad, this determines the selector to use,
- try exact match first so we don't prematurely match video/
- for video/x-dvd-subpicture */
+ try exact match first */
for (pass = 0; !select && pass < 2; pass++) {
for (i = 0; i < PLAYBIN_STREAM_LAST; i++) {
if (array_has_value (group->selector[i].media_list, name, pass == 0)) {
"audio/x-raw; " \
"text/plain; " \
"text/x-pango-markup; " \
- "video/x-dvd-subpicture; " \
+ "subpicture/x-dvd; " \
"subpicture/x-pgs"
G_END_DECLS
* <refsect2>
* <title>Examples</title>
* |[
- * gst-launch -v filesrc location=test.mkv ! matroskademux name=demux ! "video/x-h264" ! queue2 ! decodebin ! subtitleoverlay name=overlay ! videoconvert ! autovideosink demux. ! "video/x-dvd-subpicture" ! queue2 ! overlay.
+ * gst-launch -v filesrc location=test.mkv ! matroskademux name=demux ! "video/x-h264" ! queue2 ! decodebin ! subtitleoverlay name=overlay ! videoconvert ! autovideosink demux. ! "subpicture/x-dvd" ! queue2 ! overlay.
* ]| This will play back the given Matroska file with h264 video and subpicture subtitles.
* </refsect2>
*/
"audio/x-wms", "audio/x-voxware", "video/sp5x", "video/vivo",
"video/x-3ivx", "video/x-4xm", "video/x-apple-video", "video/x-camtasia",
"video/x-cdxa", "video/x-cinepak", "video/x-cirrus-logic-accupak",
- "video/x-compressed-yuv", "video/x-dirac", "video/x-dvd-subpicture",
+ "video/x-compressed-yuv", "video/x-dirac", "subpicture/x-dvd",
"video/x-ffv", "video/x-flash-screen", "video/x-flash-video",
"video/x-h261", "video/x-huffyuv", "video/x-intel-h263", "video/x-jpeg",
"video/x-mjpeg", "video/x-mjpeg-b", "video/mpegts", "video/x-mng",