OpenELEC.tv icon indicating copy to clipboard operation
OpenELEC.tv copied to clipboard

AMLUtils: aml_mode_to_resolution has to be modified

Open Stane1983 opened this issue 10 years ago • 1 comments

aml_mode_to_resolution function in AMLUtils needs to be modified because of kernel changes when CONFIG_AML_VOUT_FRAMERATE_AUTOMATION is enabled. See: https://github.com/codesnake/linux-amlogic/blob/7d09f72f343cd580b1f53b37f0d740651a590a97/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx_edid.c

I have 3D SBS movie with no output because of /sys/class/display/mode is not 1080p24hz but 1080p23hz and for that output mode aml_mode_to_resolution does nothing and returns false. Similar thing is for other resolutions.

Almost forgot about avprobe output: Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 23.98 fps, 1k tbn, 47.95 tbc (default) Side data: stereo3d: side by side

Stane1983 avatar Mar 08 '15 00:03 Stane1983

@Stane1983, do you mean something like this (please don't mind code quality, I'm a beginner): https://github.com/kszaq/OpenELEC.tv/commit/aa4a80d59205a61b3fca6fa55eda65353aa20f9a ?

I started refactoring that code to bring in support DVI resolutions in the future, maybe you can make some use of it. :)

kszaq avatar Mar 09 '15 20:03 kszaq