[mythtv-commits] Ticket #12644: Raspberry pi: Loses sound when skipping backwards
MythTV
noreply at mythtv.org
Fri Feb 12 03:09:48 UTC 2016
#12644: Raspberry pi: Loses sound when skipping backwards
-----------------------------------------+-----------------------------
Reporter: Peter Bennett <pgbennett@…> | Owner: jyavenard
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-----------------------------------------+-----------------------------
Comment (by Peter Bennett <pgbennett@…>):
I have attached a patch that fixes the problem. There is also a patch that
adds extra debug logging. I recommend installing this as well, but it is
not necessary.
When there is a reset, such as a skip backward, it is not processed
directly, but rather a flag is set to cause the reset to be processed the
next time a packet is received. What was happening is that the reset was
processed and timings cleared out, than that packet was processed, setting
the audio and video timings again to the pre-skip values. Audio packets
received after this were skipped because the code assumed they were prior
to the start point. The fix is to discard the packet that was received at
the time of the reset. The next packet contains the post-skip values and
everything proceeds normally.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12644#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list