forked from wang-bin/QtAV
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: test videotoolbox header only
static ffmpeg depends on too many libs and hard to test. assume vt is always available on apple if ffmpeg header exists
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2012-2016 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2018 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -18,11 18,14 @@ | |
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
******************************************************************************/ | ||
#ifndef __APPLE__ | ||
#error apple only | ||
#endif | ||
extern "C" { | ||
#include <libavcodec/videotoolbox.h> | ||
} | ||
int main() | ||
{ | ||
av_videotoolbox_alloc_context(); | ||
//av_videotoolbox_alloc_context(); | ||
return 0; | ||
} |