[FFmpeg-devel] [PATCH 1/2] avformat/mpegtsenc: fix muxing pcm-bluray
Marton Balint
cus at passwd.hu
Sun Feb 27 19:47:27 EET 2022
On Sat, 26 Feb 2022, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> libavformat/mpegtsenc.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
> index 971b3f55d8..48cd54c770 100644
> --- a/libavformat/mpegtsenc.c
> +++ b/libavformat/mpegtsenc.c
> @@ -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) {
> + mpegts_write_pes(s, st, buf, size, pts, dts,
> + pkt->flags & AV_PKT_FLAG_KEY, stream_id);
> + return 0;
> }
This fixes what exactly?
Thanks,
Marton
>
> if (ts_st->payload_size && (ts_st->payload_size + size > ts->pes_payload_size ||
> --
> 2.33.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-devel
mailing list