Skip to content

Commit

Permalink
VAAPI2: Fix corrupt MPEG2 decoding
Browse files Browse the repository at this point in the history
- fixes #13558
  • Loading branch information
mark-kendall committed Feb 12, 2020
1 parent 0872089 commit ab250d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -1684,6 +1684,7 @@ void AvFormatDecoder::InitVideoCodec(AVStream *stream, AVCodecContext *enc,
{
enc->get_buffer2 = get_avf_buffer_vaapi2;
enc->get_format = get_format_vaapi2;
enc->slice_flags = SLICE_FLAG_CODED_ORDER | SLICE_FLAG_ALLOW_FIELD;
}
else
#endif
Expand Down

0 comments on commit ab250d6

Please sign in to comment.