summaryrefslogtreecommitdiff
path: root/libavcodec/qsv_internal.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-03-12 15:19:05 +0000
committerMark Thompson <sw@jkqxz.net>2017-03-12 15:19:05 +0000
commit15887a410c5ae271c59e5bc6d60ae443e6c40ac7 (patch)
treecddbd09e9d7c18e9b87e9302a53e9bbe9cf3ca00 /libavcodec/qsv_internal.h
parent723a542d6c67de2946dbb7f782393c8c2bee8e0b (diff)
parent95414eb2dc63a6f934275b4ed33dedd4369f2c49 (diff)
downloadffmpeg-15887a410c5ae271c59e5bc6d60ae443e6c40ac7.tar.gz
Merge commit '95414eb2dc63a6f934275b4ed33dedd4369f2c49'
* commit '95414eb2dc63a6f934275b4ed33dedd4369f2c49': qsv: print more complete error messages Merged-by: Mark Thompson <sw@jkqxz.net>
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 5d2a216ce6..eb8e3a5986 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -60,7 +60,10 @@ typedef struct QSVFramesContext {
/**
* Convert a libmfx error code into an ffmpeg 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);
int ff_qsv_profile_to_mfx(enum AVCodecID codec_id, int profile);