mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
decklinkaudiosink: Fix compiler warning on OS X
While gint64 and int64_t are always the same, clang does not agree with that. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C decklink CXX libgstdecklink_la-gstdecklinkaudiosink.lo gstdecklinkaudiosink.cpp:675:79: error: cannot initialize a parameter of type 'int64_t *' (aka 'long long *') with an rvalue of type 'gint64 *' (aka 'long *') ret = buf->output->attributes->GetInt (BMDDeckLinkMaximumAudioChannels, &max_channels); ^~~~~~~~~~~~~ ./linux/DeckLinkAPI.h:692:87: note: passing argument to parameter 'value' here virtual HRESULT GetInt (/* in */ BMDDeckLinkAttributeID cfgID, /* out */ int64_t *value) = 0; ^
This commit is contained in:
parent
8a05102747
commit
1da1a3afc9
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ gst_decklink_audio_sink_get_caps (GstBaseSink * bsink, GstCaps * filter)
|
|||
if (buf) {
|
||||
GST_OBJECT_LOCK (buf);
|
||||
if (buf->output && buf->output->attributes) {
|
||||
gint64 max_channels = 0;
|
||||
int64_t max_channels = 0;
|
||||
HRESULT ret;
|
||||
GstStructure *s;
|
||||
GValue arr = G_VALUE_INIT;
|
||||
|
|
Loading…
Reference in a new issue