mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
xvimagesink: remove unneded !=NULL checks
We check for matching_attr!=NULL right before already.
This commit is contained in:
parent
8da23e9d0b
commit
3f642f3635
1 changed files with 2 additions and 2 deletions
|
@ -1894,8 +1894,8 @@ gst_xvimagesink_xcontext_get (GstXvImageSink * xvimagesink)
|
|||
|
||||
channel = g_object_new (GST_TYPE_COLOR_BALANCE_CHANNEL, NULL);
|
||||
channel->label = g_strdup (channels[i]);
|
||||
channel->min_value = matching_attr ? matching_attr->min_value : -1000;
|
||||
channel->max_value = matching_attr ? matching_attr->max_value : 1000;
|
||||
channel->min_value = matching_attr->min_value;
|
||||
channel->max_value = matching_attr->max_value;
|
||||
|
||||
xcontext->channels_list = g_list_append (xcontext->channels_list,
|
||||
channel);
|
||||
|
|
Loading…
Reference in a new issue