[MPlayer-cvslog] r20339 - trunk/libmpcodecs/ve_x264.c
    reimar 
    subversion at mplayerhq.hu
       
    Sat Oct 21 21:34:06 CEST 2006
    
    
  
Author: reimar
Date: Sat Oct 21 21:34:06 2006
New Revision: 20339
Modified:
   trunk/libmpcodecs/ve_x264.c
Log:
Add a call to x264enc_set_param in config, otherwise mencoder -ovc x264
would crash when no x264encopts specified.
Modified: trunk/libmpcodecs/ve_x264.c
==============================================================================
--- trunk/libmpcodecs/ve_x264.c	(original)
+++ trunk/libmpcodecs/ve_x264.c	Sat Oct 21 21:34:06 2006
@@ -152,6 +152,8 @@
     mod->mux->bih->biHeight = height;
     mod->mux->aspect = (float)d_width/d_height;
     
+    // make sure param is initialized
+    x264enc_set_param(NULL, "");
     param.i_width = width;
     param.i_height = height;
     param.i_fps_num = mod->mux->h.dwRate;
    
    
More information about the MPlayer-cvslog
mailing list