encoding-profile: Check for FALSE'ness directly, not by comparing with FALSE
This commit is contained in:
parent
f31240a765
commit
43655580e7
@ -1448,8 +1448,8 @@ parse_encoding_profile (const gchar * value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
if (gst_encoding_container_profile_add_profile
|
if (!gst_encoding_container_profile_add_profile
|
||||||
(GST_ENCODING_CONTAINER_PROFILE (res), profile) == FALSE) {
|
(GST_ENCODING_CONTAINER_PROFILE (res), profile)) {
|
||||||
g_warning ("Can not create a preset for caps: %s", strcaps_v[i]);
|
g_warning ("Can not create a preset for caps: %s", strcaps_v[i]);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user