diff -ur mythtv-0.25.2.orig/libs/libmythtv/mythplayer.cpp mythtv-0.25.2/libs/libmythtv/mythplayer.cpp
old
|
new
|
|
4379 | 4379 | infoMap["videoheight"] = QString::number(height); |
4380 | 4380 | infoMap["videoframerate"] = QString::number(video_frame_rate, 'f', 2); |
4381 | 4381 | |
4382 | | if (height < 480) |
| 4382 | if (width < 640) |
4383 | 4383 | return; |
4384 | 4384 | |
4385 | 4385 | bool interlaced = is_interlaced(m_scan); |
4386 | | if (height == 480 || height == 576) |
4387 | | infoMap["videodescrip"] = "SD"; |
| 4386 | if (width == 1920 || height == 1080 || height == 1088) |
| 4387 | infoMap["videodescrip"] = interlaced ? "HD_1080_I" : "HD_1080_P"; |
4388 | 4388 | else if (height == 720 && !interlaced) |
4389 | 4389 | infoMap["videodescrip"] = "HD_720_P"; |
4390 | | else if (height == 1080 || height == 1088) |
4391 | | infoMap["videodescrip"] = interlaced ? "HD_1080_I" : "HD_1080_P"; |
| 4390 | else if (height >= 720) |
| 4391 | infoMap["videodescrip"] = "HD"; |
| 4392 | else infoMap["videodescrip"] = "SD"; |
4392 | 4393 | } |
4393 | 4394 | |
4394 | 4395 | bool MythPlayer::GetRawAudioState(void) const |