summaryrefslogtreecommitdiff
path: root/src/totem-video-thumbnailer.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-11-14 12:16:43 +0000
committerBastien Nocera <hadess@hadess.net>2011-11-14 12:18:34 +0000
commit633edcd971f6fec9e9cb614dba67c13ec63c95b9 (patch)
tree0c647de9ac84946b2daba3d601e652123b856e22 /src/totem-video-thumbnailer.c
parent186278af1877e08971a6d49cf60c4e932d5cef59 (diff)
downloadtotem-633edcd971f6fec9e9cb614dba67c13ec63c95b9.tar.gz
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
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 4f9ff67f6..9a2ec925d 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);