On Thu, Jan 19, 2017 at 02:34:14PM -0800, Sasi Inguva wrote:
> Signed-off-by: Sasi Inguva <is...@google.com>
> ---
>  ffmpeg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ffmpeg.c b/ffmpeg.c
> index 977708c069..a566c3fe2a 100644
> --- a/ffmpeg.c
> +++ b/ffmpeg.c
> @@ -1347,7 +1347,7 @@ static void do_video_stats(OutputStream *ost, int 
> frame_size)
>      enc = ost->enc_ctx;
>      if (enc->codec_type == AVMEDIA_TYPE_VIDEO) {
>          frame_number = ost->st->nb_frames;
> -        fprintf(vstats_file, "frame= %5d q= %2.1f ", frame_number,
> +        fprintf(vstats_file, "out= %2d st= %2d frame= %5d q= %2.1f ", 
> ost->file_index, ost->index, frame_number,
>                  ost->quality / (float)FF_QP2LAMBDA);

Should this be under a check for vstats version ?
So as not to break any code using the vstats file or is there some
declaration in our docs that the format may change at any time ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to