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
@ -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…
x
Reference in New Issue
Block a user