mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
validate: tools: transcoding error due to wrong condition check
when checking the restriction caps, not adding proper check, which results in assertion error when calling gst_caps_from_string https://bugzilla.gnome.org/show_bug.cgi?id=752749
This commit is contained in:
parent
e4d490fd45
commit
c2a5909cd4
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ _parse_encoding_profile (const gchar * option_name, const gchar * value,
|
|||
encoding_profile = NULL;
|
||||
}
|
||||
|
||||
for (i = 1; strcaps_v[i]; i++) {
|
||||
for (i = 1; strcaps_v[i] && *strcaps_v[i]; i++) {
|
||||
GstEncodingProfile *profile = NULL;
|
||||
gchar *strcaps, *strpresence;
|
||||
|
||||
|
|
Loading…
Reference in a new issue