GNOME Bugzilla – Bug 536274
handle flush seeking in amrnbparse
Last modified: 2008-09-26 10:05:10 UTC
please find attached a patch to do so... (it is quite not complete, but have no time at the moment, if someone wants to finish it, please do)
Created attachment 111962 [details] [review] patch to handle flush seek
This only works when all the blocks all have an equal size.
(In reply to comment #2) > This only works when all the blocks all have an equal size. > AFAIK, there is no variable bitrate in AMR-NB, is there ?
note, the patch also lacks the emission of the flush event on the sink side...
Patch by: Benoit Fouet <benoit dot fouet at purplelabs dot com> * ext/amrnb/amrnbparse.c: (gst_amrnbparse_init), (gst_amrnbparse_handle_pull_seek), (gst_amrnbparse_handle_push_seek), (gst_amrnbparse_src_event), (gst_amrnbparse_sink_activate_push), (gst_amrnbparse_sink_activate_pull): * ext/amrnb/amrnbparse.h: Add flush seek handler. Fixes #536274.