[totem] thumbnailer: Exit as soon as we have an error



commit 32c500670effa83ae7a1796406daa4910fc221ac
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 20 21:24:13 2012 +0100

    thumbnailer: Exit as soon as we have an error
    
    Rather than waiting for the thumbnailer to timeout.

 src/totem-video-thumbnailer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index fa26eed..46daaac 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]