# HG changeset patch # User iive # Date 1234661330 0 # Node ID 23f3b98db75caba8821166cabc16dc689256fbee # Parent 3c83f05884a09caf22e1ca2eb64d2bc7111316ff Move the state field in the xvmc struct to the extensions section. It has always been a workaround for MPlayer limitations. diff -r 3c83f05884a0 -r 23f3b98db75c xvmc.h --- a/xvmc.h Sun Feb 15 01:24:09 2009 +0000 +++ b/xvmc.h Sun Feb 15 01:28:50 2009 +0000 @@ -60,9 +60,6 @@ /** modified by calling application and the decoder */ //@{ -#if LIBAVCODEC_VERSION_MAJOR < 53 - int state; ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction -#endif int start_mv_blocks_num; ///< offset in the array for the current slice, updated by vo int filled_mv_blocks_num; ///< processed mv block in this slice, changed by decoder @@ -71,6 +68,7 @@ /** extensions may be placed here */ #if LIBAVCODEC_VERSION_MAJOR < 53 //@{ + int state; ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered //}@ #endif