From 0f98336bb916acde54d5064aa2f672b16ee15280 Mon Sep 17 00:00:00 2001 From: Marten Richter Date: Tue, 26 Feb 2013 08:21:51 +0100 Subject: [PATCH] Fix channel list on mpeg only platforms --- vdr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5