mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
applemedia: vtenc: Fix a warning by weak-link symbol
Fix this warning address of function 'VTCompressionSessionPrepareToEncodeFrames' will always evaluate to 'true' [-Wpointer-bool-conversion] https://bugzilla.gnome.org/show_bug.cgi?id=765292
This commit is contained in:
parent
7bee220af4
commit
5023a7c85d
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ CFSTR ("H264_Baseline_AutoLevel");
|
|||
const CFStringRef kVTCompressionPropertyKey_Quality = CFSTR ("Quality");
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_VIDEOTOOLBOX_10_9_6
|
||||
extern int
|
||||
VTCompressionSessionPrepareToEncodeFrames (VTCompressionSessionRef session)
|
||||
__attribute__ ((weak_import));
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
PROP_0,
|
||||
|
|
Loading…
Reference in a new issue