On 18/05/14 12:40, Anton Khirnov wrote:
> Use OutputStream.last_mux_dts as an approximation of 'current' output
> time instead.
> ---
>  avconv.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/avconv.c b/avconv.c
> index 608203c..cada46c 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -955,7 +955,7 @@ static void print_report(int is_last_report, int64_t 
> timer_start)
>              vid = 1;
>          }
>          /* compute min output value */
> -        pts = (double)ost->st->pts.val * av_q2d(ost->st->time_base);
> +        pts = (double)ost->last_mux_dts * av_q2d(ost->st->time_base);
>          if ((pts < ti1) && (pts > 0))
>              ti1 = pts;
>      }
> 


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

Reply via email to