mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
encoding-profile: Check for FALSE'ness directly, not by comparing with FALSE
This commit is contained in:
parent
f31240a765
commit
43655580e7
1 changed files with 2 additions and 2 deletions
|
@ -1448,8 +1448,8 @@ parse_encoding_profile (const gchar * value)
|
|||
}
|
||||
|
||||
if (res) {
|
||||
if (gst_encoding_container_profile_add_profile
|
||||
(GST_ENCODING_CONTAINER_PROFILE (res), profile) == FALSE) {
|
||||
if (!gst_encoding_container_profile_add_profile
|
||||
(GST_ENCODING_CONTAINER_PROFILE (res), profile)) {
|
||||
g_warning ("Can not create a preset for caps: %s", strcaps_v[i]);
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue