summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2015-06-10 12:26:38 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-06-10 13:12:31 +0200
commit7b78a33dc61e3ba33cfe0a39c548269d798d7fa5 (patch)
treead89c55577c5afa4d66567dc5e14a3e9d5179a33
parent50beddd474f44767d0f2da3f2036cd51fb7ea490 (diff)
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
-rw-r--r--gst/playback/gstplaysink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
index 1b00cd74e..e7ae9f8c6 100644
--- a/gst/playback/gstplaysink.c
+++ b/gst/playback/gstplaysink.c
@@ -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;