summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2009-01-13 06:51:54 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2009-01-13 06:51:54 +0000
commitf67b07cfd85ed07a6ea536f404aac2a5927c1294 (patch)
tree5e396138664a58229f56875b227364dd0e3e5d30 /sys
parent952f184b6729994591a57c48b9dd5345e114a451 (diff)
downloadgstreamer-plugins-base-f67b07cfd85ed07a6ea536f404aac2a5927c1294.tar.gz
sys/xvimage/xvimagesink.c: Don't reset the colorkey when element is reused. Fixes #567511.
Original commit message from CVS: * sys/xvimage/xvimagesink.c: Don't reset the colorkey when element is reused. Fixes #567511.
Diffstat (limited to 'sys')
-rw-r--r--sys/xvimage/xvimagesink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index 4133c27b8..2ba44ea6a 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -3145,8 +3145,6 @@ gst_xvimagesink_reset (GstXvImageSink * xvimagesink)
}
gst_xvimagesink_xcontext_clear (xvimagesink);
-
- xvimagesink->colorkey = -1;
}
/* Finalize is called only once, dispose can be called multiple times.
@@ -3220,7 +3218,7 @@ gst_xvimagesink_init (GstXvImageSink * xvimagesink)
xvimagesink->handle_expose = TRUE;
xvimagesink->autopaint_colorkey = TRUE;
- xvimagesink->colorkey = (1 << 16) | (2 << 8) | 3;;
+ xvimagesink->colorkey = (1 << 16) | (2 << 8) | 3;
xvimagesink->draw_borders = TRUE;
}