[FFmpeg-devel] [PATCH 3/3] ffmpeg: only count got_output/errors in decode_error_stat

Michael Niedermayer michaelni at gmx.at
Tue Jun 30 23:54:23 CEST 2015


On Tue, Jun 30, 2015 at 09:31:57PM +0200, Andreas Cadhalpun wrote:
> If threading is used, the first (thread_count - 1) packets are read
> before any frame/error is returned. Counting this as successful decoding
> is wrong, because it also happens when no single frame could be decoded.
> 
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
>  ffmpeg.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150630/8f46710b/attachment.asc>


More information about the ffmpeg-devel mailing list