On 16/12/14 22:29, Martin Storsjö wrote:
> In particular, when packetizing mpegts into rtp, the input packet
> timestamp may come from more than one stream, which could cause
> multiple packets be written with the same timestamp.
> ---
> libavformat/rtpenc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
> index 6262d55..dafe3a0 100644
> --- a/libavformat/rtpenc.c
> +++ b/libavformat/rtpenc.c
> @@ -632,4 +632,5 @@ AVOutputFormat ff_rtp_muxer = {
> .write_packet = rtp_write_packet,
> .write_trailer = rtp_write_trailer,
> .priv_class = &rtp_muxer_class,
> + .flags = AVFMT_TS_NONSTRICT,
> };
>
Sure.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel