mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Always print dup/skip messages when !quiet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14809 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c49c161ace
commit
ea6a892456
@ -1580,7 +1580,7 @@ videorate+=(GetTimerMS() - ptimer_start);
|
||||
|
||||
if(skip_flag<0){
|
||||
// duplicate frame
|
||||
if(file_format != DEMUXER_TYPE_TV && !verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_DuplicateFrames,-skip_flag);
|
||||
if(file_format != DEMUXER_TYPE_TV && !quiet) mp_msg(MSGT_MENCODER, MSGL_WARN, MSGTR_DuplicateFrames,-skip_flag);
|
||||
while(skip_flag<0){
|
||||
duplicatedframes++;
|
||||
if (!encode_duplicates || !sh_video->vfilter || ((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_DUPLICATE_FRAME, 0) != CONTROL_TRUE)
|
||||
@ -1590,7 +1590,7 @@ if(skip_flag<0){
|
||||
} else
|
||||
if(skip_flag>0){
|
||||
// skip frame
|
||||
if(file_format != DEMUXER_TYPE_TV && !verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SkipFrame);
|
||||
if(file_format != DEMUXER_TYPE_TV && !quiet) mp_msg(MSGT_MENCODER, MSGL_WARN, MSGTR_SkipFrame);
|
||||
skippedframes++;
|
||||
--skip_flag;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user