summaryrefslogtreecommitdiff
path: root/src/bin/gst/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/gst/main.c')
-rw-r--r--src/bin/gst/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/gst/main.c b/src/bin/gst/main.c
index 050b74f..77f3910 100644
--- a/src/bin/gst/main.c
+++ b/src/bin/gst/main.c
@@ -178,7 +178,7 @@ _gst_load_image(int size_w EINA_UNUSED, int size_h EINA_UNUSED, double pos)
D("load image\n");
if (pos >= 0.0)
gst_element_seek_simple(pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,
- pos * 1000000000.0);
+ pos);
else
gst_element_seek_simple(pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,
duration / 2);