Ticket #5057: dolby.patch
File dolby.patch, 1.0 KB (added by , 16 years ago) |
---|
-
(a) xmltvparser.cpp vs. (b) Copy
a b 258 258 pginfo->audioproperties |= AUD_STEREO; 259 259 } 260 260 else if (getFirstText(info) == "dolby" || 261 getFirstText(info) == "dolby digital") 261 getFirstText(info) == "dolby digital" || 262 // XTVD Schema says these are in title case 263 // and XMLTV agrees. 264 getFirstText(info) == "Dolby" || 265 getFirstText(info) == "Dolby Digital") 262 266 { 263 267 pginfo->audioproperties |= AUD_DOLBY; 264 268 } 265 269 else if (getFirstText(info) == "surround") 266 270 { 267 271 pginfo->audioproperties |= AUD_SURROUND; 268 } 272 } 273 else 274 { 275 // Unknown types should be ignored but reported 276 VERBOSE(VB_XMLTV, QString("Ignoring invalid audio %1") 277 .arg(getFirstText(info))); 278 } 269 279 } 270 280 } 271 281 }