summaryrefslogtreecommitdiff
path: root/libavcodec/qsv_internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-06-25 21:38:10 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-22 19:08:13 +0200
commit95414eb2dc63a6f934275b4ed33dedd4369f2c49 (patch)
treea806cfb1653f298861f6467f0081e38885f32b43 /libavcodec/qsv_internal.h
parentd9ec3c60143babe1bb77c268e1d5547d15acd69b (diff)
downloadffmpeg-95414eb2dc63a6f934275b4ed33dedd4369f2c49.tar.gz
qsv: print more complete error messages
Include the libmfx error code and its description
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r--libavcodec/qsv_internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
index e8657417f3..03b2f651db 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -57,7 +57,10 @@ typedef struct QSVFramesContext {
/**
* Convert a libmfx error code into a libav error code.
*/
-int ff_qsv_error(int mfx_err);
+int ff_qsv_map_error(mfxStatus mfx_err, const char **desc);
+
+int ff_qsv_print_error(void *log_ctx, mfxStatus err,
+ const char *error_string);
int ff_qsv_codec_id_to_mfx(enum AVCodecID codec_id);