summaryrefslogtreecommitdiffstats
path: root/video/decode/vd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-05 19:36:26 +0100
committerwm4 <wm4@nowhere>2013-01-13 17:39:32 +0100
commitdab286a159eacdfd995190dcd29513bad9e9fac2 (patch)
tree4ae18b6a6feba8784a21188bdf234a3c891ccc5e /video/decode/vd.c
parent2d8fb838d7823137661b420b98e68188532bb36f (diff)
downloadmpv-dab286a159eacdfd995190dcd29513bad9e9fac2.tar.bz2
mpv-dab286a159eacdfd995190dcd29513bad9e9fac2.tar.xz
vd_lavc: remove codec DR
This was buggy and didn't even work in the simplest cases. It was disabled when multithreading was used, and always disabled for h264. A better alternative (reference counting) will be added later. Hardware decoding still uses the ffmpeg DR mechanism, but has been decoupled from mpv's DR in the previous commit.
Diffstat (limited to 'video/decode/vd.c')
-rw-r--r--video/decode/vd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/video/decode/vd.c b/video/decode/vd.c
index 2ed553d440..e030cf4bd0 100644
--- a/video/decode/vd.c
+++ b/video/decode/vd.c
@@ -218,13 +218,3 @@ int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int out_fmt)
return 1;
}
-
-// mp_imgtype: buffering type, see mp_image.h
-// mp_imgflag: buffer requirements (read/write, preserve, stride limits), see mp_image.h
-// returns NULL or allocated mp_image_t*
-// Note: buffer allocation may be moved to mpcodecs_config_vo() later...
-mp_image_t *mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag,
- int w, int h)
-{
- return vf_get_image(sh->vfilter, sh->outfmt, mp_imgtype, mp_imgflag, w, h);
-}