[FFmpeg-devel] [PATCH] lavf/nutenc: flush after each packets.
Nicolas George
nicolas.george at normalesup.org
Sun Mar 10 15:34:39 CET 2013
This reduces the latency.
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
libavformat/nutenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 2d8d265..0fbc4f9 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -977,6 +977,7 @@ static int nut_write_packet(AVFormatContext *s, AVPacket *pkt)
nut->max_pts_tb = nus->time_base;
}
+ avio_flush(bc);
return 0;
}
--
1.7.10.4
More information about the ffmpeg-devel
mailing list