sys/ximage/ximagesink.c: Rework the way software video scaling works. So now we check...
authorJulien Moutte <julien@moutte.net>
Wed, 18 Feb 2004 21:16:50 +0000 (21:16 +0000)
committerJulien Moutte <julien@moutte.net>
Wed, 18 Feb 2004 21:16:50 +0000 (21:16 +0000)
commitc773027855e7b5238a8087bb128094f19e6e8dff
treefa968b1cee98e6bf77c10900e347fb395dd1231c
parent38471bcd1371657a778bc753275b9322c23ec1a9
sys/ximage/ximagesink.c: Rework the way software video scaling works. So now we check on each chain call if the video...

Original commit message from CVS:
2004-02-18  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c:
(gst_ximagesink_xwindow_update_geometry),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_handle_xevents),
(gst_ximagesink_change_state), (gst_ximagesink_expose),
(gst_ximagesink_init): Rework the way software video scaling works. So
now we check on each chain call if the video frames are feeling the
window. If not we try to renegotiate caps. On failure we memorize that
and we won't try again for that PLAYING sessions.
* sys/ximage/ximagesink.h: Adding a boolean to store the caps renego
failure.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_init): initialize the
synchronous flag.
ChangeLog
sys/ximage/ximagesink.c
sys/ximage/ximagesink.h
sys/xvimage/xvimagesink.c