[vlc-commits] commit: avcodec: disable vp8-encoder options until it's in ffmpeg ( Ilkka Ollakka )
git at videolan.org
git at videolan.org
Wed May 26 19:38:30 CEST 2010
vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed May 26 20:37:24 2010 +0300| [2ee2392f2fdf3ba6fea775282b34e565f87971f9] | committer: Ilkka Ollakka
avcodec: disable vp8-encoder options until it's in ffmpeg
(cherry picked from commit 7b93afedd622c26a7210859da4d078954d932f61)
Signed-off-by: Ilkka Ollakka <ileoo at iki.fi>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2ee2392f2fdf3ba6fea775282b34e565f87971f9
---
modules/codec/avcodec/encoder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index fbdf705..905c527 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -590,12 +590,14 @@ int OpenEncoder( vlc_object_t *p_this )
p_context->rc_min_rate = p_enc->fmt_out.i_bitrate / 200;
+#if 0 /* enable when/if vp8 encoder is accepted in libavcodec */
p_context->lag = 16;
p_context->level = 216;
p_context->profile = 0;
p_context->rc_buffer_aggressivity = 0.95;
p_context->token_partitions = 4;
p_context->mb_static_threshold = 0;
+#endif
}
#endif
More information about the vlc-commits
mailing list