Mercurial > mplayer.hg
diff libmpcodecs/vd.c @ 6709:3b20f07b2c16
Add draw slice for the codecs
author | albeu |
---|---|
date | Thu, 11 Jul 2002 20:17:27 +0000 |
parents | 522713337297 |
children | 0145bba6e201 |
line wrap: on
line diff
--- a/libmpcodecs/vd.c Thu Jul 11 19:16:30 2002 +0000 +++ b/libmpcodecs/vd.c Thu Jul 11 20:17:27 2002 +0000 @@ -277,3 +277,9 @@ return mpi; } +void mpcodecs_draw_slice(sh_video_t *sh, unsigned char* src, int* stride, int w,int h, int x, int y) { + struct vf_instance_s* vf = sh->vfilter; + + if(vf->draw_slice) + vf->draw_slice(vf,src,stride,w,h,x,y); +}