sys/ximage/ximagesink.c: Comment out internal resize. It doesn't handle the resulting
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 2 Jan 2004 11:34:24 +0000 (11:34 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 2 Jan 2004 11:34:24 +0000 (11:34 +0000)
Original commit message from CVS:
2004-01-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Comment out internal resize. It doesn't handle the resulting
XEvent internally, does another try_set_caps() which leads to
a really nice loop.
Real fix will come when Julien and Dave are awake. ;).

ChangeLog
sys/ximage/ximagesink.c

index f76333b..996e00f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2004-01-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
 
+       * sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
+         Comment out internal resize. It doesn't handle the resulting
+         XEvent internally, does another try_set_caps() which leads to
+         a really nice loop.
+         Real fix will come when Julien and Dave are awake. ;).
+
+2004-01-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
+
        * ext/mpeg2enc/gstmpeg2enc.cc:
          fix const/nonconst compile issue.
 
index 8891665..dd0a18e 100644 (file)
@@ -588,11 +588,11 @@ gst_ximagesink_sinkconnect (GstPad *pad, const GstCaps *caps)
     ximagesink->xwindow = gst_ximagesink_xwindow_new (ximagesink,
                                              GST_VIDEOSINK_WIDTH (ximagesink),
                                              GST_VIDEOSINK_HEIGHT (ximagesink));
-  else
+  /*else
     XResizeWindow (ximagesink->xcontext->disp,
                   ximagesink->xwindow->win,
                   GST_VIDEOSINK_WIDTH (ximagesink),
-                  GST_VIDEOSINK_HEIGHT (ximagesink));
+                  GST_VIDEOSINK_HEIGHT (ximagesink));*/
   
   if ( (ximagesink->ximage) &&
        ( (GST_VIDEOSINK_WIDTH (ximagesink) != ximagesink->ximage->width) ||