Develop source plugin, but Problem in Seeking

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Aug 9 10:00:06 PDT 2013


           On Thu, 2013-08-08 at 19:50 -0700, miniware wrote:

Hi,

> I  am developing the source plugin for TS file, I used two solution.
> 1. Inherit the basesrc, overwrite the create, do_seek, query and so on
> 2. Rewrite the basesrc, change some functions, for example, create, do_seek.
> 
> Now Plan/Pause/Stop can work fine. but when do the seek, its freezing, 
> waite a seeking time, then continue to play. for example, now It play at 20
> sec, and I want to seek to 50 sec, It will freezing 30 sec. It seems sync
> problem, I try reset the start_segment, but It still can not work.

Sounds like a bug in your plugin. Is a new segment event sent with the
right start time etc? Are the buffers you push out timestamped properly?
Can you make your code available somewhere?

Cheers
 -Tim



More information about the gstreamer-devel mailing list