diff options
| author | Joel Corley <[email protected]> | 2020-04-07 00:42:28 -0700 |
|---|---|---|
| committer | Joel Corley <[email protected]> | 2020-04-07 00:42:28 -0700 |
| commit | 6568238719a3fe6d317e1d4a13131f5d2ca0234b (patch) | |
| tree | f2fab0e33040d18373174b73ec45dc6935082581 | |
| parent | 43e90d07b44b756ce084a31ac3ca154857bb64d8 (diff) | |
Fix typos, etc. to address review comments.
| -rw-r--r-- | avstream/avscamera/sys/Common.h | 1 | ||||
| -rw-r--r-- | avstream/avscamera/sys/Device.cpp | 4 | ||||
| -rw-r--r-- | avstream/avscamera/sys/Sensor.cpp | 2 | ||||
| -rw-r--r-- | avstream/avscamera/sys/Sensor.h | 1 | ||||
| -rw-r--r-- | avstream/avscamera/sys/filter.h | 2 | ||||
| -rw-r--r-- | avstream/avssamp/audio.cpp | 2 | ||||
| -rw-r--r-- | avstream/avssamp/video.cpp | 6 | ||||
| -rw-r--r-- | avstream/sampledevicemft/basepin.cpp | 2 |
8 files changed, 8 insertions, 12 deletions
diff --git a/avstream/avscamera/sys/Common.h b/avstream/avscamera/sys/Common.h index d29a0438..7cde102f 100644 --- a/avstream/avscamera/sys/Common.h +++ b/avstream/avscamera/sys/Common.h @@ -33,7 +33,6 @@ #include <wdm.h> #include <windef.h> -//#include <handleapi.h> #include <unknown.h> #include <ks.h> #include <ksmedia.h> diff --git a/avstream/avscamera/sys/Device.cpp b/avstream/avscamera/sys/Device.cpp index 9fab69d9..2741da08 100644 --- a/avstream/avscamera/sys/Device.cpp +++ b/avstream/avscamera/sys/Device.cpp @@ -637,9 +637,7 @@ Return Value: (PVOID)&pld) ); - //Also set Panel ID manually, because PnP does not do this for the interface currently - // TODO: This is a bug in PnP that they will fix, so don't check the return code - // It will be read only when fixed. + // Also set Panel ID manually, because PnP does not do this for the interface currently IoSetDeviceInterfacePropertyData(SymbolicLinkName, &DEVPKEY_Device_PanelId, LOCALE_NEUTRAL, diff --git a/avstream/avscamera/sys/Sensor.cpp b/avstream/avscamera/sys/Sensor.cpp index 1f062497..654ea666 100644 --- a/avstream/avscamera/sys/Sensor.cpp +++ b/avstream/avscamera/sys/Sensor.cpp @@ -413,7 +413,7 @@ Return Value: NTSTATUS Status = STATUS_SUCCESS; LONG lPindex = Pin->Id; - // Hold off all image generation while we muck with the capture pin and synthensizer arrays. + // Hold off all image generation while we manipulate the capture pin and synthensizer arrays. KScopedMutex Lock(m_SensorMutex); // diff --git a/avstream/avscamera/sys/Sensor.h b/avstream/avscamera/sys/Sensor.h index c68f1b3a..31b0f3a2 100644 --- a/avstream/avscamera/sys/Sensor.h +++ b/avstream/avscamera/sys/Sensor.h @@ -522,7 +522,6 @@ public: CSynthesizer::Attribute Attrib; LONGLONG Info; LONG PinId; - }; void diff --git a/avstream/avscamera/sys/filter.h b/avstream/avscamera/sys/filter.h index 07f1c0d4..5b272a9d 100644 --- a/avstream/avscamera/sys/filter.h +++ b/avstream/avscamera/sys/filter.h @@ -58,7 +58,7 @@ private: // The AVStream filter object associated with this CCaptureFilter. // CCapturePin **m_pinArray; - ULONG* m_pMinimumRequestedFrames; + ULONG *m_pMinimumRequestedFrames; protected: // diff --git a/avstream/avssamp/audio.cpp b/avstream/avssamp/audio.cpp index cc35f869..579fa002 100644 --- a/avstream/avssamp/audio.cpp +++ b/avstream/avssamp/audio.cpp @@ -358,7 +358,7 @@ Routine Description: selected in order to change the format for the pin. In this case, OldFormat will not be NULL. - Validate that the format is acceptible and perform the actions necessary + Validate that the format is acceptable and perform the actions necessary to change format if appropriate. Arguments: diff --git a/avstream/avssamp/video.cpp b/avstream/avssamp/video.cpp index d2291a24..d18dc95d 100644 --- a/avstream/avssamp/video.cpp +++ b/avstream/avssamp/video.cpp @@ -1,4 +1,4 @@ -/************************************************************************** +/************************************************************************** AVStream Filter-Centric Sample @@ -23,7 +23,7 @@ /************************************************************************** PAGEABLE CODE - + **************************************************************************/ #ifdef ALLOC_PRAGMA @@ -557,7 +557,7 @@ Routine Description: selected in order to change the format for the pin. In this case, OldFormat will not be NULL. - Validate that the format is acceptible and perform the actions necessary + Validate that the format is acceptable and perform the actions necessary to change format if appropriate. Arguments: diff --git a/avstream/sampledevicemft/basepin.cpp b/avstream/sampledevicemft/basepin.cpp index 9c989000..563ff610 100644 --- a/avstream/sampledevicemft/basepin.cpp +++ b/avstream/sampledevicemft/basepin.cpp @@ -742,7 +742,7 @@ done: STDMETHODIMP CAsyncInPin::Init() { - m_asyncCallback = new (std::nothrow) CDMFTAsyncCallback<CAsyncInPin, &CAsyncInPin::Invoke>(this,m_dwWorkQueueId); + m_asyncCallback = new (std::nothrow) CDMFTAsyncCallback<CAsyncInPin, &CAsyncInPin::Invoke>(this, m_dwWorkQueueId); if (!m_asyncCallback) throw bad_alloc(); return S_OK; |
