[MPlayer-cvslog] r32037 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Tue Aug 31 21:39:18 CEST 2010


Author: reimar
Date: Tue Aug 31 21:39:17 2010
New Revision: 32037

Log:
Set coded_width/coded_height instead of width/height since that's
how it is supposed to be done.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Tue Aug 31 01:24:56 2010	(r32036)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Tue Aug 31 21:39:17 2010	(r32037)
@@ -313,8 +313,8 @@ static int init(sh_video_t *sh){
 
     avctx->flags|= lavc_param_bitexact;
 
-    avctx->width = sh->disp_w;
-    avctx->height= sh->disp_h;
+    avctx->coded_width = sh->disp_w;
+    avctx->coded_height= sh->disp_h;
     avctx->workaround_bugs= lavc_param_workaround_bugs;
     avctx->error_recognition= lavc_param_error_resilience;
     if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY;


More information about the MPlayer-cvslog mailing list