diff options
Diffstat (limited to 'libmpcodecs/vd.c')
-rw-r--r-- | libmpcodecs/vd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 4114522136..31a6cf68f4 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -277,3 +277,9 @@ mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, i 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); +} |