diff options
| author | Joel Corley <[email protected]> | 2018-06-29 19:19:18 -0700 |
|---|---|---|
| committer | Joel Corley <[email protected]> | 2018-06-29 19:19:18 -0700 |
| commit | 30ddbb997660fa4ae3608759b9d2d0789774ccdc (patch) | |
| tree | d656c50cea303cb554460d529038fe5364634b01 /avstream/avscamera/sys/Sensor.cpp | |
| parent | 6c1981b8504329521343ad00f32daa847fa6083a (diff) | |
Update AVStream / Camera samples for RS4.
Diffstat (limited to 'avstream/avscamera/sys/Sensor.cpp')
| -rw-r--r-- | avstream/avscamera/sys/Sensor.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/avstream/avscamera/sys/Sensor.cpp b/avstream/avscamera/sys/Sensor.cpp index 97615250..9215f6b6 100644 --- a/avstream/avscamera/sys/Sensor.cpp +++ b/avstream/avscamera/sys/Sensor.cpp @@ -1090,14 +1090,16 @@ void CSensor:: SetSynthesizerAttribute( CSynthesizer::Attribute Attrib, - LONGLONG Info + LONGLONG Info, + LONG PinId ) { PAGED_CODE(); for( ULONG Pin=0; IsValidIndex(Pin); Pin++ ) { - if( m_Synthesizer[Pin] ) + if( (Pin==(ULONG)PinId || IsStillIndex(Pin)) && + m_Synthesizer[Pin] ) { m_Synthesizer[Pin]->Set( Attrib, Info ); } |
