summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-05 15:28:17 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-05 15:28:17 +0000
commitf7dc9a8051f3d9731a9f077785492e1729ad5be4 (patch)
tree1d0401e2acae58e56813a52caf585ed8dc7aa1e9 /libmpdemux
parent0e0224913f327c303797439fa73d023a1c39a11f (diff)
downloadmpv-f7dc9a8051f3d9731a9f077785492e1729ad5be4.tar.bz2
mpv-f7dc9a8051f3d9731a9f077785492e1729ad5be4.tar.xz
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_real.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c
index d1a10bc348..b774aa29ef 100644
--- a/libmpdemux/demux_real.c
+++ b/libmpdemux/demux_real.c
@@ -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;