mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
codecmap: Fix the caps of various mov/amr formats
https://bugzilla.gnome.org/show_bug.cgi?id=623671
This commit is contained in:
parent
38c2b3788e
commit
6191dbb7dd
1 changed files with 12 additions and 2 deletions
|
@ -2540,8 +2540,14 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
|
|||
caps = gst_caps_from_string ("video/quicktime,variant=(string)apple");
|
||||
} else if (!strcmp (format_name, "mp4")) {
|
||||
caps = gst_caps_from_string ("video/quicktime,variant=(string)iso");
|
||||
} else if ((!strcmp (format_name, "3gp")) || (!strcmp (format_name, "3gp2"))) {
|
||||
caps = gst_caps_new_simple ("application/x-3gp", NULL);
|
||||
} else if (!strcmp (format_name, "3gp")) {
|
||||
caps = gst_caps_from_string ("video/quicktime,variant=(string)3gpp");
|
||||
} else if (!strcmp (format_name, "3g2")) {
|
||||
caps = gst_caps_from_string ("video/quicktime,variant=(string)3g2");
|
||||
} else if (!strcmp (format_name, "psp")) {
|
||||
caps = gst_caps_from_string ("video/quicktime,variant=(string)psp");
|
||||
} else if (!strcmp (format_name, "ipod")) {
|
||||
caps = gst_caps_from_string ("video/quicktime,variant=(string)ipod");
|
||||
} else if (!strcmp (format_name, "aac")) {
|
||||
caps = gst_caps_new_simple ("audio/mpeg",
|
||||
"mpegversion", G_TYPE_INT, 4, NULL);
|
||||
|
@ -2562,6 +2568,10 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
|
|||
caps = gst_caps_from_string ("audio/x-vqf");
|
||||
} else if (!strcmp (format_name, "nsv")) {
|
||||
caps = gst_caps_from_string ("video/x-nsv");
|
||||
} else if (!strcmp (format_name, "amr")) {
|
||||
caps = gst_caps_from_string ("audio/x-amr-nb-sh");
|
||||
} else if (!strcmp (format_name, "webm")) {
|
||||
caps = gst_caps_from_string ("video/webm");
|
||||
} else {
|
||||
gchar *name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue