summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-06 00:45:17 +0100
committerwm4 <wm4@nowhere>2013-11-06 00:47:53 +0100
commit6d2c5fc99a0e0150bb88588463e9272e5bc46d0d (patch)
tree2120664bd80321d574a8d1111ab7354049df62ad /video
parent3cfbe810383d8efd04e8c0b3ad47cfe73f69ca97 (diff)
downloadmpv-6d2c5fc99a0e0150bb88588463e9272e5bc46d0d.tar.bz2
mpv-6d2c5fc99a0e0150bb88588463e9272e5bc46d0d.tar.xz
vd_lavc: remove explicit crystalhd support
This removes "--hwdec=crystalhd". I doubt anyone even tried to use this. But even if someone wants to use it, the decoders can still be explicitly invoked with e.g.: --vd=lavc:h264_crystalhd The only advantage our special code provided was fallback to software decoding. (But I'm not sure how the ffmpeg crystalhd pseudo-decoder actually behaves.) Removing this will allow some simplifications as soon as we don't need vdpau_old.c anymore.
Diffstat (limited to 'video')
-rw-r--r--video/decode/vd_lavc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index c6a939ec51..ab5608942a 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -90,19 +90,6 @@ const struct vd_lavc_hwdec mp_vd_lavc_vda;
const struct vd_lavc_hwdec mp_vd_lavc_vaapi;
const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy;
-static const struct vd_lavc_hwdec mp_vd_lavc_crystalhd = {
- .type = HWDEC_CRYSTALHD,
- .codec_pairs = (const char *[]) {
- "mpeg2", "mpeg2_crystalhd",
- "msmpeg4", "msmpeg4_crystalhd",
- "wmv3", "wmv3_crystalhd",
- "vc1", "vc1_crystalhd",
- "h264", "h264_crystalhd",
- "mpeg4", "mpeg4_crystalhd",
- NULL
- },
-};
-
static const struct vd_lavc_hwdec *hwdec_list[] = {
#if HAVE_VDPAU_HWACCEL
&mp_vd_lavc_vdpau,
@@ -113,7 +100,6 @@ static const struct vd_lavc_hwdec *hwdec_list[] = {
#if HAVE_VDA_HWACCEL
&mp_vd_lavc_vda,
#endif
- &mp_vd_lavc_crystalhd,
#if HAVE_VAAPI_HWACCEL
&mp_vd_lavc_vaapi,
&mp_vd_lavc_vaapi_copy,