summaryrefslogtreecommitdiffstats
path: root/libhb/avfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/avfilter.c')
-rw-r--r--libhb/avfilter.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libhb/avfilter.c b/libhb/avfilter.c
index 4c1f1d165..a865d6305 100644
--- a/libhb/avfilter.c
+++ b/libhb/avfilter.c
@@ -335,11 +335,12 @@ static void fill_frame(hb_filter_private_t * pv,
frame->linesize[1] = buf->plane[1].stride;
frame->linesize[2] = buf->plane[2].stride;
- frame->pts = buf->s.start;
+ frame->pts = buf->s.start;
frame->reordered_opaque = buf->s.start;
- frame->width = buf->f.width;
- frame->height = buf->f.height;
- frame->format = buf->f.fmt;
+ frame->width = buf->f.width;
+ frame->height = buf->f.height;
+ frame->format = buf->f.fmt;
+ frame->interlaced_frame = !!buf->s.combed;
}
static hb_buffer_t* avframe_to_buffer(hb_filter_private_t * pv, AVFrame *frame)