[mythtv-commits] Ticket #13579: Audio sync lost when forwarding & rewinding
MythTV
noreply at mythtv.org
Wed Feb 12 19:18:27 UTC 2020
#13579: Audio sync lost when forwarding & rewinding
----------------------------------+--------------------------------
Reporter: bib1963 | Owner: (none)
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------
Comment (by bib1963):
I've posted logs elsewhere and this is with the latest master head.
I find that if I set off a linux kernel build with MAKE="make -j<max
threads>", then the FE will quite readily lose audio sync. This was tested
with a ripped episode off a dvd of The IT Crowd, so there is no prospect
of transmission errors.
Looking at a patch supplied a few days ago, MythPlayer: Increment
m_framesPlayed when frame is dropped, and, MythPlayer: Don't reset
m_framesPlayed based on current timestamp, I am wondering if this is any
where near correct.
m_framesPlayed gets increased by 1, but what if multiple frames were
dropped. What if, due to load, the section prior with "while (framedue ==
0)" only fired once, when it should have fired multiple times.
And as I look at line 1639, - Get video in sync with audio - I am
wondering why that section looks so convoluted.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13579#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list