mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
fftools/ffmpeg: do not send spurious EOF for streamcopy when looping
This commit is contained in:
parent
481b27e850
commit
f52d045e34
@ -2524,7 +2524,8 @@ static int process_input_packet(InputStream *ist, const AVPacket *pkt, int no_eo
|
||||
for (i = 0; i < nb_output_streams; i++) {
|
||||
OutputStream *ost = output_streams[i];
|
||||
|
||||
if (!check_output_constraints(ist, ost) || ost->encoding_needed)
|
||||
if (!check_output_constraints(ist, ost) || ost->encoding_needed ||
|
||||
(!pkt && no_eof))
|
||||
continue;
|
||||
|
||||
do_streamcopy(ist, ost, pkt);
|
||||
|
Loading…
Reference in New Issue
Block a user