[vlc-commits] Decklink: Fix incorrect format specifiers
Marvin Scholz
git at videolan.org
Mon Oct 22 18:47:21 CEST 2018
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Oct 22 09:53:21 2018 +0200| [a3627450fa94717efee9eb9db15d9030081cbb1e] | committer: Marvin Scholz
Decklink: Fix incorrect format specifiers
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3627450fa94717efee9eb9db15d9030081cbb1e
---
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,
More information about the vlc-commits
mailing list