# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

qt_internal_add_test(tst_qmediaplayerformatsupport
    SOURCES
        tst_qmediaplayerformatsupport.cpp
    LIBRARIES
        Qt::Core
        Qt::MultimediaPrivate
        Qt::MultimediaTestLibPrivate
    BUILTIN_TESTDATA
    TESTDATA
        testdata/README.md
        testdata/containers/supported/container.avi
        testdata/containers/supported/container.mkv
        testdata/containers/supported/container.mp4
        testdata/containers/supported/container.mpeg
        testdata/containers/supported/container.wmv
        testdata/containers/unsupported/container.webp
        testdata/flipable.gif
        testdata/pixel_formats/supported/h264_bgr0.mp4
        testdata/pixel_formats/supported/h264_bgr24.mp4
        testdata/pixel_formats/supported/h264_gray.mp4
        testdata/pixel_formats/supported/h264_gray10le.mp4
        testdata/pixel_formats/supported/h264_nv12.mp4
        testdata/pixel_formats/supported/h264_nv16.mp4
        testdata/pixel_formats/supported/h264_nv21.mp4
        testdata/pixel_formats/supported/h264_rgb24.mp4
        testdata/pixel_formats/supported/h264_yuv420p.mp4
        testdata/pixel_formats/supported/h264_yuv420p10.mp4
        testdata/pixel_formats/supported/h264_yuv420p10le.mp4
        testdata/pixel_formats/supported/h264_yuv422p.mp4
        testdata/pixel_formats/supported/h264_yuv422p10.mp4
        testdata/pixel_formats/supported/h264_yuv422p10le.mp4
        testdata/pixel_formats/supported/h264_yuv444p.mp4
        testdata/pixel_formats/supported/h264_yuv444p10.mp4
        testdata/pixel_formats/supported/h264_yuvj420p.mp4
        testdata/pixel_formats/supported/h264_yuvj422p.mp4
        testdata/pixel_formats/supported/h264_yuvj444p.mp4
)
