mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
xvimage: remove dead code
matching_attr can not be NULL here, we've tested that away a few lines beforehand. Coverity 1139655
This commit is contained in:
parent
ba8220a9fd
commit
43ce84e0f4
1 changed files with 2 additions and 2 deletions
|
@ -738,8 +738,8 @@ gst_xvcontext_new (GstXvContextConfig * config, GError ** error)
|
|||
|
||||
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;
|
||||
|
||||
context->channels_list = g_list_append (context->channels_list, channel);
|
||||
|
||||
|
|
Loading…
Reference in a new issue