aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-15 20:29:29 +0000
committerGravatar iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-15 20:29:29 +0000
commit33f7ff9403a86783d3732d291c88b72dfc69e7a8 (patch)
tree18732f4e7e49dc06c2ac1814bc68fb40fd723d32 /libvo
parent1e8e195442b2203a690d8ada4b892ce9a2cbd2bf (diff)
Reflect ffmpeg change of xvmc struct field to xvmc_id.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28607 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xvmc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c
index 4a75fe8bf9..23d3cfb765 100644
--- a/libvo/vo_xvmc.c
+++ b/libvo/vo_xvmc.c
@@ -368,7 +368,7 @@ static uint32_t xvmc_draw_image(mp_image_t *mpi){
rndr = (struct xvmc_pix_fmt*)mpi->priv; //there is copy in plane[2]
assert( rndr != NULL );
- assert( rndr->unique_id == AV_XVMC_RENDER_MAGIC );
+ assert( rndr->xvmc_id == AV_XVMC_RENDER_MAGIC );
if( mp_msg_test(MSGT_VO,MSGL_DBG4) )
printf("vo_xvmc: draw_image(show rndr=%p)\n",rndr);
// the surface have passed vf system without been skiped, it will be displayed
@@ -525,7 +525,7 @@ int vm = flags & VOFLAG_MODESWITCHING;
rez=XvMCCreateSurface(mDisplay,&ctx,&surface_array[i]);
if( rez != Success )
break;
- surface_render[i].unique_id = AV_XVMC_RENDER_MAGIC;
+ surface_render[i].xvmc_id = AV_XVMC_RENDER_MAGIC;
surface_render[i].data_blocks = data_blocks.blocks;
surface_render[i].mv_blocks = mv_blocks.macro_blocks;
surface_render[i].total_number_of_mv_blocks = numblocks;
@@ -974,7 +974,7 @@ int i,cfs;
printf("vo_xvmc: flip_page show(rndr=%p)\n\n",p_render_surface_to_show);
if(p_render_surface_to_show == NULL) return;
- assert( p_render_surface_to_show->unique_id == AV_XVMC_RENDER_MAGIC );
+ assert( p_render_surface_to_show->xvmc_id == AV_XVMC_RENDER_MAGIC );
//fixme assert( p_render_surface_to_show != p_render_surface_visible);
if(use_queue){
@@ -1119,7 +1119,7 @@ int rez;
rndr = (struct xvmc_pix_fmt*)image[2]; //this is copy of priv-ate
assert( rndr != NULL );
- assert( rndr->unique_id == AV_XVMC_RENDER_MAGIC );
+ assert( rndr->xvmc_id == AV_XVMC_RENDER_MAGIC );
rez = XvMCRenderSurface(mDisplay,&ctx,rndr->picture_structure,
rndr->p_surface,