From: Marten Richter Date: Tue, 26 Feb 2013 07:21:51 +0000 (+0100) Subject: Fix channel list on mpeg only platforms X-Git-Tag: 0-4-1~1^2~33 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=0f98336bb916acde54d5064aa2f672b16ee15280;p=vompclient.git Fix channel list on mpeg only platforms --- diff --git a/vdr.cc b/vdr.cc index 3523cee..6ebf766 100644 --- a/vdr.cc +++ b/vdr.cc @@ -818,7 +818,7 @@ ChannelList* VDR::getChannelsList(ULONG type) chan->name = vresp->extractString(); chan->vstreamtype = vresp->extractULONG(); - if (chan->type == type && ((chan->vstreamtype==0x1b && h264support)|| mpeg2support) ) + if (chan->type == type && ((chan->vstreamtype==0x1b && h264support)|| (chan->vstreamtype!=0x1b &&mpeg2support)) ) { chanList->push_back(chan); logger->log("VDR", Log::DEBUG, "Have added a channel to list. %lu %lu %s", chan->number, chan->type, chan->name);