From 695dfad372964bc8cce406fa09b7d1497c8f494f Mon Sep 17 00:00:00 2001 From: ods15 Date: Sun, 12 Mar 2006 13:08:10 +0000 Subject: [PATCH] change max_distance back to 64kb and set max frame size to 2*max_distance. If anyone is against, speak up... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17824 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/mpcf.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index 0a074650c0..eaab7886b2 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -399,9 +399,10 @@ max_distance 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 @@ flags[frame_code], frame_flags 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]