comparison xvmc.h @ 8906:23f3b98db75c libavcodec

Move the state field in the xvmc struct to the extensions section. It has always been a workaround for MPlayer limitations.
author iive
date Sun, 15 Feb 2009 01:28:50 +0000
parents 9f1f4704d89c
children c9e8aed08d17
comparison
equal deleted inserted replaced
8905:3c83f05884a0 8906:23f3b98db75c
58 #endif 58 #endif
59 //}@ 59 //}@
60 60
61 /** modified by calling application and the decoder */ 61 /** modified by calling application and the decoder */
62 //@{ 62 //@{
63 #if LIBAVCODEC_VERSION_MAJOR < 53
64 int state; ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction
65 #endif
66 int start_mv_blocks_num; ///< offset in the array for the current slice, updated by vo 63 int start_mv_blocks_num; ///< offset in the array for the current slice, updated by vo
67 int filled_mv_blocks_num; ///< processed mv block in this slice, changed by decoder 64 int filled_mv_blocks_num; ///< processed mv block in this slice, changed by decoder
68 65
69 int next_free_data_block_num; ///< used in add_mv_block, pointer to next free block 66 int next_free_data_block_num; ///< used in add_mv_block, pointer to next free block
70 //}@ 67 //}@
71 /** extensions may be placed here */ 68 /** extensions may be placed here */
72 #if LIBAVCODEC_VERSION_MAJOR < 53 69 #if LIBAVCODEC_VERSION_MAJOR < 53
73 //@{ 70 //@{
71 int state; ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction
74 void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered 72 void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered
75 //}@ 73 //}@
76 #endif 74 #endif
77 }; 75 };
78 76