[vlc-devel] [PATCH 4/5] Decklink: Fix incorrect format specifiers
Marvin Scholz
epirat07 at gmail.com
Mon Oct 22 10:11:20 CEST 2018
---
modules/access/decklink.cpp | 2 +-
modules/video_output/decklink.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp
index 46ddebfb46..21aff24607 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -316,7 +316,7 @@ HRESULT DeckLinkCaptureDelegate::VideoInputFrameArrived(IDeckLinkVideoInputFrame
if (videoFrame) {
if (videoFrame->GetFlags() & bmdFrameHasNoInputSource) {
- msg_Warn(demux_, "No input signal detected (%dx%d)",
+ msg_Warn(demux_, "No input signal detected (%ldx%ld)",
videoFrame->GetWidth(), videoFrame->GetHeight());
return S_OK;
}
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 7f1c0d0660..fba5ab3210 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -504,7 +504,7 @@ static IDeckLinkDisplayMode * MatchDisplayMode(vout_display_t *vd,
if(i==0)
{
BMDFieldDominance field = htonl(p_mode->GetFieldDominance());
- msg_Dbg(vd, "Found mode '%4.4s': %s (%ldx%ld, %.3f fps, %4.4s, scale %ld dur %ld)",
+ msg_Dbg(vd, "Found mode '%4.4s': %s (%ldx%ld, %.3f fps, %4.4s, scale %lld dur %lld)",
(char*)&modenl, psz_mode_name,
p_mode->GetWidth(), p_mode->GetHeight(),
(char *)&field,
--
2.19.1
More information about the vlc-devel
mailing list