diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-01-09 13:02:59 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-01-09 13:03:44 +0000 |
commit | 8f5c2093c6f936572ab0b5aeee7aac7ffcfc1988 (patch) | |
tree | 681c4e72c20cb50ebc996699f1838177a3588d7c /main/omxplayer/issue-297.patch | |
parent | b49e2ef3cd7d6383cfed49b3b4b4fbf7b63c4283 (diff) | |
download | aports-8f5c2093c6f936572ab0b5aeee7aac7ffcfc1988.tar.bz2 aports-8f5c2093c6f936572ab0b5aeee7aac7ffcfc1988.tar.xz |
main/omxplayer: add a workaround for issue 297, make -dbg work
Diffstat (limited to 'main/omxplayer/issue-297.patch')
-rw-r--r-- | main/omxplayer/issue-297.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/omxplayer/issue-297.patch b/main/omxplayer/issue-297.patch new file mode 100644 index 0000000000..fbae77afd5 --- /dev/null +++ b/main/omxplayer/issue-297.patch @@ -0,0 +1,17 @@ +https://github.com/popcornmix/omxplayer/issues/297 + +Not a proper fix, but works as an ugly hack to workaround the issue. + +--- omxplayer-a4ee0743ecf49ffa1818510e8cc7872282ca66a8/omxplayer.cpp.orig ++++ omxplayer-a4ee0743ecf49ffa1818510e8cc7872282ca66a8/omxplayer.cpp +@@ -1683,6 +1683,10 @@ + + if(m_omx_reader.IsEof() && !m_omx_pkt) + { ++ // EOF before playback started, stop. ++ if (m_av_clock->OMXIsPaused()) ++ break; ++ + // demuxer EOF, but may have not played out data yet + if ( (m_has_video && m_player_video.GetCached()) || + (m_has_audio && m_player_audio.GetCached()) ) |