[gst-devel] totem skipto

Julien TOUS julien.tous at gmail.com
Wed Dec 12 15:29:38 CET 2007


Hi all,

I would like to change make the "skipto" plugin in totem feature
accurate seeking.

I did add a  "bacon_video_widget_seek_precise_time" method to
bacon_video_widget which is the same as "bacon_video_widget_seek_time"
exept for the seek flags ( i use GST_SEEK_FLAG_FLUSH |
GST_SEEK_FLAG_ACCURATE )
And made the "skipto" plugin use this new method.

But things don't turn out like i wished :
Seek isn't accurate and it really takes a long time.

Using the same flags in a python prototype player DOES enable accurate
seek and is pretty responsive.

I guess i missunderstand something somewhere, but can't figure what.
Any ideas or explanations ?

If i manage this to work fine, is there a chance that those changes goes
upstream in bacon_video_widget ?


Here you can find the prototype python player :
http://splitit.googlecode.com/svn/trunk/play.py
And i join a diff of the changes i did to totem.

Julien

-------------- next part --------------
A non-text attachment was scrubbed...
Name: precise_skipto.diff
Type: text/x-patch
Size: 1742 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071212/a5ff5c13/attachment.bin>


More information about the gstreamer-devel mailing list