[totem/gnome-3-4] thumbnailer: Exit as soon as we have an error



commit a824982d08d2f82f2b40918efaf355471cd5f35a
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 0d8aa9d..629c3cc3 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -294,7 +294,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]