Commit bff2ef9d authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

DXVA2: don't use the decoder if the profile is not supported

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent aa6b2c99
...@@ -342,7 +342,7 @@ endif ...@@ -342,7 +342,7 @@ endif
libdxva2_plugin_la_SOURCES = \ libdxva2_plugin_la_SOURCES = \
video_chroma/copy.c video_chroma/copy.h \ video_chroma/copy.c video_chroma/copy.h \
codec/avcodec/dxva2.c codec/avcodec/dxva2.c codec/h264_nal.c codec/h264_nal.h
libdxva2_plugin_la_LIBADD = -lole32 -lshlwapi -luuid libdxva2_plugin_la_LIBADD = -lole32 -lshlwapi -luuid
if HAVE_AVCODEC_DXVA2 if HAVE_AVCODEC_DXVA2
codec_LTLIBRARIES += libdxva2_plugin.la codec_LTLIBRARIES += libdxva2_plugin.la
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment