GNOME Bugzilla – Bug 535300
[avidemux] missing support for reverse playback.
Last modified: 2008-06-02 16:10:50 UTC
The avidemux element is missing support for reverse playback.
Created attachment 111678 [details] [review] add reverse playback for avi files
It seems to almost work. On thing I don't see is the fact that each backwards chunck should have the first buffer with a DISCONT set.
ok, the discont is ok, I was too fast. There is just one check that needs to be removed for reverse playback (it goes eos if it reaches a keyframe after the segment.stop, which cause premature EOS).
I changed some small things here and there, please see if this works for you too. I also tested reverse and forwards looping. Patch by: Thijs Vermeir <thijsvermeir at gmail dot com> * gst/avi/gstavidemux.c: (gst_avi_demux_index_next), (gst_avi_demux_index_prev), (gst_avi_demux_index_entry_for_time), (gst_avi_demux_do_seek), (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry): * gst/avi/gstavidemux.h: Implement reverse playback. Fixes #535300. Small cleanups.