mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_telecine: Fix loss of AVFrame properties in output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0245abc7c1
commit
613483dcfb
@ -241,6 +241,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
av_frame_copy_props(frame, inpicref);
|
||||
frame->pts = ((s->start_time == AV_NOPTS_VALUE) ? 0 : s->start_time) +
|
||||
outlink->frame_count * s->ts_unit;
|
||||
ret = ff_filter_frame(outlink, frame);
|
||||
|
Loading…
Reference in New Issue
Block a user