[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:37:37 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed May 26 20:37:24 2010 +0300| [7b93afedd622c26a7210859da4d078954d932f61] | committer: Ilkka Ollakka 

avcodec: disable vp8-encoder options until it's in ffmpeg

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7b93afedd622c26a7210859da4d078954d932f61
---

 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 b5751f3..df7daf3 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -604,12 +604,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