[FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

Michael Niedermayer michael at niedermayer.cc
Tue May 15 05:16:38 EEST 2018


On Mon, May 14, 2018 at 10:58:58PM +0100, Mark Thompson wrote:
> This uses any devices it can find on the host system - on a system with no
> hardware device support or in builds with no support included it will do
> nothing and pass.
> ---
>  libavutil/Makefile         |   1 +
>  libavutil/tests/hwdevice.c | 234 +++++++++++++++++++++++++++++++++++++++++++++
>  tests/fate/libavutil.mak   |   4 +
>  tests/ref/fate/hwdevice    |   1 +
>  4 files changed, 240 insertions(+)
>  create mode 100644 libavutil/tests/hwdevice.c
>  create mode 100644 tests/ref/fate/hwdevice

does not work here (over ssh if that matters)
--- ./tests/ref/fate/hwdevice	2018-05-15 04:12:44.462164238 +0200
+++ tests/data/fate/hwdevice	2018-05-15 04:13:04.606164152 +0200
@@ -1 +0,0 @@
-Passed.
Test hwdevice failed. Look at tests/data/fate/hwdevice.err for details.
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  154 (DRI2)
  Minor opcode of failed request:  1 (DRI2Connect)
  Serial number of failed request:  11
  Current serial number in output stream:  11
make: *** [fate-hwdevice] Error 1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180515/9bf49592/attachment.sig>


More information about the ffmpeg-devel mailing list