summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2010-03-30 15:45:08 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2010-03-30 15:46:22 +0100
commit477388a4f7a1ed1072ef8529839953930058bf70 (patch)
tree2faca0fa29ccd899f82f91d53ea289baa29abce3
parent2c8760b78fabf496cfca2cd903d98c0b9cd7ac08 (diff)
downloadclutter-gst-477388a4f7a1ed1072ef8529839953930058bf70.tar.gz
video-texture: seek to the nearest keyframe
-rw-r--r--clutter-gst/clutter-gst-video-texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-video-texture.c b/clutter-gst/clutter-gst-video-texture.c
index 85b2160..9b91c2d 100644
--- a/clutter-gst/clutter-gst-video-texture.c
+++ b/clutter-gst/clutter-gst-video-texture.c
@@ -369,7 +369,7 @@ set_progress (ClutterGstVideoTexture *video_texture,
gst_element_seek (priv->pipeline,
1.0,
GST_FORMAT_TIME,
- GST_SEEK_FLAG_FLUSH,
+ GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT,
GST_SEEK_TYPE_SET,
position,
0, 0);