summaryrefslogtreecommitdiff
path: root/src/totem-video-thumbnailer.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2012-09-25 04:05:03 +0900
committerBastien Nocera <hadess@hadess.net>2012-09-25 13:04:32 +0200
commit69a264f1d412f3be9439af0148928bc4196be5ae (patch)
tree75190452bd627d1384f2a0721343239f918da2b0 /src/totem-video-thumbnailer.c
parent8e4aa6876ccb9cb6d48da01113a4b4fab9330ca8 (diff)
downloadtotem-69a264f1d412f3be9439af0148928bc4196be5ae.tar.gz
thumbnailer: Use gst_bus_timed_pop_filtered()
... instead gst_bus_poll() https://bugzilla.gnome.org/show_bug.cgi?id=684736
Diffstat (limited to 'src/totem-video-thumbnailer.c')
-rw-r--r--src/totem-video-thumbnailer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index 274bea149..362defdd9 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);