| 1467 | else if (info.tagName() == "subtitles" && info.attribute("type") == "teletext") |
| 1468 | { |
| 1469 | pginfo->closecaptioned = true; |
| 1470 | } |
| 1471 | else if (info.tagName() == "video") |
| 1472 | { |
| 1473 | // Just a simply <video> hack to get HDTV in XMLTV working |
| 1474 | // |
| 1475 | // This is a lazy copy and paste implementation, probably |
| 1476 | // requires work to clean up and optimize, but it works, and |
| 1477 | // that's the main thing :) |
| 1478 | QDomNodeList values = info.elementsByTagName("quality"); |
| 1479 | QDomElement item; |
| 1480 | for (unsigned int i = 0; i < values.length(); i++) |
| 1481 | { |
| 1482 | item = values.item(i).toElement(); |
| 1483 | if (item.isNull()) |
| 1484 | continue; |
| 1485 | pginfo->hdtv = true; |
| 1486 | } |
| 1487 | } |