mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
move timestamp debug printf to higher verbose level (hope it's ok)
probably should move to mp_msg git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8114 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0e0224913f
commit
f7dc9a8051
@ -319,7 +319,7 @@ static float real_fix_timestamp(real_priv_t* priv, unsigned char* s, int timesta
|
||||
if(format==0x30335652){ // RV30 timestamps:
|
||||
kf=2*(((s[1]&15)<<8)+s[2]); // 12-bit timestamp from frame header
|
||||
//kf=((s[1]<<8)+s[2])>>3; // 12-bit timestamp from frame header
|
||||
printf("\nTS: %08X (%04X) %02X %02X %02X %02X\n",timestamp,kf,s[0],s[1],s[2],s[3]);
|
||||
if(verbose>1) printf("\nTS: %08X (%04X) %02X %02X %02X %02X\n",timestamp,kf,s[0],s[1],s[2],s[3]);
|
||||
kf|=timestamp&(~0x1fff); // combine with packet timestamp
|
||||
if(kf<timestamp-4096) kf+=8192; else // workaround wrap-around problems
|
||||
if(kf>timestamp+4096) kf-=8192;
|
||||
|
Loading…
Reference in New Issue
Block a user