mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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.
This commit is contained in:
parent
fda6dcd0b0
commit
f948082e5f
@ -313,7 +313,8 @@ static int vaapi_encode_mpeg2_init_sequence_params(AVCodecContext *avctx)
|
||||
|
||||
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->broken_link = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user