[MPlayer-cvslog] r36712 - trunk/libmpcodecs/vd.c
reimar
subversion at mplayerhq.hu
Thu Jan 23 20:21:53 CET 2014
Author: reimar
Date: Thu Jan 23 20:21:53 2014
New Revision: 36712
Log:
vd: Fix setting of outfmtidx during VDCTRL_QUERY_FORMAT
Modified:
trunk/libmpcodecs/vd.c
Modified: trunk/libmpcodecs/vd.c
==============================================================================
--- trunk/libmpcodecs/vd.c Thu Jan 23 20:13:50 2014 (r36711)
+++ trunk/libmpcodecs/vd.c Thu Jan 23 20:21:53 2014 (r36712)
@@ -195,7 +195,7 @@ int mpcodecs_config_vo(sh_video_t *sh, i
if (out_fmt == (unsigned int) 0xFFFFFFFF)
continue;
// check (query) if codec really support this outfmt...
- sh->outfmtidx = j; // pass index to the control() function this way
+ sh->outfmtidx = i; // pass index to the control() function this way
if (mpvdec->control(sh, VDCTRL_QUERY_FORMAT, &out_fmt) ==
CONTROL_FALSE) {
mp_msg(MSGT_CPLAYER, MSGL_DBG2,
More information about the MPlayer-cvslog
mailing list