Skip to content
Snippets Groups Projects
Commit 0347abd7 authored by Lyubomir Marinov's avatar Lyubomir Marinov
Browse files

Commits work in progress on updating to FFmpeg 1.0. The C source code of the...

Commits work in progress on updating to FFmpeg 1.0. The C source code of the FFmpeg JNI library is modified to use vanilla FFmpeg 1.0.
parent f736262e
No related branches found
No related tags found
No related merge requests found
--- a/libavcodec/libx264.c 2011-04-30 17:06:44.304599700 +0300
+++ b/libavcodec/libx264.c 2011-04-16 05:01:34.391924200 +0300
@@ -303,6 +303,13 @@
if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER)
x4->params.b_repeat_headers = 0;
+ /* zero latency */
+ x4->params.rc.i_lookahead = 0;
+ x4->params.i_sync_lookahead = 0;
+ x4->params.i_bframe = 0;
+ x4->params.b_sliced_threads = 1;
+ x4->params.b_vfr_input = 0;
+
x4->enc = x264_encoder_open(&x4->params);
if (!x4->enc)
return -1;
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment