oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
384 stars 110 forks source link

When is media_seek_cb called? #230

Open nguyentrongnhat4869 opened 1 year ago

nguyentrongnhat4869 commented 1 year ago

Hi, I'm running play_buffer.py in example. I found that after player.play() media_open_cb and media_read_cb functions were called to do custom data reading. When I do player.stop() media_close_cb is called. But I don't see the media_seek_cb function being called. I'm wanting to custom set_position function to do the rewind, but I tried using player.set_position(), player.set_time() can't call media_seek_cb. Can you show me when media_seek_cb is called? Thanks very much!

nguyentrongnhat4869 commented 1 year ago

@oaubert I look forward to your help. Thanks!