diff options
author | wm4 <wm4@nowhere> | 2017-12-14 19:31:09 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2017-12-15 12:32:25 +0200 |
commit | cedcdc1f3cdf0158cb1ae142d5b0d91278f40bf9 (patch) | |
tree | 7cdb7bef7d88cc2b99068ad0804946113fa512d9 /video | |
parent | 9824a30eb164300e1c626bf897f0e9658d23b9cc (diff) | |
download | mpv-cedcdc1f3cdf0158cb1ae142d5b0d91278f40bf9.tar.bz2 mpv-cedcdc1f3cdf0158cb1ae142d5b0d91278f40bf9.tar.xz |
vd_lavc: rename --hwdec=rpi to --hwdec=mmal
Annoying exception that makes no sense to keep. Normally, users or
client applications will either use --hwdec=auto, or not set the option
at all, which both leads to the expected result.
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/vd_lavc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index f67fab5284..8f8e1b35bb 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -269,10 +269,6 @@ static void add_all_hwdec_methods(struct hwdec_info **infos, int *num_infos) if (codec->capabilities & (AV_CODEC_CAP_HARDWARE | AV_CODEC_CAP_HYBRID)) wrapper = codec->wrapper_name; - // Different lavc/mpv names. - if (wrapper && strcmp(wrapper, "mmal") == 0) - wrapper = "rpi"; - // A decoder can provide multiple methods. In particular, hwaccels // provide various methods (e.g. native h264 with vaapi & d3d11), but // even wrapper decoders could provide multiple methods. |