From 407db526c5511128c8ee82d0be18fcdd7895443c 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.2