summaryrefslogtreecommitdiffstats
path: root/aviprint.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-06 23:59:50 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-06 23:59:50 +0000
commit2e5a0ca6fe81d0563989b2b540a7d4bf3f9bc626 (patch)
treee7d46d32402639cb6305f73a18053d0936cd1578 /aviprint.c
parentbed9711530bc6176a112193bc8e6836c9029a82f (diff)
downloadmpv-2e5a0ca6fe81d0563989b2b540a7d4bf3f9bc626.tar.bz2
mpv-2e5a0ca6fe81d0563989b2b540a7d4bf3f9bc626.tar.xz
printfs cleanup - moved to higher -v level or moved to stderr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1457 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'aviprint.c')
-rw-r--r--aviprint.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/aviprint.c b/aviprint.c
index b0945ff3c2..29ae39c667 100644
--- a/aviprint.c
+++ b/aviprint.c
@@ -15,13 +15,8 @@
//#include "codec-cfg.h"
//#include "stheader.h"
-
-void print_avih(MainAVIHeader *h){
- printf("======= AVI Header =======\n");
- printf("us/frame: %ld (fps=%5.3f)\n",h->dwMicroSecPerFrame,1000000.0f/(float)h->dwMicroSecPerFrame);
- printf("max bytes/sec: %ld\n",h->dwMaxBytesPerSec);
- printf("padding: %ld\n",h->dwPaddingGranularity);
- printf("flags: (%ld)%s%s%s%s%s%s\n",h->dwFlags,
+void print_avih_flags(MainAVIHeader *h){
+ printf("MainAVIHeader.dwFlags: (%ld)%s%s%s%s%s%s\n",h->dwFlags,
(h->dwFlags&AVIF_HASINDEX)?" HAS_INDEX":"",
(h->dwFlags&AVIF_MUSTUSEINDEX)?" MUST_USE_INDEX":"",
(h->dwFlags&AVIF_ISINTERLEAVED)?" IS_INTERLEAVED":"",
@@ -29,6 +24,14 @@ void print_avih(MainAVIHeader *h){
(h->dwFlags&AVIF_WASCAPTUREFILE)?" WAS_CAPTUREFILE":"",
(h->dwFlags&AVIF_COPYRIGHTED)?" COPYRIGHTED":""
);
+}
+
+void print_avih(MainAVIHeader *h){
+ printf("======= AVI Header =======\n");
+ printf("us/frame: %ld (fps=%5.3f)\n",h->dwMicroSecPerFrame,1000000.0f/(float)h->dwMicroSecPerFrame);
+ printf("max bytes/sec: %ld\n",h->dwMaxBytesPerSec);
+ printf("padding: %ld\n",h->dwPaddingGranularity);
+ print_avih_flags(h);
printf("frames total: %ld initial: %ld\n",h->dwTotalFrames,h->dwInitialFrames);
printf("streams: %ld\n",h->dwStreams);
printf("Suggested BufferSize: %ld\n",h->dwSuggestedBufferSize);