﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
6833	Hauppauge HVR-1300 + MPEG encoder + external cable box + changing channels = error	radu.cx+mythtv@…	danielk	"I have a Hauppauge HVR-1300 capture card. It has an MPEG encoder (cx88 blackbird) and I use it to capture analogue signal from my cable box. I filled in the channels and EPG with XMLTV and I control the box with IR. Everything is fine with V4L capture, but with MPEG capture I end up with ""I/O error"" when I change channels. It seems that the cx88 doesn't like it when it's opened multiple times.

I used Google and my brain, and traced the problem to libs/libmythtv/mpegrecorder.cpp. And I fixed it. Patch attached (for 0.21-fixes). All it does is release the card when the recording is finished (i.e. the channel is changed), so it's really simple.

I'm not sure if 0.22 still has the problem - I'd think it does - but the function I changed no longer exists in trunk: MpegRecorder::FinishRecording(void), so if you can follow up this patch and put it in the right place, that would be wonderful. Thanks."	defect	closed	minor	unknown	MythTV - Recording	0.21-fixes	medium	wontfix	hvr-1300		0
