Skip to content

Commit 38085bc

Browse files
author
Linnea May
committed
na
1 parent 5f79cad commit 38085bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Samples/WinMLSamplesGallery/WinMLSamplesGalleryNative/TransformAsync.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ HRESULT TransformAsync::SubmitEval(IMFSample* pInput)
212212
inputSample->GetUINT64(TransformAsync_MFSampleExtension_Marker, &markerID);
213213

214214
// Make sure this model isn't already running, if so drop the frame and move on.
215-
if(model->m_syncStarted == false)
215+
if(!model->m_syncStarted)
216216
{
217217
// Extract an IDirect3DSurface from the input and output samples to use for inference,
218218
IDirect3DSurface src = SampleToD3Dsurface(inputSample.get());

0 commit comments

Comments
 (0)