mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 10:51:38 +00:00
avformat/mpegtsenc: set priority flag for AC3 codecs if writing BluRay
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
f5b83d5419
commit
565dc3e451
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user