diff options
-rw-r--r-- | clutter-gst/clutter-gst-video-texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-video-texture.c b/clutter-gst/clutter-gst-video-texture.c index d4e3122..de92506 100644 --- a/clutter-gst/clutter-gst-video-texture.c +++ b/clutter-gst/clutter-gst-video-texture.c @@ -934,7 +934,7 @@ bus_message_state_change_cb (GstBus *bus, /* is_idle controls the drawing with the idle material */ if (new_state == GST_STATE_NULL) priv->is_idle = TRUE; - else if (old_state == GST_STATE_NULL) + else if (new_state == GST_STATE_PLAYING) priv->is_idle = FALSE; } |