From dab286a159eacdfd995190dcd29513bad9e9fac2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Nov 2012 19:36:26 +0100 Subject: 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. --- video/decode/vd.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'video/decode/vd.c') 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); -} -- cgit v1.2.3