mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +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>
|
2004-03-05 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
* sys/ximage/ximagesink.c: (gst_ximagesink_change_state): Check if we
|
* sys/ximage/ximagesink.c: (gst_ximagesink_change_state): Check if we
|
||||||
|
|
|
@ -1140,7 +1140,8 @@ gst_xvimagesink_change_state (GstElement *element)
|
||||||
gst_xvimagesink_update_colorbalance (xvimagesink);
|
gst_xvimagesink_update_colorbalance (xvimagesink);
|
||||||
break;
|
break;
|
||||||
case GST_STATE_READY_TO_PAUSED:
|
case GST_STATE_READY_TO_PAUSED:
|
||||||
gst_xvimagesink_xwindow_clear (xvimagesink, xvimagesink->xwindow);
|
if (xvimagesink->xwindow)
|
||||||
|
gst_xvimagesink_xwindow_clear (xvimagesink, xvimagesink->xwindow);
|
||||||
xvimagesink->time = 0;
|
xvimagesink->time = 0;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_PAUSED_TO_PLAYING:
|
case GST_STATE_PAUSED_TO_PLAYING:
|
||||||
|
|
Loading…
Reference in a new issue