From 30ddbb997660fa4ae3608759b9d2d0789774ccdc Mon Sep 17 00:00:00 2001 From: Joel Corley Date: Fri, 29 Jun 2018 19:19:18 -0700 Subject: Update AVStream / Camera samples for RS4. --- avstream/avscamera/sys/Sensor.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'avstream/avscamera/sys/Sensor.cpp') 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 ); } -- cgit v1.3.1