mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
sys/xvimage/xvimagesink.c: Check if we have a window before clearing it.
Original commit message from CVS: 2004-03-05 Julien MOUTTE <julien@moutte.net> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state): Check if we have a window before clearing it.
This commit is contained in:
parent
49a51710c9
commit
c6ae4cb8ca
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-03-05 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state): Check if
|
||||
we have a window before clearing it.
|
||||
|
||||
2004-03-05 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* sys/ximage/ximagesink.c: (gst_ximagesink_change_state): Check if we
|
||||
|
|
|
@ -1140,6 +1140,7 @@ gst_xvimagesink_change_state (GstElement *element)
|
|||
gst_xvimagesink_update_colorbalance (xvimagesink);
|
||||
break;
|
||||
case GST_STATE_READY_TO_PAUSED:
|
||||
if (xvimagesink->xwindow)
|
||||
gst_xvimagesink_xwindow_clear (xvimagesink, xvimagesink->xwindow);
|
||||
xvimagesink->time = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue