mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02: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…
x
Reference in New Issue
Block a user