diff options
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 ); } |
