[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Make sure we create our interna...
authorJulien Moutte <julien@moutte.net>
Sat, 5 Jan 2008 21:20:08 +0000 (21:20 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 16 May 2009 00:29:17 +0000 (01:29 +0100)
commit1e8cd75ae9e35c1951d0572f00dc8574f5c65611
tree0b114ccca603947680d7051ae7189d69a65c90b1
parentca3a85c8338c9624a00fadddf8e9f59358e1931b
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Make sure we create our internal window only when we need it. That will give a ch...

Original commit message from CVS:
2008-01-05  Julien Moutte  <julien@fluendo.com>

* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_set_window_id),
(gst_directdraw_sink_set_caps),
(gst_directdraw_sink_change_state),
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_draw_borders),
(gst_directdraw_sink_show_frame),
(gst_directdraw_sink_setup_ddraw),
(gst_directdraw_sink_window_thread),
(gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create): Make sure we create our
internal window only when we need it. That will give a chance to
the application to get the prepare-xwindow-id bus message. Draw
black borders when keeping aspect ratio. Handle the case where
our
rendering window disappears (closed or errors) like other sinks
do. Various 80 columns fixes, improve state change order. That
element could need some more love.
sys/directdraw/gstdirectdrawsink.c