mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
codecmap: Specify the quicktime variant for mov and mp4 formats
This commit is contained in:
parent
a2ed45acc0
commit
edeb185374
1 changed files with 2 additions and 2 deletions
|
@ -2537,9 +2537,9 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
|
||||||
gst_caps_from_string
|
gst_caps_from_string
|
||||||
("application/x-3gp; video/quicktime; audio/x-m4a");
|
("application/x-3gp; video/quicktime; audio/x-m4a");
|
||||||
} else if (!strcmp (format_name, "mov")) {
|
} else if (!strcmp (format_name, "mov")) {
|
||||||
caps = gst_caps_new_simple ("video/quicktime", NULL);
|
caps = gst_caps_from_string ("video/quicktime,variant=(string)apple");
|
||||||
} else if (!strcmp (format_name, "mp4")) {
|
} else if (!strcmp (format_name, "mp4")) {
|
||||||
caps = gst_caps_new_simple ("video/quicktime", NULL);
|
caps = gst_caps_from_string ("video/quicktime,variant=(string)iso");
|
||||||
} else if ((!strcmp (format_name, "3gp")) || (!strcmp (format_name, "3gp2"))) {
|
} else if ((!strcmp (format_name, "3gp")) || (!strcmp (format_name, "3gp2"))) {
|
||||||
caps = gst_caps_new_simple ("application/x-3gp", NULL);
|
caps = gst_caps_new_simple ("application/x-3gp", NULL);
|
||||||
} else if (!strcmp (format_name, "aac")) {
|
} else if (!strcmp (format_name, "aac")) {
|
||||||
|
|
Loading…
Reference in a new issue