Skip to content

Commit

Permalink
uncomment lock/unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
bsobhani committed Apr 1, 2024
1 parent aee675e commit 560dda6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ADApp/pluginSrc/NDPluginCodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,10 +807,9 @@ void NDPluginCodec::processCallbacks(NDArray *pArray)
}

case NDCODEC_H264: {
//commenting out unlock for now - crashes when changing AVCodecContext parameters while acquiring
//unlock();
unlock();
result = compressH264(pArray, &codecStatus, errorMessage);
//lock();
lock();
break;
}

Expand Down

0 comments on commit 560dda6

Please sign in to comment.