summaryrefslogtreecommitdiff
path: root/libavformat/tls_securetransport.c
diff options
context:
space:
mode:
authorMaksym Veremeyenko <verem@m1.tv>2021-11-03 12:57:45 +0200
committerMarton Balint <cus@passwd.hu>2021-11-06 20:35:19 +0100
commita085418303a2e736181919429e9b43c06e916f69 (patch)
tree2019e387cdb548edb7f47419a4cba4708e815809 /libavformat/tls_securetransport.c
parent9d4989f2e17c11d4ee9daa489b6e4f5195d80b99 (diff)
avformat/mpegtsenc: fix first_pcr initial update
Commit 6f36eb0da71d22aadf8f056f0966bd86656ea57e claim it fixes endless loop on package generation if muxrate specified and copyts used. But actually it does not work properly if -mpegts_copyts 1 is specified: ffmpeg -y -copyts -i loewe.ts -c:v libx264 -x264opts nal-hrd=cbr:force-cfr=1 -b:v 3500k -minrate 3500k -maxrate 3500k -bufsize 1000k -c:a mp2 -f mpegts -mpegts_copyts 1 -muxrate 4500k -vframes 1000 test.ts ffmpeg generate huge file until it reach zero-based pcr value equal to first dts. Attached patch fixes it. Reviewed-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/tls_securetransport.c')
0 files changed, 0 insertions, 0 deletions