[x264-devel] commit: Add missing emms after nal_encode (Jason Garrett-Glaser )
git at videolan.org
git at videolan.org
Wed Jun 9 18:39:05 CEST 2010
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue Jun 8 15:41:17 2010 -0700| [502c0259e2f468b82188b37336673c11a6889353] | committer: Jason Garrett-Glaser
Add missing emms after nal_encode
Caused random, bizarre failures with some calling applications.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=502c0259e2f468b82188b37336673c11a6889353
---
encoder/encoder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/encoder/encoder.c b/encoder/encoder.c
index 9b2914e..9c89eeb 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);
}
More information about the x264-devel
mailing list