Mercurial > mplayer.hg
changeset 12502:6db7e319aaa0
index fixes
author | michael |
---|---|
date | Tue, 25 May 2004 20:59:23 +0000 |
parents | cd0d9a99b730 |
children | a160a68209ac |
files | DOCS/tech/mpcf.txt |
diffstat | 1 files changed, 6 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/tech/mpcf.txt Tue May 25 20:42:22 2004 +0000 +++ b/DOCS/tech/mpcf.txt Tue May 25 20:59:23 2004 +0000 @@ -211,7 +211,7 @@ file file_id_string - while(!eof){ + while(!eof && next_code != index_startcode){ main_header for(i=0; i<stream_count; i++){ if(next_packet==video_stream_header) @@ -230,8 +230,8 @@ frame } } -//FIXME index } + index forward_ptr size of the packet (exactly the distance from the first byte of the @@ -360,11 +360,6 @@ fixed_fps 1 indicates that the fps is fixed -index_flag - 1 indicates that this file has an index - Note, all files SHOULD have an index at the end except, (realtime) streams - Note, all streams SHOULD have an index - codec_specific_data_type 0 none/end 1 native @@ -470,11 +465,11 @@ adler32 checksum index_timestamp - value in time_base precission, relative to the last index_timestamp + value of the timetamp in a sync point relative to the last sync-point index_position - position in bytes of the first byte of the keyframe header, relative - to the last index_position + position in bytes of the first byte of a sync-point, relative to the + last sync_point id the id of the type/name pair, so its more compact @@ -563,8 +558,7 @@ duplicate the role of a container. any such file is to be considered invalid Index -the index can be repeated but there SHOULD be at least one for each stream at -the end +every sync-point must be exacty once in the index Note: in case of realtime streaming there is no end, so no index there either Info packets