Fix for the fix :/
This commit is contained in:
parent
f95f152439
commit
a41c064cab
2 changed files with 4 additions and 4 deletions
|
|
@ -189,8 +189,6 @@ static void DecoderThreadProc(void* context) {
|
|||
}
|
||||
|
||||
void stopAudioStream(void) {
|
||||
AudioCallbacks.cleanup();
|
||||
|
||||
PltInterruptThread(&udpPingThread);
|
||||
PltInterruptThread(&receiveThread);
|
||||
PltInterruptThread(&decoderThread);
|
||||
|
|
@ -207,6 +205,8 @@ void stopAudioStream(void) {
|
|||
PltCloseThread(&udpPingThread);
|
||||
PltCloseThread(&receiveThread);
|
||||
PltCloseThread(&decoderThread);
|
||||
|
||||
AudioCallbacks.cleanup();
|
||||
}
|
||||
|
||||
int startAudioStream(void) {
|
||||
|
|
|
|||
|
|
@ -148,8 +148,6 @@ int readFirstFrame(void) {
|
|||
|
||||
/* Terminate the video stream */
|
||||
void stopVideoStream(void) {
|
||||
VideoCallbacks.cleanup();
|
||||
|
||||
PltInterruptThread(&udpPingThread);
|
||||
PltInterruptThread(&receiveThread);
|
||||
PltInterruptThread(&decoderThread);
|
||||
|
|
@ -170,6 +168,8 @@ void stopVideoStream(void) {
|
|||
PltCloseThread(&udpPingThread);
|
||||
PltCloseThread(&receiveThread);
|
||||
PltCloseThread(&decoderThread);
|
||||
|
||||
VideoCallbacks.cleanup();
|
||||
}
|
||||
|
||||
/* Start the video stream */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue