mmaitre314 / VideoEffect

Apply image effects (Lumia Imaging SDK, Win2D, DirectX HLSL pixel shaders) and detectors (ZXing.Net, etc.) to videos in Universal Store Apps for Windows Phone 8.1 and Windows 8.1.
http://mmaitre314.github.io/VideoEffect/
Apache License 2.0
74 stars 28 forks source link

AnalyzeBitmap function in QR code detection #25

Open mun24 opened 8 years ago

mun24 commented 8 years ago

My issue is similar to this issue. https://github.com/mmaitre314/VideoEffect/issues/13

I am getting access violation when I try to navigate away from scan page which has this AnalyzeBitmap function which is given as third parameter to function LumiaAnalyzerDefinition as shown below line.

var definition = new LumiaAnalyzerDefinition(ColorMode.Yuv420Sp, 640, AnalyzeBitmap);

I noticed that AnalyzeBitmap is repeatedly getting called. How can this be stopped if required.

Thanks.

mmaitre314 commented 8 years ago

Either disposing MediaCapture or calling ClearEffectsAsync() should stop the calls.

For the crash, if you can get a callstack in the native debugger that might give more info about what is happening.