Permalink
Browse files

debug line

  • Loading branch information...
1 parent 8d11cf9 commit eef0cf5a65c9a645eccd4c654b1d336fda874ba3 @rdp committed Sep 20, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 source_code/acam/directshow_stuff.cpp
@@ -170,7 +170,9 @@ HRESULT setupPwfex(WAVEFORMATEX *pwfex, AM_MEDIA_TYPE *pmt) {
pwfex->nAvgBytesPerSec = pwfex->nSamplesPerSec * pwfex->nBlockAlign; // it can't calculate this itself? huh?
// copy this info into the pmt
- return ::CreateAudioMediaType(pwfex, pmt, FALSE /* dont allocate more memory */);
+
+ HRESULT hr = ::CreateAudioMediaType(pwfex, pmt, FALSE /* dont allocate more memory */);
+ return hr;
}
HRESULT CVCamStream::setAsNormal(CMediaType *pmt) {

0 comments on commit eef0cf5

Please sign in to comment.