mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
sys/ximage/ximagesink.c: Comment out internal resize. It doesn't handle the resulting
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. ;).
This commit is contained in:
parent
aef40d7c90
commit
e32e0c31d7
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
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:
|
||||
|
|
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue