mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
playsink: fix the channel of color balance element
When traversing the color balance element channel list to find the one that matches with the playsink proxy, the assignation was set to iterator of the playsink proxy, not the balance element. Thus, the mapping to the values of the balance element channel was wrong. This patch fixes the assignation of the color balance element channel, so the mapping to the channel of the color balance element is fixed. https://bugzilla.gnome.org/show_bug.cgi?id=750691
This commit is contained in:
parent
50beddd474
commit
7b78a33dc6
1 changed files with 1 additions and 1 deletions
|
@ -5315,7 +5315,7 @@ gst_play_sink_colorbalance_set_value (GstColorBalance * balance,
|
|||
|
||||
channels = gst_color_balance_list_channels (balance_element);
|
||||
for (k = channels; k; k = k->next) {
|
||||
GstColorBalanceChannel *tmp = l->data;
|
||||
GstColorBalanceChannel *tmp = k->data;
|
||||
|
||||
if (g_strrstr (tmp->label, proxy->label)) {
|
||||
channel = tmp;
|
||||
|
|
Loading…
Reference in a new issue