On Wed, 19 Mar 2014 09:57:47 +0100, Luca Barbato <[email protected]> wrote:
> ---
>  avconv.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/avconv.c b/avconv.c
> index 13e6778..7ac175b 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -512,7 +512,9 @@ static void do_video_out(AVFormatContext *s,
>          in_picture->pts != AV_NOPTS_VALUE &&
>          in_picture->pts < ost->sync_opts) {
>          nb_frames_drop++;
> -        av_log(NULL, AV_LOG_VERBOSE, "*** drop!\n");
> +        av_log(NULL, AV_LOG_VERBOSE,
> +               "*** dropping frame %d at ts %"PRId64"\n",
> +               ost->frame_number, in_picture->pts);

It would be even more descriptive if it mentioned the file / stream number. And
these days, this should only happen on non-monotonous pts from the filters, so
this should perhaps be a warning.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to