diff options
author | Philip Langdale <philipl@overt.org> | 2017-11-16 07:38:10 -0800 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2017-11-20 07:03:26 -0800 |
commit | 8bca292c3045a7f372299f71c8d88b541fe2a816 (patch) | |
tree | 3b3367c83d6476c1f8d917988fbec92c5fb18bca /libavcodec/allcodecs.c | |
parent | 4c7b023d56e09a78a587d036db1b64bf7c493b3d (diff) | |
download | ffmpeg-streaming-8bca292c3045a7f372299f71c8d88b541fe2a816.zip ffmpeg-streaming-8bca292c3045a7f372299f71c8d88b541fe2a816.tar.gz |
avcodec: Implement mpeg1 nvdec hwaccel
Once I remembered that there's a separate decoder type for mpeg1,
even though params struct is shared with mpeg2, everything worked.
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r-- | libavcodec/allcodecs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index e0adb71..e9df704 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -87,6 +87,7 @@ static void register_all(void) REGISTER_HWACCEL(HEVC_VIDEOTOOLBOX, hevc_videotoolbox); REGISTER_HWACCEL(MJPEG_CUVID, mjpeg_cuvid); REGISTER_HWACCEL(MPEG1_CUVID, mpeg1_cuvid); + REGISTER_HWACCEL(MPEG1_NVDEC, mpeg1_nvdec); REGISTER_HWACCEL(MPEG1_XVMC, mpeg1_xvmc); REGISTER_HWACCEL(MPEG1_VDPAU, mpeg1_vdpau); REGISTER_HWACCEL(MPEG1_VIDEOTOOLBOX, mpeg1_videotoolbox); |