Commit f948082e authored by Mark Thompson's avatar Mark Thompson

vaapi_encode_mpeg2: Add missing marker bit in time_code

We don't have anything useful to put in this field, but there is still
meant to be a marker bit in the middle of it.
parent fda6dcd0
...@@ -313,7 +313,8 @@ static int vaapi_encode_mpeg2_init_sequence_params(AVCodecContext *avctx) ...@@ -313,7 +313,8 @@ static int vaapi_encode_mpeg2_init_sequence_params(AVCodecContext *avctx)
goph->group_start_code = MPEG2_START_GROUP; goph->group_start_code = MPEG2_START_GROUP;
goph->time_code = 0; // Marker bit in the middle of time_code.
goph->time_code = 1 << 12;
goph->closed_gop = 1; goph->closed_gop = 1;
goph->broken_link = 0; goph->broken_link = 0;
......
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