I'd mentioned this in the thread about skipping and it may or may not be connected.
Pressing pause during playback of a recording always seems to take about 2 s to actually stop playback. About half of the time, the video freezes instantly but the audio carries on for a couple of seconds before stopping.
If I then unpause, both video and audio start but the video runs speeded up for a second or so, presumably to catch up with the audio that stopped about 2 s in front when it paused. I thought it was doing this every time but not when I've looked a bit more closely.
Before an earlier update from git, I was seeing things like:
23:18:01.831696 [debug] 2015 Player - Switch state from 1 to 2
23:18:01.833666 [debug] 2015 Video - enter pause
{snip}
23:18:04.007473 [debug] 2015 Video - CommandFinished waited too long 31dc40 0 2
23:18:04.008880 [debug] 2015 Audio - pause aud_rend idle ChangeComponentState
23:18:04.010742 [notice] 2015 Video - eventHandler 31dc40 0 0 2 0
23:18:04.012784 [debug] 2015 Player - UNLOCKING
23:18:04.013961 [debug] 2015 Audio - OMX_EmptyThisBuffer 5 failed 80001018 2
About a 3 s gap after entering pause before the CommandFinished timeout from the video and also an error from OMX_EmptyThisBuffer from the audio.
Trying this again now (after the git update today to remove some deadlocks) I see the same behaviour but I can't see the same errors in the debug output!
VVideoRec::drawBarClocks seems to be called about 18 times on pausing: is that correct? It just seems to be redrawing the same thing.
Laz
Pressing pause during playback of a recording always seems to take about 2 s to actually stop playback. About half of the time, the video freezes instantly but the audio carries on for a couple of seconds before stopping.
If I then unpause, both video and audio start but the video runs speeded up for a second or so, presumably to catch up with the audio that stopped about 2 s in front when it paused. I thought it was doing this every time but not when I've looked a bit more closely.
Before an earlier update from git, I was seeing things like:
23:18:01.831696 [debug] 2015 Player - Switch state from 1 to 2
23:18:01.833666 [debug] 2015 Video - enter pause
{snip}
23:18:04.007473 [debug] 2015 Video - CommandFinished waited too long 31dc40 0 2
23:18:04.008880 [debug] 2015 Audio - pause aud_rend idle ChangeComponentState
23:18:04.010742 [notice] 2015 Video - eventHandler 31dc40 0 0 2 0
23:18:04.012784 [debug] 2015 Player - UNLOCKING
23:18:04.013961 [debug] 2015 Audio - OMX_EmptyThisBuffer 5 failed 80001018 2
About a 3 s gap after entering pause before the CommandFinished timeout from the video and also an error from OMX_EmptyThisBuffer from the audio.
Trying this again now (after the git update today to remove some deadlocks) I see the same behaviour but I can't see the same errors in the debug output!
VVideoRec::drawBarClocks seems to be called about 18 times on pausing: is that correct? It just seems to be redrawing the same thing.
Laz