Commit c6ae4cb8 authored by Julien Moutte Moutte's avatar Julien Moutte Moutte
Browse files

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.
parent 49a51710
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,7 +1140,8 @@ gst_xvimagesink_change_state (GstElement *element)
gst_xvimagesink_update_colorbalance (xvimagesink);
break;
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;
break;
case GST_STATE_PAUSED_TO_PLAYING:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment