1
mirror of https://github.com/mpv-player/mpv synced 2024-07-31 16:29:58 +02:00

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.
This commit is contained in:
wm4 2013-11-06 00:45:17 +01:00
parent 3cfbe81038
commit 6d2c5fc99a
3 changed files with 0 additions and 16 deletions

View File

@ -1121,7 +1121,6 @@ OPTIONS
:vaapi: requires ``--vo=opengl`` or ``--vo=vaapi`` (Linux with Intel GPUs only)
:vaapi-copy: copies video back into system RAM (Linux with Intel GPUs only)
:vda: requires ``--vo=corevideo`` (OSX only)
:crystalhd: Broadcom Crystal HD
``auto`` tries to automatically enable hardware decoding using the first
available method. This still depends what VO you are using. For example,

View File

@ -487,7 +487,6 @@ const m_option_t mp_opts[] = {
{"auto", -1},
{"vdpau", 1},
{"vda", 2},
{"crystalhd", 3},
{"vaapi", 4},
{"vaapi-copy", 5})),
OPT_STRING("hwdec-codecs", hwdec_codecs, 0),

View File

@ -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,