|
attached is the 2nd patch for avi (and other) seek
support.
this one uses the intrinsic seek support of
libavformat.
avidec.c needed 1 line so that the currently seeked
frame can be read by DoFastForward
cutpoint edit seems to work (single frame seek, 1
second seek).
seeking by 5 seconds has problems if you dont have
exact seeks set as some keyframe distances are > 5 seconds. not sure what the
policy should be for this but its tempting to enable exact seeks for this
always.
if people can test to see what else is wrong.
not sure which other formats require the 1 line
addition to set cur_dts for each stream but I suspect most of them.
havent tried yet with .mpg files but that should
work as cur_dts is set.
I have left the patch1 way (disabled on
USE_GENERIC_SEEK) in this one until I have some more feedback.
This will then get removed (of
course).
cheers
mark
|
mythtv_aviseek2.patch
Description: Binary data
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
