From ffc2c709366a87916922d5a043c288b5e1de7d60 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 18 Aug 2017 23:12:18 +0300 Subject: [PATCH] qcap: Use wine_dbgstr_longlong() to trace REFERENCE_TIME arguments. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/qcap/audiorecord.c | 2 +- dlls/qcap/avimux.c | 9 ++++----- dlls/qcap/smartteefilter.c | 2 +- dlls/qcap/vfwcapture.c | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/dlls/qcap/audiorecord.c b/dlls/qcap/audiorecord.c index 75022883f13..1187d4afab2 100644 --- a/dlls/qcap/audiorecord.c +++ b/dlls/qcap/audiorecord.c @@ -148,7 +148,7 @@ static HRESULT WINAPI AudioRecord_Pause(IBaseFilter *iface) static HRESULT WINAPI AudioRecord_Run(IBaseFilter *iface, REFERENCE_TIME tStart) { AudioRecord *This = impl_from_IBaseFilter(iface); - FIXME("(%p, %x%08x): stub\n", This, (ULONG)(tStart >> 32), (ULONG)tStart); + FIXME("(%p, %s): stub\n", This, wine_dbgstr_longlong(tStart)); return E_NOTIMPL; } diff --git a/dlls/qcap/avimux.c b/dlls/qcap/avimux.c index 533db133055..c335737846c 100644 --- a/dlls/qcap/avimux.c +++ b/dlls/qcap/avimux.c @@ -600,7 +600,7 @@ static HRESULT WINAPI AviMux_Run(IBaseFilter *iface, REFERENCE_TIME tStart) HRESULT hr; int i, stream_id; - TRACE("(%p)->(0x%x%08x)\n", This, (ULONG)(tStart >> 32), (ULONG)tStart); + TRACE("(%p)->(%s)\n", This, wine_dbgstr_longlong(tStart)); if(This->filter.state == State_Running) return S_OK; @@ -1484,8 +1484,7 @@ static HRESULT WINAPI AviMuxOut_NewSegment(IPin *iface, REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate) { AviMux *This = impl_from_out_IPin(iface); - TRACE("(%p)->(0x%x%08x 0x%x%08x %lf)\n", This, (ULONG)(tStart >> 32), - (ULONG)tStart, (ULONG)(tStop >> 32), (ULONG)tStop, dRate); + TRACE("(%p)->(%s %s %f)\n", This, wine_dbgstr_longlong(tStart), wine_dbgstr_longlong(tStop), dRate); return BasePinImpl_NewSegment(iface, tStart, tStop, dRate); } @@ -1960,8 +1959,8 @@ static HRESULT WINAPI AviMuxIn_NewSegment(IPin *iface, REFERENCE_TIME tStart, { AviMux *This = impl_from_in_IPin(iface); AviMuxIn *avimuxin = AviMuxIn_from_IPin(iface); - TRACE("(%p:%s)->(0x%x%08x 0x%x%08x %lf)\n", This, debugstr_w(avimuxin->pin.pin.pinInfo.achName), - (ULONG)(tStart >> 32), (ULONG)tStart, (ULONG)(tStop >> 32), (ULONG)tStop, dRate); + TRACE("(%p:%s)->(%s %s %f)\n", This, debugstr_w(avimuxin->pin.pin.pinInfo.achName), + wine_dbgstr_longlong(tStart), wine_dbgstr_longlong(tStop), dRate); return BasePinImpl_NewSegment(iface, tStart, tStop, dRate); } diff --git a/dlls/qcap/smartteefilter.c b/dlls/qcap/smartteefilter.c index 31915779b54..55fcde55116 100644 --- a/dlls/qcap/smartteefilter.c +++ b/dlls/qcap/smartteefilter.c @@ -167,7 +167,7 @@ static HRESULT WINAPI SmartTeeFilter_Run(IBaseFilter *iface, REFERENCE_TIME tSta { SmartTeeFilter *This = impl_from_IBaseFilter(iface); HRESULT hr = S_OK; - TRACE("(%p, %x%08x)\n", This, (ULONG)(tStart >> 32), (ULONG)tStart); + TRACE("(%p, %s)\n", This, wine_dbgstr_longlong(tStart)); EnterCriticalSection(&This->filter.csFilter); if(This->filter.state != State_Running) { /* We share an allocator among all pins, an allocator can only get committed diff --git a/dlls/qcap/vfwcapture.c b/dlls/qcap/vfwcapture.c index 372e2ee9d50..46ae6c0b7ab 100644 --- a/dlls/qcap/vfwcapture.c +++ b/dlls/qcap/vfwcapture.c @@ -294,7 +294,7 @@ static HRESULT WINAPI VfwCapture_Pause(IBaseFilter * iface) static HRESULT WINAPI VfwCapture_Run(IBaseFilter * iface, REFERENCE_TIME tStart) { VfwCapture *This = impl_from_IBaseFilter(iface); - TRACE("(%x%08x)\n", (ULONG)(tStart >> 32), (ULONG)tStart); + TRACE("(%s)\n", wine_dbgstr_longlong(tStart)); return qcap_driver_run(This->driver_info, &This->filter.state); }