Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-02-21 18:11:29 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-02-21 18:11:29 +0300
commit00b3c0b05426db67fb6d2ff61658584bd4462b97 (patch)
treee5a93f72e8a0b7f7b95c92051f4a88e01205c0fd /decoder
parent86a56779dd3def8e8dff744d8de28328a8883e00 (diff)
Fixup a few log messages
Diffstat (limited to 'decoder')
-rw-r--r--decoder/LAVVideo/LAVVideo.cpp4
-rw-r--r--decoder/LAVVideo/decoders/msdk_mvc.cpp2
-rw-r--r--decoder/LAVVideo/decoders/wmv9.cpp2
-rw-r--r--decoder/LAVVideo/decoders/wmv9mft.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/decoder/LAVVideo/LAVVideo.cpp b/decoder/LAVVideo/LAVVideo.cpp
index ee300574..7472a8f2 100644
--- a/decoder/LAVVideo/LAVVideo.cpp
+++ b/decoder/LAVVideo/LAVVideo.cpp
@@ -585,7 +585,7 @@ HRESULT CLAVVideo::CreateDecoder(const CMediaType *pmt)
}
}
if (bMatched && !m_settings.bFormats[i]) {
- DbgLog((LOG_TRACE, 10, L"-> Codec is disabled", codec));
+ DbgLog((LOG_TRACE, 10, L"-> Codec is disabled"));
return VFW_E_TYPE_NOT_ACCEPTED;
}
}
@@ -1304,7 +1304,7 @@ receiveconnection:
}
}
- DbgLog((LOG_ERROR, 10, L"::NegotiatePixelFormat(): Unable to agree on a pixel format", i));
+ DbgLog((LOG_ERROR, 10, L"::NegotiatePixelFormat(): Unable to agree on a pixel format"));
hr = E_FAIL;
done:
diff --git a/decoder/LAVVideo/decoders/msdk_mvc.cpp b/decoder/LAVVideo/decoders/msdk_mvc.cpp
index b06177b8..39a85848 100644
--- a/decoder/LAVVideo/decoders/msdk_mvc.cpp
+++ b/decoder/LAVVideo/decoders/msdk_mvc.cpp
@@ -625,7 +625,7 @@ void CDecMSDKMVC::GetOffsetSideData(LAVFrame *pFrame, mfxU64 timestamp)
// Check that all to-be-erased GOPs are empty
for (auto itd = m_GOPs.begin(); itd < it; itd++) {
if (!itd->offsets.empty()) {
- DbgLog((LOG_TRACE, 10, L"CDecMSDKMVC::GetOffsetSideData(): Switched to next GOP at %I64u with %d entries remaining", itd->offsets.size()));
+ DbgLog((LOG_TRACE, 10, L"CDecMSDKMVC::GetOffsetSideData(): Switched to next GOP at %I64u with %Iu entries remaining", timestamp, itd->offsets.size()));
}
}
#endif
diff --git a/decoder/LAVVideo/decoders/wmv9.cpp b/decoder/LAVVideo/decoders/wmv9.cpp
index caed3745..0be59f6e 100644
--- a/decoder/LAVVideo/decoders/wmv9.cpp
+++ b/decoder/LAVVideo/decoders/wmv9.cpp
@@ -432,7 +432,7 @@ STDMETHODIMP CDecWMV9::Decode(const BYTE *buffer, int buflen, REFERENCE_TIME rtS
SafeRelease(&pInBuffer);
if (FAILED(hr)) {
- DbgLog((LOG_TRACE, 10, L"-> ProcessInput failed with hr: %0x%x", hr));
+ DbgLog((LOG_TRACE, 10, L"-> ProcessInput failed with hr: 0x%x", hr));
return E_FAIL;
}
if (S_FALSE == hr)
diff --git a/decoder/LAVVideo/decoders/wmv9mft.cpp b/decoder/LAVVideo/decoders/wmv9mft.cpp
index dd861db6..73a5816a 100644
--- a/decoder/LAVVideo/decoders/wmv9mft.cpp
+++ b/decoder/LAVVideo/decoders/wmv9mft.cpp
@@ -355,7 +355,7 @@ STDMETHODIMP CDecWMV9MFT::Decode(const BYTE *buffer, int buflen, REFERENCE_TIME
SafeRelease(&pSample);
if (FAILED(hr)) {
- DbgLog((LOG_TRACE, 10, L"-> ProcessInput failed with hr: %0x%x", hr));
+ DbgLog((LOG_TRACE, 10, L"-> ProcessInput failed with hr: 0x%x", hr));
return E_FAIL;
}