Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/modules


Modified Files:
        emotion_gstreamer.c 


Log Message:
fix seeking

===================================================================
RCS file: /cvs/e/e17/libs/emotion/src/modules/emotion_gstreamer.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- emotion_gstreamer.c 11 Apr 2006 12:35:23 -0000      1.7
+++ emotion_gstreamer.c 11 Apr 2006 23:31:03 -0000      1.8
@@ -512,7 +512,7 @@
       gst_element_seek(vsink->sink, 1.0,
                        GST_FORMAT_TIME,
                        GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH,
-                       GST_SEEK_TYPE_CUR,
+                       GST_SEEK_TYPE_SET,
                        (gint64)(pos * (double)GST_SECOND),
                        GST_SEEK_TYPE_NONE,
                        -1);
@@ -521,7 +521,7 @@
       gst_element_seek(asink->sink, 1.0,
                        GST_FORMAT_TIME,
                        GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH,
-                       GST_SEEK_TYPE_CUR,
+                       GST_SEEK_TYPE_SET,
                        (gint64)(pos * (double)GST_SECOND),
                        GST_SEEK_TYPE_NONE,
                        -1);




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to