[totem] thumbnailer: Fix --time option



commit 633edcd971f6fec9e9cb614dba67c13ec63c95b9
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 14 12:16:43 2011 +0000

    thumbnailer: Fix --time option
    
    We expect a seek time in seconds, but pass it on as milliseconds.
    
    Spotted by sadako gmail com
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663900

 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 4f9ff67..9a2ec92 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -1071,7 +1071,7 @@ int main (int argc, char *argv[])
 		 * into the video, just use that frame no matter how boring it
 		 * is */
 		if (second_index != -1)
-			pixbuf = capture_frame_at_time (&app, second_index);
+			pixbuf = capture_frame_at_time (&app, second_index * 1000);
 		else
 			pixbuf = capture_interesting_frame (&app);
 		PRINT_PROGRESS (90.0);



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