[clutter-gst] video-texture: Set the state of the pipeline to READY on EOS
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gst] video-texture: Set the state of the pipeline to READY on EOS
- Date: Tue, 5 Apr 2011 17:03:47 +0000 (UTC)
commit 874e7a63565260856636728a20ab83c0dbd7ca6b
Author: Damien Lespiau <damien lespiau intel com>
Date: Tue Apr 5 17:59:57 2011 +0100
video-texture: Set the state of the pipeline to READY on EOS
No need to go down to NULL, READY should be enough on EOS
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 cb08a32..b0d231b 100644
--- a/clutter-gst/clutter-gst-video-texture.c
+++ b/clutter-gst/clutter-gst-video-texture.c
@@ -1380,7 +1380,7 @@ bus_message_eos_cb (GstBus *bus,
CLUTTER_GST_NOTE (MEDIA, "EOS");
- gst_element_set_state(priv->pipeline, GST_STATE_NULL);
+ gst_element_set_state(priv->pipeline, GST_STATE_READY);
/* restore the idle material so we don't just display the last frame */
priv->is_idle = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]