diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-11-21 09:43:44 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-11-21 09:44:13 +0000 |
commit | 6242564feffb32797bff21ecc81df5ade1cf57e7 (patch) | |
tree | a4fd54d1dd2572cd708310e635fb9742b18fe95c /main/omxplayer/issue-260.patch | |
parent | 34c7cd2046c880a8fefddf8077c970975bda9aa3 (diff) | |
download | aports-6242564feffb32797bff21ecc81df5ade1cf57e7.tar.bz2 aports-6242564feffb32797bff21ecc81df5ade1cf57e7.tar.xz |
main/omxplayer: move from testing, refresh snapshot
Diffstat (limited to 'main/omxplayer/issue-260.patch')
-rw-r--r-- | main/omxplayer/issue-260.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/omxplayer/issue-260.patch b/main/omxplayer/issue-260.patch new file mode 100644 index 0000000000..4e8e77ad1c --- /dev/null +++ b/main/omxplayer/issue-260.patch @@ -0,0 +1,16 @@ +https://github.com/popcornmix/omxplayer/issues/260 + +Not a fix, but improves the situation a little bit. + +--- omxplayer-6ee9a0a5488119786990b6f91990d59d6e35427c.orig/omxplayer.cpp ++++ omxplayer-6ee9a0a5488119786990b6f91990d59d6e35427c/omxplayer.cpp +@@ -1543,6 +1543,9 @@ + } + } + ++ if (audio_pts < stamp) audio_pts = DVD_NOPTS_VALUE; ++ if (video_pts < stamp) video_pts = DVD_NOPTS_VALUE; ++ + float audio_fifo = audio_pts == DVD_NOPTS_VALUE ? 0.0f : audio_pts / DVD_TIME_BASE - stamp * 1e-6; + float video_fifo = video_pts == DVD_NOPTS_VALUE ? 0.0f : video_pts / DVD_TIME_BASE - stamp * 1e-6; + float threshold = std::min(0.1f, (float)m_player_audio.GetCacheTotal() * 0.1f); |