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
@ -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>
|
2004-01-02 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* ext/mpeg2enc/gstmpeg2enc.cc:
|
* ext/mpeg2enc/gstmpeg2enc.cc:
|
||||||
|
@ -588,11 +588,11 @@ gst_ximagesink_sinkconnect (GstPad *pad, const GstCaps *caps)
|
|||||||
ximagesink->xwindow = gst_ximagesink_xwindow_new (ximagesink,
|
ximagesink->xwindow = gst_ximagesink_xwindow_new (ximagesink,
|
||||||
GST_VIDEOSINK_WIDTH (ximagesink),
|
GST_VIDEOSINK_WIDTH (ximagesink),
|
||||||
GST_VIDEOSINK_HEIGHT (ximagesink));
|
GST_VIDEOSINK_HEIGHT (ximagesink));
|
||||||
else
|
/*else
|
||||||
XResizeWindow (ximagesink->xcontext->disp,
|
XResizeWindow (ximagesink->xcontext->disp,
|
||||||
ximagesink->xwindow->win,
|
ximagesink->xwindow->win,
|
||||||
GST_VIDEOSINK_WIDTH (ximagesink),
|
GST_VIDEOSINK_WIDTH (ximagesink),
|
||||||
GST_VIDEOSINK_HEIGHT (ximagesink));
|
GST_VIDEOSINK_HEIGHT (ximagesink));*/
|
||||||
|
|
||||||
if ( (ximagesink->ximage) &&
|
if ( (ximagesink->ximage) &&
|
||||||
( (GST_VIDEOSINK_WIDTH (ximagesink) != ximagesink->ximage->width) ||
|
( (GST_VIDEOSINK_WIDTH (ximagesink) != ximagesink->ximage->width) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user