mirror of https://github.com/mpv-player/mpv
type 1/2 packets must have MSB timestamps (this is already mentioned at some other places but i forgot this one)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12209 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6b19bea6e1
commit
5efa43de2d
|
@ -329,7 +329,7 @@ flags[frame_code]
|
|||
mask = (1<<msb_timestamp_shift)-1;
|
||||
delta= last_timestamp - mask/2
|
||||
timestamp= ((timestamp_lsb-delta)&mask) + delta
|
||||
TTT must be 100 or 101 if the packet_type is not 0
|
||||
TTT must be 101 if the packet_type is not 0
|
||||
the last timestamp differences are reset to the
|
||||
initial_timestamp_predictor values from the stream header if a
|
||||
packet of type not 0 in encountered
|
||||
|
|
Loading…
Reference in New Issue