[FFmpeg-devel] [PATCH 1/2] h264_slice: Add forgotten progress update for the 2nd field in a slice
Derek Buitenhuis
derek.buitenhuis at gmail.com
Thu Dec 8 17:24:31 EET 2016
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
libavcodec/h264_slice.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 1f2c06521e..a8a8731138 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -1538,6 +1538,8 @@ static int h264_field_start(H264Context *h, const H264SliceContext *sl,
ret = h264_export_frame_props(h);
if (ret < 0)
return ret;
+ ff_thread_report_progress(&h->cur_pic_ptr->tf, INT_MAX,
+ h->picture_structure != PICT_BOTTOM_FIELD);
}
return 0;
--
2.11.0
More information about the ffmpeg-devel
mailing list