﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
754	PVR-350: LiveTV freezes when show ends and new show begins.	anonymous	danielk	"Using svn version 8001 from after Live TV changes were made, LiveTV freezes when a show ends and a new one is about to begin. Frontend is still responsive. Exiting LiveTV and entering back in corrects the problem temporarily.

System Info:[[br]]
Combined frontend/backend[[br]]
Fedora Core3, kernel 2.6.11-1.27[[br]]
PVR-350 ivtv driver version 0.3.7c [[br]]
Pentium4 2.0Ghz, 512mb ram[[br]]

Log Output from mythfrontend -v record,playback,channel,jobqueue

Using the PVR-350 decoder/TV-out[[br]]
2005-12-04 11:23:15.696 TV: StartPlayer(): took 949 ms to start player.[[br]]
2005-12-04 11:23:15.696 TV: Changing from None to WatchingLiveTV[[br]]
2005-12-04 11:23:15.712 NVP: ClearAfterSeek()[[br]]
2005-12-04 11:23:15.734 Realtime priority would require SUID as root.[[br]]
2005-12-04 11:23:15.886 keyframedist changed to 15[[br]]
2005-12-04 11:30:01.138 LiveTVChain::ReloadAll()[[br]]
2005-12-04 11:30:01.450 LiveTVChain::SwitchToNext(up)[[br]]
2005-12-04 11:30:01.451 LiveTVChain::SwitchTo(1)[[br]]
2005-12-04 11:30:01.451 LiveTVChain: Entry@1: '1252_20051204113000'[[br]]
2005-12-04 11:30:01.503 RingBuf(/video/recordings/1252_20051204112312.mpg): OpenFile(myth://127.0.0.1:6543/1252_20051204113000.mpg, 4)[[br]]
2005-12-04 11:30:01.519 Invalid file handle when opening /video/recordings/1252_20051204113000.mpg.  4 retries remaining.
2005-12-04 11:30:02.021 Resyncing position map. posmapStarted = 0 livetv(1) watchingRec(1)[[br]]
2005-12-04 11:30:02.024 SyncPositionMap watchingrecording, from DB: 0 entries[[br]]
2005-12-04 11:30:02.030 PosMapFromEnc: Warning, tried to fetch PositionMap from Encoder but encoder returned framesWritten == 0[[br]]
2005-12-04 11:30:02.032 SyncPositionMap watchingrecording no entries from encoder, try DB[[br]]
2005-12-04 11:30:02.033 Position map filled from DB to: 1[[br]]
2005-12-04 11:30:02.033 SyncPositionMap watchingrecording total: 1 entries[[br]]
2005-12-04 11:30:02.033 SyncPositionMap, new totframes: 15, new length: 0, posMap size: 1[[br]]
2005-12-04 11:30:02.075 LiveTVChain::SwitchToNext(up)[[br]]
2005-12-04 11:30:02.076 LiveTVChain::SwitchToNext(up)[[br]]
2005-12-04 11:30:02.076 LiveTVChain::SwitchToNext(up)[[br]]
2005-12-04 11:30:02.076 LiveTVChain::SwitchToNext(up)[[br]]
2005-12-04 11:30:02.076 LiveTVChain::SwitchToNext(up)[[br]]
same output continues until LiveTv is exited.[[br]]

Backend Log from same period:

2005-12-04 11:23:10.800 TVRec(1): Changing from None to WatchingLiveTV 252[[br]]
2005-12-04 11:23:11.933 ret_pid(5263) child(5263) status(0x0)[[br]]
2005-12-04 11:23:11.936 External Tuning program exited with no error[[br]]
2005-12-04 11:30:01.558 TVRec(1): RingBufferChanged()[[br]]
2005-12-04 11:30:01.855 Finished recording Maggie and the Ferocious Beast ""Just a Little Off the Top; Little Pig Lost; The Cecil Bunions Detective Agency"": channel 1252[[br]]
0: start_time: 0.036 duration: 36.619[[br]]
1: start_time: 0.030 duration: 36.590[[br]]
stream: start_time: 0.334 duration: 406.940 bitrate=5211 kb/s[[br]]
2005-12-04 11:30:01.947 AFD: Opened codec 0x8148920, id(MPEG2VIDEO) type(Video)[[br]]
2005-12-04 11:30:02.058 AFD: Opened codec 0x8151d20, id(MP2) type(Audio)[[br]]
2005-12-04 11:30:22.002 Reschedule requested for id 0.[[br]]
2005-12-04 11:30:22.035 Reschedule requested for id 0.[[br]]
2005-12-04 11:30:22.235 Scheduled 1 items in 0.2 = 0.05 match + 0.17 place[[br]]
2005-12-04 11:33:00.413 TVRec(1): Changing from WatchingLiveTV to None[[br]]
2005-12-04 11:33:00.706 Finished recording Oobi: channel 1252[[br]]
"	defect	closed	minor	0.19	mythtv	head	medium	fixed			0
