mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
sys/ximage/ximagesink.c: Check if we have a window before clearing it.
Original commit message from CVS: 2004-03-05 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_change_state): Check if we have a window before clearing it.
This commit is contained in:
parent
bc85c3da12
commit
49a51710c9
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-03-05 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
|
* sys/ximage/ximagesink.c: (gst_ximagesink_change_state): Check if we
|
||||||
|
have a window before clearing it.
|
||||||
|
|
||||||
2004-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gconf/gstreamer.schemas.in:
|
* gconf/gstreamer.schemas.in:
|
||||||
|
|
|
@ -865,7 +865,8 @@ gst_ximagesink_change_state (GstElement *element)
|
||||||
return GST_STATE_FAILURE;
|
return GST_STATE_FAILURE;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_READY_TO_PAUSED:
|
case GST_STATE_READY_TO_PAUSED:
|
||||||
gst_ximagesink_xwindow_clear (ximagesink, ximagesink->xwindow);
|
if (ximagesink->xwindow)
|
||||||
|
gst_ximagesink_xwindow_clear (ximagesink, ximagesink->xwindow);
|
||||||
ximagesink->time = 0;
|
ximagesink->time = 0;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_PAUSED_TO_PLAYING:
|
case GST_STATE_PAUSED_TO_PLAYING:
|
||||||
|
|
Loading…
Reference in a new issue