Commit 565dc3e4 authored by Marton Balint's avatar Marton Balint

avformat/mpegtsenc: set priority flag for AC3 codecs if writing BluRay

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent f5b83d54
......@@ -1237,6 +1237,8 @@ static void mpegts_write_pes(AVFormatContext *s, AVStream *st,
q = buf;
*q++ = 0x47;
val = ts_st->pid >> 8;
if (ts->m2ts_mode && st->codecpar->codec_id == AV_CODEC_ID_AC3)
val |= 0x20;
if (is_start)
val |= 0x40;
*q++ = val;
......
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