You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user