﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
5025	Incorrect video profile setting selected for Live TV	matt.doran@…	Janne Grunau	"When using Live TV the incorrect video settings are selected, because the dummy video resolution is used for the selection.

The full details including a ""playback"" log is explained below.

I changed my video profile setup to the ""High Quality"" profile, which uses yadif(x2) for SD content, and reverts back to linearblend for HD (>= 1920x1080).

When I use this profile, it works as expected for SD content, choosing the profile for SD content with the yadif(x2).

However when I view a HD channel with LiveTV, it chooses the wrong profile (or at least the wrong deinterlacer).  I believe this has something to do with the ""dummy video"" that it sets up which has a resolution of 720x576 while waiting for the channel to tune.

I've attached some verbose ""playback"" logging showing the problem.


In summary:
 * You can see I have a >= 1920x1080 profile that uses linear blend (line 10)
 * It seems to start initialising video at resolution 720x576 (line 29)
 * Myth picks the video profile based on this dummy resolution (line 40)
 * The yadif interlacer is initialized with resolution 720x576 (lines 85 and 86)
 * Once the tuner locks onto the HD channel, the video comes in at 
1920x1088 resolution (line 178)
 * The Yadif deinterlacer recognizes the change in video resolution 
(line 180)
 * Video cannot be displayed properly because yadif(x2) requires too much processing power for HD (lines 231-239).

If I watch a previously recorded show it works as expected, because it starts playing the content that is 1920x1080 resolution ... so that it sets up the profile correctly.   This problem only seems to appear when using live TV which initially sets up the dummy 720x576 stream."	defect	closed	major	unknown	mythtv	0.21-fixes	medium	fixed			0
