[Deinterlace-checkins] CVS: DScaler/DScaler/dshowsource DSSource.cpp,1.55,1.56
Brought to you by:
adcockj,
dschmelzer
From: Torbj?rn J. <to...@us...> - 2002-12-14 22:29:25
|
Update of /cvsroot/deinterlace/DScaler/DScaler/dshowsource In directory sc8-pr-cvs1:/tmp/cvs-serv31603 Modified Files: DSSource.cpp Log Message: put back the code i removed Index: DSSource.cpp =================================================================== RCS file: /cvsroot/deinterlace/DScaler/DScaler/dshowsource/DSSource.cpp,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** DSSource.cpp 13 Dec 2002 20:21:42 -0000 1.55 --- DSSource.cpp 14 Dec 2002 22:29:22 -0000 1.56 *************** *** 25,28 **** --- 25,31 ---- // // $Log$ + // Revision 1.56 2002/12/14 22:29:22 tobbej + // put back the code i removed + // // Revision 1.55 2002/12/13 20:21:42 tobbej // fixed muting problem, but now the first channel is not set properly *************** *** 1260,1263 **** --- 1263,1269 ---- //set the related pin too since this is a video pin,maybe this shoud be user configurable? pCrossbar->SetInputIndex(NewValue,true); + + PhysicalConnectorType NewInputType = pCrossbar->GetInputType(NewValue); + /** * @todo we also must figure out what the related pin is and then call *************** *** 1266,1269 **** --- 1272,1283 ---- EventCollector->RaiseEvent(this, EVENT_VIDEOINPUT_CHANGE, OldValue, NewValue); + + if(NewInputType == PhysConn_Video_Tuner) + { + if(pCap->GetTuner()!=NULL) + { + Channel_SetCurrent(); + } + } } } |