Mercurial > mplayer.hg
comparison dec_video.c @ 1489:f6b80dff8c25
ffmpeg prints moved to verbose=2
author | arpi |
---|---|
date | Sun, 12 Aug 2001 01:56:30 +0000 |
parents | 70652cb8c402 |
children | 8c3e93ef116d |
comparison
equal
deleted
inserted
replaced
1488:70652cb8c402 | 1489:f6b80dff8c25 |
---|---|
408 } | 408 } |
409 #endif | 409 #endif |
410 #ifdef USE_LIBAVCODEC | 410 #ifdef USE_LIBAVCODEC |
411 case VFM_FFMPEG: { // libavcodec | 411 case VFM_FFMPEG: { // libavcodec |
412 int got_picture=0; | 412 int got_picture=0; |
413 if(verbose) printf("Calling ffmpeg...\n"); | 413 if(verbose>1) printf("Calling ffmpeg...\n"); |
414 if(drop_frame<2 && in_size>0){ | 414 if(drop_frame<2 && in_size>0){ |
415 int ret = avcodec_decode_video(&lavc_context, &lavc_picture, | 415 int ret = avcodec_decode_video(&lavc_context, &lavc_picture, |
416 &got_picture, start, in_size); | 416 &got_picture, start, in_size); |
417 if(verbose){ | 417 if(verbose>1){ |
418 unsigned char *x="???"; | 418 unsigned char *x="???"; |
419 switch(lavc_context.pix_fmt){ | 419 switch(lavc_context.pix_fmt){ |
420 case PIX_FMT_YUV420P: x="YUV420P";break; | 420 case PIX_FMT_YUV420P: x="YUV420P";break; |
421 case PIX_FMT_YUV422: x="YUV422";break; | 421 case PIX_FMT_YUV422: x="YUV422";break; |
422 case PIX_FMT_RGB24: x="RGB24";break; | 422 case PIX_FMT_RGB24: x="RGB24";break; |