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:49 +0000 (21:16 +0000)
committerJulien Moutte <julien@moutte.net>
Wed, 18 Feb 2004 21:16:49 +0000 (21:16 +0000)
commitd488a13dc7cfed7cf7b22bca88cfff43f9b2825e
treeebc38f0b9805c9b1fe4834a91bcc9ddc1202edb6
parentd21823bcc4b6b806109d82cf89731b9598995d68
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