mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
base: Actually support using the default encoding target
This commit is contained in:
parent
646e0499fb
commit
f4ed0e1af1
1 changed files with 3 additions and 3 deletions
|
@ -1374,11 +1374,11 @@ combo_search (const gchar * pname)
|
|||
/* Splitup */
|
||||
split = g_strsplit (pname, "/", 3);
|
||||
split_length = g_strv_length (split);
|
||||
if (split_length != 2 && split_length != 3)
|
||||
if (split_length > 3)
|
||||
return NULL;
|
||||
|
||||
res = gst_encoding_profile_find (split[0], split[1],
|
||||
split_length == 3 ? split[2] : NULL);
|
||||
res = gst_encoding_profile_find (split[0],
|
||||
split_length == 2 ? split[1] : NULL, split_length == 3 ? split[2] : NULL);
|
||||
|
||||
g_strfreev (split);
|
||||
|
||||
|
|
Loading…
Reference in a new issue