Browse Source

lavfi: use correct PTS for link age.

When start_frame has returned, the buffer reference's PTS
may have been modified by another filter.
tags/n1.0
Nicolas George 13 years ago
parent
commit
a85b4a5696
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/video.c

+ 1
- 1
libavfilter/video.c View File

@@ -275,7 +275,7 @@ int ff_start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
}
pts = link->cur_buf->pts;
ret = start_frame(link, link->cur_buf);
ff_update_link_current_pts(link,link->cur_buf ? link->cur_buf->pts : pts);
ff_update_link_current_pts(link, pts);
if (ret < 0)
clear_link(link);



Loading…
Cancel
Save