# HG changeset patch # User ods15 # Date 1142168890 0 # Node ID 7f81c9ffa0b4d7d384559b9d6e68b15412b7c16d # Parent 24fc4279bf99a51ebb4f42c7fb118e973c7d3666 change max_distance back to 64kb and set max frame size to 2*max_distance. If anyone is against, speak up... diff -r 24fc4279bf99 -r 7f81c9ffa0b4 DOCS/tech/mpcf.txt --- a/DOCS/tech/mpcf.txt Sun Mar 12 12:28:09 2006 +0000 +++ b/DOCS/tech/mpcf.txt Sun Mar 12 13:08:10 2006 +0000 @@ -399,9 +399,10 @@ non-keyframe - keyframe transitions are very frequent SHOULD be set to <=32768 - if the stored value is >131072 then max_distance MUST be set to 131072 + if the stored value is >65536 then max_distance MUST be set to 65536 - this is also the max frame size without a checksum after the frameheader. + This is also half the max frame size without a checksum after the + frameheader. max_pts_distance @@ -511,7 +512,7 @@ end presentation time of the final frame. An EOR set stream is unset by the first content frames. EOR can only be unset in streams with zero decode_delay . - FLAG_CHECKSUM MUST be set if the frame is larger than max_distance or + FLAG_CHECKSUM MUST be set if the frame is larger than 2*max_distance or its pts differs by more then max_pts_distance from the last frame stream_id_plus1[frame_code]