mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-25 04:09:57 +00:00
avfilter/vf_pullup: do not ignore frame field order
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
4a63c69faa
commit
5f99e6d632
@ -657,7 +657,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
(const uint8_t**)in->data, in->linesize,
|
||||
inlink->format, inlink->w, inlink->h);
|
||||
|
||||
p = !!in->interlaced_frame;
|
||||
p = in->interlaced_frame ? !in->top_field_first : 0;
|
||||
pullup_submit_field(s, b, p );
|
||||
pullup_submit_field(s, b, p^1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user