ensonic gst-plugins-base: gst-plugins-base/ gst-plugins-base/sys/xvimage/

[email protected] Mon, 12 Jan 2009 22:52:08 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     ensonic
Date:           Tue Jan 13 2009  06:52:08 UTC

Log message:
	* sys/xvimage/xvimagesink.c:
	  Don't reset the colorkey when element is reused. Fixes #567511.

Modified files:
    .               : ChangeLog
    sys/xvimage     : xvimagesink.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4288&r2=1.4289
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/sys/xvimage/xvimagesink.c.diff?r1=1.218&r2=1.219

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4288
retrieving revision 1.4289
diff -u -d -r1.4288 -r1.4289
--- ChangeLog	9 Jan 2009 23:42:20 -0000	1.4288
+++ ChangeLog	13 Jan 2009 06:51:51 -0000	1.4289
@@ -1,3 +1,8 @@
+2009-01-13  Stefan Kost  <[email protected]>
+
+	* sys/xvimage/xvimagesink.c:
+	  Don't reset the colorkey when element is reused. Fixes #567511.
 2009-01-09  Jan Schmidt  <[email protected]>
 
 	* configure.ac:
Index: xvimagesink.c
RCS file: /cvs/gstreamer/gst-plugins-base/sys/xvimage/xvimagesink.c,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -d -r1.218 -r1.219
--- xvimagesink.c	3 Dec 2008 17:47:44 -0000	1.218
+++ xvimagesink.c	13 Jan 2009 06:51:54 -0000	1.219
@@ -3145,8 +3145,6 @@
   }
   gst_xvimagesink_xcontext_clear (xvimagesink);
-
-  xvimagesink->colorkey = -1;
 }
 /* Finalize is called only once, dispose can be called multiple times.
@@ -3220,7 +3218,7 @@
   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;

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword