Commit c2dfb1e3 authored by Michael Niedermayer's avatar Michael Niedermayer

h264: support frame size changes with multi threading

Based on code by Janne Grunau
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7e6c6839
This diff is collapsed.
......@@ -452,6 +452,8 @@ typedef struct H264Context {
int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4)
int got_first; ///< this flag is != 0 if we've parsed a frame
int context_reinitialized;
SPS *sps_buffers[MAX_SPS_COUNT];
PPS *pps_buffers[MAX_PPS_COUNT];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment