From 03d81dc30594f63016d0283e1841e4a09a93a0bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jan 2020 17:05:34 +0100 Subject: omxplayer: try to enable for aarch64 --- omxplayer/issue-260.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 omxplayer/issue-260.patch (limited to 'omxplayer/issue-260.patch') diff --git a/omxplayer/issue-260.patch b/omxplayer/issue-260.patch new file mode 100644 index 0000000..4e8e77a --- /dev/null +++ b/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); -- cgit v1.2.3