Revert "[xvimagesink] Call XSetForground()/XFillRectangle() API when user set visible...
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 9 May 2013 10:25:09 +0000 (19:25 +0900)
committerGerrit Code Review <gerrit2@kim11>
Thu, 9 May 2013 10:25:09 +0000 (19:25 +0900)
This reverts commit 500ce4e62fdb0a7420d6f90db59ff6e6b857b9e3

packaging/gst-plugins-base.spec
sys/xvimage/xvimagesink.c

index fa90e55..c5616a9 100644 (file)
@@ -1,7 +1,7 @@
 Name:       gst-plugins-base
 Summary:    GStreamer streaming media framework base plug-ins
 Version:    0.10.36
-Release:    24
+Release:    23
 Group:      Applications/Multimedia
 License:    LGPLv2+
 Source0:    %{name}-%{version}.tar.gz
index 2b73a88..9cbb0bc 100644 (file)
@@ -4887,14 +4887,6 @@ gst_xvimagesink_set_property (GObject * object, guint prop_id,
                                  atom_stream, 0 ) != Success) {
             GST_WARNING_OBJECT( xvimagesink, "Set visible FALSE failed" );
           }
-          if ( !xvimagesink->get_pixmap_cb ) {
-            XSetForeground (xvimagesink->xcontext->disp, xvimagesink->xwindow->gc,
-                xvimagesink->xcontext->black);
-
-            XFillRectangle (xvimagesink->xcontext->disp, xvimagesink->xwindow->win, xvimagesink->xwindow->gc,
-                xvimagesink->render_rect.x, xvimagesink->render_rect.y,
-                xvimagesink->render_rect.w, xvimagesink->render_rect.h);
-          }
 
           XSync( xvimagesink->xcontext->disp, FALSE );
         }