Gibt es einen Grund warum die beiden Stellen nicht geändert wurden?
Code: Alles auswählen
#ifndef HAVE_DREAMBOX_HARDWARE
// we need the audiodecoder in standby, to be able to set volume...
if (audioDecoder) {
delete audioDecoder;
audioDecoder = NULL;
}
#endif
Code: Alles auswählen
#ifndef HAVE_DREAMBOX_HARDWARE
// needed in standby to correct aspect ration in movieplayer...
if (videoDecoder) {
delete videoDecoder;
videoDecoder = NULL;
}
#endif
Weil wenn: clean up wrong assumptions (undef HAVE_DREAMBOX_HARDWARE is not the same as HAVE_DBOX), wäre es doch logisch das auch zu machen oder etwa nicht?
Gruß