sys/ximage/ximagesink.c: Checking if the pad is negotiating before trying renegotiation.
Original commit message from CVS: 2004-02-17 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_expose): Checking if the pad is negotiating before trying renegotiation.
This commit is contained in:
parent
a87e0639fe
commit
f2d0b3c34e
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-17 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
|
* sys/ximage/ximagesink.c: (gst_ximagesink_expose): Checking if the
|
||||||
|
pad is negotiating before trying renegotiation.
|
||||||
|
|
||||||
2004-02-17 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-02-17 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_type_find):
|
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_type_find):
|
||||||
|
@ -1253,7 +1253,8 @@ gst_ximagesink_expose (GstXOverlay *overlay)
|
|||||||
if (attr.width == 1 && attr.height == 1)
|
if (attr.width == 1 && attr.height == 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (gst_pad_is_negotiated (GST_VIDEOSINK_PAD (ximagesink)))
|
if (gst_pad_is_negotiated (GST_VIDEOSINK_PAD (ximagesink)) &&
|
||||||
|
!GST_PAD_IS_NEGOTIATING (GST_VIDEOSINK_PAD (ximagesink)))
|
||||||
gst_ximagesink_renegotiate_size (ximagesink, attr.width, attr.height);
|
gst_ximagesink_renegotiate_size (ximagesink, attr.width, attr.height);
|
||||||
|
|
||||||
gst_ximagesink_xwindow_clear (ximagesink, ximagesink->xwindow);
|
gst_ximagesink_xwindow_clear (ximagesink, ximagesink->xwindow);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user