mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-18 13:11:13 +08:00
796781b993
d3d11.h in mingw64<v5 is not complete, no video decoder there. So the latest d3d11.h from vs is used. other dependencies like d3d11layers.h, d3d10.h are already in mingw64. Toolchain provided by qt does not contains wrl and d3d11layers.h, use mingw-builds instead. xaudio2 still use 2.8. tested on mingw64 gcc 4.9, 5.3 remove d2d1headers because d2d1 is supported by most toolchains (gcc4.7, vs2010 for example)
31 lines
1.2 KiB
C++
31 lines
1.2 KiB
C++
/******************************************************************************
|
|
QtAV: Multimedia framework based on Qt and FFmpeg
|
|
Copyright (C) 2012-2016 Wang Bin <wbsecg1@gmail.com>
|
|
|
|
* This file is part of QtAV (from 2016)
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
******************************************************************************/
|
|
#include "../dxcompat.h"
|
|
#include <XAudio2.h> // standalone check?
|
|
#include <d3d11.h>
|
|
#include <wrl/client.h> //ComPtr is used in QtAV
|
|
|
|
int main()
|
|
{
|
|
D3D11_VIDEO_PROCESSOR_STREAM s; //used by vp
|
|
return 0;
|
|
}
|