On Wed, Jul 04, 2012 at 03:02:33AM +0200, Anton Khirnov wrote:
> start time is already substracted from the frame timestamp, so it needs
> to be checked against 0, not start time.
> ---
> avconv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/avconv.c b/avconv.c
> index 3a7cebf..4b3ed85 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -1568,7 +1568,7 @@ static int poll_filters(void)
> AV_TIME_BASE_Q,
>
> ost->st->codec->time_base);
>
> - if (of->start_time && filtered_frame->pts < of->start_time) {
> + if (of->start_time && filtered_frame->pts < 0) {
> avfilter_unref_buffer(picref);
> continue;
> }
> --
probably OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel