Opened 14 years ago
Closed 14 years ago
#8911 closed defect (fixed)
PBB requests of previews while playback running glitches playback
Reported by: | beirdo | Owned by: | danielk |
---|---|---|---|
Priority: | minor | Milestone: | 0.24 |
Component: | MythTV - Video Playback | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When a new recording starts or a recording finishes (?), the PBB is asking for the previews even when it's not visible due to playback of video. Often when this happens, it seems to affect the playback, causing noticible halts.
2010-09-09 20:59:30.548 TV: ASK_RECORDING 7 29 0 0 hasrec: 0 haslater: 0 2010-09-09 20:59:30.648 TV: ASK_RECORDING 1 29 0 0 hasrec: 0 haslater: 0 2010-09-09 20:59:30.815 TV: ASK_RECORDING 6 29 0 0 hasrec: 0 haslater: 0 2010-09-09 21:00:14.835 SendReceiveStringList(QUERY_SG_FILEQUERY,192.168.1.5...) called from UI thread 2010-09-09 21:00:15.518 SendReceiveStringList(QUERY_SG_FILEQUERY,192.168.1.5...) called from UI thread 2010-09-09 21:00:15.568 ALSA, Error: WriteAudio: buffer underrun 2010-09-09 21:00:15.888 PlaybackBox Error: Ignoring PREVIEW_SUCCESS, item no longer on screen. 2010-09-09 21:00:16.065 HandlePreviewEvent() -- too few args 2010-09-09 21:00:16.065 0: 1296_2010-09-09T20:30:00 2010-09-09 21:00:16.065 1: /opt/mythtv/video1/default/1296_20100909203000.mpg.png 2010-09-09 21:00:16.065 2: Generated on mythtv in 13.335 seconds, starting at 21:00:02 2010-09-09 21:00:16.065 3: 2010-09-09T21:00:05 2010-09-09 21:00:16.071 ALSA, Error: WriteAudio: buffer underrun 2010-09-09 21:00:17.300 PlaybackBox Error: Ignoring PREVIEW_SUCCESS, item no longer on screen.
Additionally, some of the HandlePreviewEvent? calls (as above) seem to be missing an argument (the code wants >= 5, there are 4 reported). Not sure if these two things are related.
Change History (5)
Note: See
TracTickets for help on using
tickets.
An update...
Due to following the advice in [26286], I have increased my ALSA buffer to 512kB. This glitchiness has gone away.
The HandlePreviewEvent?() with not enough arguments still occurs, but the ALSA underruns have seemingly disappeared.