summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-14 23:31:24 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-14 23:31:24 +0000
commit22e11d3bfe24856daf31f6af71b8fd41d577e468 (patch)
tree4f5d5e667eb94591b5a1e622b09332f22bfbdb7e /libvo
parent27f2f8fdefc112bce4718440b020eeb45e452393 (diff)
downloadmpv-22e11d3bfe24856daf31f6af71b8fd41d577e468.tar.bz2
mpv-22e11d3bfe24856daf31f6af71b8fd41d577e468.tar.xz
Remove some xvmc field initializations. They are not used by
the libavcodec decoder. They are a copy of the queried surface and are meaningful only for pixel format selection, not during decoding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28570 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xvmc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c
index 36b0602707..6623f01048 100644
--- a/libvo/vo_xvmc.c
+++ b/libvo/vo_xvmc.c
@@ -533,9 +533,7 @@ int vm = flags & VOFLAG_MODESWITCHING;
surface_render[i].mv_blocks = mv_blocks.macro_blocks;
surface_render[i].total_number_of_mv_blocks = numblocks;
surface_render[i].total_number_of_data_blocks = numblocks*blocks_per_macroblock;;
- surface_render[i].mc_type = surface_info.mc_type & (~XVMC_IDCT);
surface_render[i].idct = (surface_info.mc_type & XVMC_IDCT) == XVMC_IDCT;
- surface_render[i].chroma_format = surface_info.chroma_format;
surface_render[i].unsigned_intra = (surface_info.flags & XVMC_INTRA_UNSIGNED) == XVMC_INTRA_UNSIGNED;
surface_render[i].p_surface = &surface_array[i];
if( mp_msg_test(MSGT_VO,MSGL_DBG4) )