File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
VideoEffect/StyleTransferEffectCpp Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ public AppViewModel()
5151 public Windows . Media . Capture . MediaCapture _mediaCapture ;
5252 private List < MediaFrameSourceGroup > _mediaFrameSourceGroupList ;
5353 private MediaFrameSourceGroup _selectedMediaFrameSourceGroup ;
54- private MediaFrameSource _selectedMediaFrameSource ;
5554 private bool isPreviewing ;
5655 private DisplayRequest displayRequest = new DisplayRequest ( ) ;
5756
@@ -318,7 +317,6 @@ public async Task ChangeLiveStream()
318317 StreamingCaptureMode = StreamingCaptureMode . Video
319318 } ;
320319 _mediaCapture = new MediaCapture ( ) ;
321- Debug . WriteLine ( "initalized mediacapture" ) ;
322320 await _mediaCapture . InitializeAsync ( settings ) ;
323321 displayRequest . RequestActive ( ) ;
324322
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ namespace winrt::StyleTransferEffectCpp::implementation
5757 }
5858
5959 void StyleTransferEffect::SetProperties (IPropertySet config) {
60- // Processing.lock();
6160 this ->configuration = config;
6261 hstring modelName;
6362 IInspectable val = config.TryLookup (L" ModelName" );
@@ -76,6 +75,5 @@ namespace winrt::StyleTransferEffectCpp::implementation
7675
7776 InputImageDescription = L" inputImage" ;
7877 OutputImageDescription = L" outputImage" ;
79- // Processing.unlock();
8078 }
8179}
You can’t perform that action at this time.
0 commit comments