[FFmpeg-cvslog] r17305 - trunk/libavcodec/xvmc.h
iive
subversion
Sun Feb 15 02:28:50 CET 2009
Author: iive
Date: Sun Feb 15 02:28:50 2009
New Revision: 17305
Log:
Mpve the field state in xvmc struct to the extentions section.
It have always been workaround for MPlayer limitations.
Modified:
trunk/libavcodec/xvmc.h
Modified: trunk/libavcodec/xvmc.h
==============================================================================
--- trunk/libavcodec/xvmc.h Sun Feb 15 02:24:09 2009 (r17304)
+++ trunk/libavcodec/xvmc.h Sun Feb 15 02:28:50 2009 (r17305)
@@ -60,9 +60,6 @@ struct xvmc_render_state {
/** 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 @@ struct xvmc_render_state {
/** 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
More information about the ffmpeg-cvslog
mailing list