﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
348	mythfilldatabase run causing AV sync issues	jonese@…	Isaac Richards	"Yes, this sounds impossible, but there is some conflict when you're running mythfilldatabase and recording a program at the same time.

Using SVN 7245 (Sept 13) (I can't use latest until Live-TV is fixed).  PVR-250 & PVR-150 encoder, ivtv-0.3.7k, kernel-2.6.12

For the past week or so I've been having an audio video sync issue of several seconds thought the program, but ONLY in one program at a specific point in the recording.  It would happen at about 24 minutes into a recording every time  (I record the BBC news between 03:59 and 04:31 every day).  It just so happens that I schedule my mythfilldatabase at that time as well.

When I look at the backend log at the exact time that I start seeing AV sync issues (you can see the video jump and the audio studder).

-------------------
Your subscription expires on 10/07/05 04:14:57
Grab complete.  Actual data from Sun Sep 18 06:00:00 2005 to Mon Sep 19 06:00:00 2005 (UTC)
Clearing data for source...
Clearing from Sun Sep 18 00:00:00 2005 to Mon Sep 19 00:00:00 2005 (localtime)
2005-09-17 04:23:00.250 New DB connection, total: 3
2005-09-17 04:23:00.275 New DB connection, total: 4
2005-09-17 04:23:10.837 IOBOUND - blocking in ThreadedFileWriter::Write()
2005-09-17 04:23:15.885 IOBOUND - blocking in ThreadedFileWriter::Write()
2005-09-17 04:23:20.785 IOBOUND - blocking in ThreadedFileWriter::Write()
2005-09-17 04:23:26.338 IOBOUND - blocking in ThreadedFileWriter::Write()
Data for source cleared...
Main temp tables populated.  Updating myth channels...
Updating icons for sourceid: 1
-------------------

After that event, the recoding is about 5 seconds out of sync bewteen the audio and video for the remainder of the recording.

All other recordings are fine.
"	defect	closed	critical	unknown	mythtv		medium	invalid			0
