changeset 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 3c83f05884a0
children c9e8aed08d17
files xvmc.h
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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