From 032113205fd60e70b7e50b5109e94ec2062067e9 Mon Sep 17 00:00:00 2001 From: Fiona Glaser Date: Tue, 8 Jun 2010 15:41:17 -0700 Subject: [PATCH] Add missing emms after nal_encode Caused random, bizarre failures with some calling applications. --- encoder/encoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/encoder/encoder.c b/encoder/encoder.c index f6b6d7fe..0ba1785a 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -1280,6 +1280,8 @@ static int x264_encoder_encapsulate_nals( x264_t *h, int start ) nal_buffer += size; } + x264_emms(); + return nal_buffer - (h->nal_buffer + previous_nal_size); } -- 2.40.0