forked from FFmpeg/FFmpeg
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue