summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 17:03:33 +0000
committerods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 17:03:33 +0000
commit58cc7d56ce0b4566fcfa32aed1edc8f1f056ecd7 (patch)
tree1bd19140902a2e73968c63989e081fa1ab0b517e /DOCS
parent214c8be4e183e9c3735f5f36ba3f0c988865225f (diff)
downloadmpv-58cc7d56ce0b4566fcfa32aed1edc8f1f056ecd7.tar.bz2
mpv-58cc7d56ce0b4566fcfa32aed1edc8f1f056ecd7.tar.xz
allow info packets to appear in mid-stream, outside of main headers.
these SHOULD NOT appear in non-realtime-streams git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20926 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/nut.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/DOCS/tech/nut.txt b/DOCS/tech/nut.txt
index 8f3bf6a49e..c9f478b4f0 100644
--- a/DOCS/tech/nut.txt
+++ b/DOCS/tech/nut.txt
@@ -187,11 +187,15 @@ file:
packet_header, index_packet, packet_footer
}
if (!eof) while(next_code != main_startcode){
- if(next_code == syncpoint_startcode){
- packet_header, syncpoint, packet_footer
- }
- frame
+ packet_header, syncpoint, packet_footer
+ do{
+ frame
+ }while(next_code == framecode);
reserved_headers
+ while(next_code == info_startcode){
+ packet_header, info_packet, packet_footer
+ reserved_headers
+ }
}
}
@@ -883,9 +887,15 @@ file as well.
Info:
-----
-If a info packet is stored anywhere then a muxer MUST also store an identical
+All info packets stored after a main header set MUST also have an identical
info packet after every main-stream-header set
+All info packets not stored after a main header set MUST have
+chapter_id!=0 .
+
+Info packets SHOULD be written after main header sets in non realtime
+streams.
+
If a demuxer has seen several info packets with the same chapter_id and
stream_id then it MUST ignore all but the one with the highest position in
the file