X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mux.cpp;fp=mux.cpp;h=7cd331408b5fabc9b117a14576b7b83c2f4b3007;hb=93fe3f6427b9528ba45f7bc337d81b9717c879fc;hp=aec124b34aea7be5f5c5de7e9ec36a2eb86b0980;hpb=db03cd080a4b38d76b85d3acf88a1bac0e84e734;p=nageru diff --git a/mux.cpp b/mux.cpp index aec124b..7cd3314 100644 --- a/mux.cpp +++ b/mux.cpp @@ -167,6 +167,7 @@ void Mux::write_packet_with_signal(const AVPacket &pkt) fprintf(stderr, "av_interleaved_write_frame() failed\n"); exit(1); } + avio_flush(avctx->pb); } void Mux::plug()