disallow multiple subpackets per packet for video streams idea by (me & Moritz Bunkus <moritz at bunkus dot org>)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9423 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-02-14 11:48:13 +00:00
parent 25f3778518
commit 46877e4e7a
1 changed files with 3 additions and 1 deletions

View File

@ -284,10 +284,12 @@ msb_timestamp_flag
MUST be 1 for keyframes
subpacket_type
00 1 subpacket per packet (normally used for video)
00 1 subpacket per packet (video, ...)
01 subpacket_count fixed length subpackets per packet
10 subpacket_count variable length subpackets per packet
11 reserved
the only legal subpacket_type for video streams is 00, so video streams
MUST NOT contain multiple subpackets per packet
Note, if there are multiple subpackets then the timestamp of the packet
is the timestamp of the first subpacket
Note, if multiple subpackets are stored in one frame then the resulting