2013-02-22, 13:57
(2013-02-22, 12:27)MilhouseVH Wrote: So for me, it looks like the seek_before_zero patch is the culprit. The patch is applying cleanly, with no obvious build issues:
Okay, that's useful to know. I did leave a 2 minute SD video looping overnight and that does have a grey screen now.
Took 25 runs before it failed, so not easy for me to reproduce, but possible.
From the debugger I can see we seem to have come out of buffering (incorrectly) with video queue empty.
May be quicker for me to give you a potential fix if I find something suspicious.
Actually can you try commenting out (in OMXPlayer.cpp):
Code:
// handle situation that we get no data on one stream
if(m_CurrentAudio.id >= 0 && m_CurrentVideo.id >= 0)
{
if ((!m_player_audio.AcceptsData() && !m_CurrentVideo.started)
|| (!m_player_video.AcceptsData() && !m_CurrentAudio.started))
{
caching = CACHESTATE_DONE;
}
}