From e32e0c31d7bb1de84bc7ac942bc36254340e997d Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 2 Jan 2004 11:34:24 +0000 Subject: [PATCH] sys/ximage/ximagesink.c: Comment out internal resize. It doesn't handle the resulting Original commit message from CVS: 2004-01-02 Ronald Bultje * 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 | 8 ++++++++ sys/ximage/ximagesink.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f76333b90a..996e00f30c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-01-02 Ronald Bultje + + * 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 * ext/mpeg2enc/gstmpeg2enc.cc: diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 8891665678..dd0a18ee65 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -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) ||