[Xfce4-commits] <tumbler:master> Fix generation of video images by starting the pipeline (bug #7996).
Jannis Pohlmann
noreply at xfce.org
Mon Sep 26 19:30:01 CEST 2011
Updating branch refs/heads/master
to aab140d868c1ebedbb04bbd65deddf94dc21787b (commit)
from cb25532c91f16fe82d5e4f19285a9dd2857e5274 (commit)
commit aab140d868c1ebedbb04bbd65deddf94dc21787b
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Mon Sep 26 19:28:51 2011 +0200
Fix generation of video images by starting the pipeline (bug #7996).
Patch provided by Sam Thursfield<ssssam at gmail.com>.
NEWS | 4 ++++
plugins/gst-thumbnailer/gst-helper.c | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index 0ff1c1c..48e3896 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+0.1.xx
+======
+- Fix generation of video images by starting the pipeline (bug #7996).
+
0.1.22
======
- Add coding style documentation.
diff --git a/plugins/gst-thumbnailer/gst-helper.c b/plugins/gst-thumbnailer/gst-helper.c
index b8a29ab..dead043 100644
--- a/plugins/gst-thumbnailer/gst-helper.c
+++ b/plugins/gst-thumbnailer/gst-helper.c
@@ -154,6 +154,8 @@ gst_helper_convert_buffer_to_pixbuf (GstBuffer *buffer,
bus = gst_element_get_bus (GST_ELEMENT (pipeline));
+ gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
+
i = 0;
msg = NULL;
while (msg == NULL && i < 5)
More information about the Xfce4-commits
mailing list