Commit e4a8e476 authored by iive's avatar iive

Mpve the field state in xvmc struct to the extentions section.

It have always been workaround for MPlayer limitations.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 69bd30d9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment