diff options
author | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-04 08:54:31 +0000 |
---|---|---|
committer | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-04 08:54:31 +0000 |
commit | e966401eba7c06c6ff5b3919925208016ee0c4ae (patch) | |
tree | 780e4c288f312e535045288652b397da29fa0b08 /DOCS/tech/mpcf.txt | |
parent | a3a2ac9da674c6caaa25666c8574d4b48630d3f6 (diff) | |
download | mpv-e966401eba7c06c6ff5b3919925208016ee0c4ae.tar.bz2 mpv-e966401eba7c06c6ff5b3919925208016ee0c4ae.tar.xz |
Index repetition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17534 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/mpcf.txt')
-rw-r--r-- | DOCS/tech/mpcf.txt | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index 7a0076bdbd..f777e1dcb1 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -299,7 +299,7 @@ syncpoint: file: file_id_string - while(!eof && next_code != index_startcode){ + while(!eof){ main_header for(i=0; i<stream_count; i++){ if(next_packet==video_stream_header) @@ -312,14 +312,16 @@ file: while(next_code == info_startcode){ info_packet } - while(next_code != main_startcode){ + if(next_code == index_startcode){ + index + } + if (!eof) while(next_code != main_startcode){ if(next_code == syncpoint_startcode) syncpoint frame } } - if (next_code == index_startcode){ - index + if (has_index){ index_ptr u(64) } @@ -590,7 +592,8 @@ eor_pts index_ptr Length in bytes from the first byte of the index startcode to the first byte of the index_ptr. If there is no index, index_ptr MUST NOT be - written. + written. If there are several indexes, index_ptr MUST point to the last + index. id the ID of the type/name pair, so it is more compact @@ -692,8 +695,9 @@ Index: ------ Note: with realtime streaming, there is no end, so no index there either -An index SHOULD be written for every stream. Indices MUST be placed at end -of file. Indices MAY be repeated for a stream. +Index MAY only be repeated after main headers. +If an index is written anywhere in the file, it MUST be written at end of +file as well. Info frames: |