[vlc-commits] [Git][videolan/vlc][master] stats: don't force stats to show right away
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Sep 16 14:32:26 UTC 2021
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
1491d2c0 by Steve Lhomme at 2021-09-16T14:10:53+00:00
stats: don't force stats to show right away
If there's a pts, just respect it. Otherwise set the PTS to vlc_tick_now().
The documentation says it should be used like
> vlc -vv http://127.0.0.1:8081 --demux=stats --codec=stats --vout=stats
There's no reason force the "display" (logging) to render right away.
We may not want some of those logs to be dropped because they arrive late. But
we may also want to stat how frames are dropped, which is not possible with
this flag.
To show stats for all frames, even late ones use `--no-drop-late-frames`.
- - - - -
1 changed file:
- modules/misc/stats.c
Changes:
=====================================
modules/misc/stats.c
=====================================
@@ -68,7 +68,6 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
p_pic->date = p_block->i_pts != VLC_TICK_INVALID ?
p_block->i_pts : p_block->i_dts;
- p_pic->b_force = true;
error:
block_Release( p_block );
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1491d2c0e57d9f0928e0b1db8239ca4e646c6d7f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1491d2c0e57d9f0928e0b1db8239ca4e646c6d7f
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list