On Wed, 12 Dec 2012 16:43:21 -0500, Justin Ruggles <[email protected]> 
wrote:
> @@ -173,10 +197,8 @@ static int filter_frame(AVFilterLink *inlink, 
> AVFilterBufferRef *buf)
>      int64_t delta;
>  
>      /* buffer data until we get the first timestamp */
> -    if (s->pts == AV_NOPTS_VALUE) {
> -        if (pts != AV_NOPTS_VALUE) {
> -            s->pts = pts - get_delay(s);
> -        }
> +    if (s->pts == AV_NOPTS_VALUE && pts != AV_NOPTS_VALUE) {
> +        s->pts = pts - get_delay(s);
>          return write_to_fifo(s, buf);
>      }
>  

What is this part for?

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

Reply via email to