Skip to content

Commit

Permalink
Adds missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
cgreening committed Apr 7, 2024
1 parent 729e41c commit 73e30d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions player/src/VideoPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ void VideoPlayer::audioPlayerTask()
// have we reached the end of the channel?
if (audioLength == 0) {
// we want to loop the video so reset the channel data and start again
mChannelData->setChannel(mChannelData->getChannelNumber());
mCurrentAudioSample = 0;
mVideoSource->updateAudioTime(0);
stop();
setChannel(mChannelData->getChannelNumber());
play();
continue;
}
if (audioLength > 0) {
Expand Down

0 comments on commit 73e30d8

Please sign in to comment.