avformat/mpegtsenc: fix muxing pcm-bluray
This commit is contained in:
parent
c444d7fafa
commit
93dfb6afdd
@ -2097,6 +2097,10 @@ static int mpegts_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
|
||||
ts_st->dvb_ac3_desc = dvb_ac3_desc;
|
||||
}
|
||||
av_free(hdr);
|
||||
} else if (st->codecpar->codec_id == AV_CODEC_ID_PCM_BLURAY && ts->m2ts_mode) {
|
||||
mpegts_write_pes(s, st, buf, size, pts, dts,
|
||||
pkt->flags & AV_PKT_FLAG_KEY, stream_id);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (ts_st->payload_size && (ts_st->payload_size + size > ts->pes_payload_size ||
|
||||
|
@ -33,7 +33,7 @@
|
||||
// Also please add any ticket numbers that you believe might be affected here
|
||||
#define LIBAVFORMAT_VERSION_MAJOR 59
|
||||
#define LIBAVFORMAT_VERSION_MINOR 17
|
||||
#define LIBAVFORMAT_VERSION_MICRO 102
|
||||
#define LIBAVFORMAT_VERSION_MICRO 103
|
||||
|
||||
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
||||
LIBAVFORMAT_VERSION_MINOR, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user