[totem] thumbnailer: Use gst_bus_timed_pop_filtered()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] thumbnailer: Use gst_bus_timed_pop_filtered()
- Date: Tue, 25 Sep 2012 11:09:45 +0000 (UTC)
commit 69a264f1d412f3be9439af0148928bc4196be5ae
Author: Javier JardÃn <jjardon gnome org>
Date: Tue Sep 25 04:05:03 2012 +0900
thumbnailer: Use gst_bus_timed_pop_filtered()
... instead gst_bus_poll()
https://bugzilla.gnome.org/show_bug.cgi?id=684736
src/totem-video-thumbnailer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index 274bea1..362defd 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -270,7 +270,9 @@ thumb_app_start (ThumbApp *app)
GstMessage *message;
GstElement *src;
- message = gst_bus_poll (bus, events, -1);
+ message = gst_bus_timed_pop_filtered (bus,
+ GST_CLOCK_TIME_NONE,
+ events);
src = (GstElement*)GST_MESSAGE_SRC (message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]