summaryrefslogtreecommitdiff
path: root/src/totem-video-thumbnailer.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-06-20 21:24:13 +0100
committerBastien Nocera <hadess@hadess.net>2012-06-22 11:31:54 +0100
commit32c500670effa83ae7a1796406daa4910fc221ac (patch)
tree43194b599baf7f9582e364544bb21ae71a3fd3f0 /src/totem-video-thumbnailer.c
parent5001c263f03b9d8f2af6f1e42b65485cee7d33e5 (diff)
downloadtotem-32c500670effa83ae7a1796406daa4910fc221ac.tar.gz
thumbnailer: Exit as soon as we have an error
Rather than waiting for the thumbnailer to timeout.
Diffstat (limited to 'src/totem-video-thumbnailer.c')
-rw-r--r--src/totem-video-thumbnailer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index fa26eedff..46daaac99 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -295,7 +295,7 @@ thumb_app_start (ThumbApp *app)
break;
case GST_MESSAGE_ERROR:
totem_gst_message_print (message, app->play, "totem-video-thumbnailer-error");
- break;
+ return FALSE;
case GST_MESSAGE_UNKNOWN:
case GST_MESSAGE_EOS: