This will gives out more accurate information in case of this
decoder used but doesn't specificed a hwaccel.

For example:
ffmpeg -c:v av1 -i INPUT OUTPUT

Signed-off-by: Fei Wang <fei.w.w...@intel.com>
---
This is improvement for patch:
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=4660
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=4694

 libavcodec/av1dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
index a69808f7b6..98db60a57f 100644
--- a/libavcodec/av1dec.c
+++ b/libavcodec/av1dec.c
@@ -462,8 +462,8 @@ static int get_pixel_format(AVCodecContext *avctx)
      * implemented in the future, need remove this check.
      */
     if (!avctx->hwaccel) {
-        av_log(avctx, AV_LOG_ERROR, "Your platform doesn't suppport"
-               " hardware accelerated AV1 decoding.\n");
+        av_log(avctx, AV_LOG_ERROR, "The AV1 decoder requires a hw 
acceleration"
+               " to be specified or the specified hw doesn't support AV1 
decoding.\n");
         return AVERROR(ENOSYS);
     }
 
-- 
2.17.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to