1
From aab140d868c1ebedbb04bbd65deddf94dc21787b Mon Sep 17 00:00:00 2001
2
From: Jannis Pohlmann <jannis@xfce.org>
3
Date: Mon, 26 Sep 2011 17:28:51 +0000
4
Subject: Fix generation of video images by starting the pipeline (bug #7996).
6
Patch provided by Sam Thursfield<ssssam@gmail.com>.
8
diff --git a/plugins/gst-thumbnailer/gst-helper.c b/plugins/gst-thumbnailer/gst-helper.c
9
index b8a29ab..dead043 100644
10
--- a/plugins/gst-thumbnailer/gst-helper.c
11
+++ b/plugins/gst-thumbnailer/gst-helper.c
12
@@ -154,6 +154,8 @@ gst_helper_convert_buffer_to_pixbuf (GstBuffer *buffer,
14
bus = gst_element_get_bus (GST_ELEMENT (pipeline));
16
+ gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
20
while (msg == NULL && i < 5)