mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
decodebin/uridecodebin: Recognise subpicture/x-pgs pads and output them.
This commit is contained in:
parent
effa5e69d9
commit
47d7464b10
2 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ gst_decode_bin_init (GstDecodeBin * decode_bin)
|
||||||
decode_bin->caps =
|
decode_bin->caps =
|
||||||
gst_caps_from_string ("video/x-raw-yuv;video/x-raw-rgb;video/x-raw-gray;"
|
gst_caps_from_string ("video/x-raw-yuv;video/x-raw-rgb;video/x-raw-gray;"
|
||||||
"audio/x-raw-int;audio/x-raw-float;" "text/plain;text/x-pango-markup;"
|
"audio/x-raw-int;audio/x-raw-float;" "text/plain;text/x-pango-markup;"
|
||||||
"video/x-dvd-subpicture");
|
"video/x-dvd-subpicture; subpicture/x-pgs");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -774,7 +774,7 @@ static const gchar *no_media_mimes[] = {
|
||||||
/* media types we consider raw media */
|
/* media types we consider raw media */
|
||||||
static const gchar *raw_media[] = {
|
static const gchar *raw_media[] = {
|
||||||
"audio/x-raw", "video/x-raw", "text/plain", "text/x-pango-markup",
|
"audio/x-raw", "video/x-raw", "text/plain", "text/x-pango-markup",
|
||||||
"video/x-dvd-subpicture", NULL
|
"video/x-dvd-subpicture", "subpicture/x-", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IS_STREAM_URI(uri) (array_has_value (stream_uris, uri))
|
#define IS_STREAM_URI(uri) (array_has_value (stream_uris, uri))
|
||||||
|
|
Loading…
Reference in a new issue