From bde12e9e1467f185068b0ae139b2380377a47eb4 Mon Sep 17 00:00:00 2001 From: Denis Loh Date: Sat, 24 Oct 2009 16:45:15 +0200 Subject: Added a check if a channel has no valid resources --- upnpcomponents/dlna.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'upnpcomponents/dlna.cpp') diff --git a/upnpcomponents/dlna.cpp b/upnpcomponents/dlna.cpp index a68c6db..1d57d0e 100644 --- a/upnpcomponents/dlna.cpp +++ b/upnpcomponents/dlna.cpp @@ -72,6 +72,7 @@ DLNAProfile* cDlna::getProfileOfChannel(cChannel* Channel){ // Switching the video types of the DVB-Stream switch(Channel->Vtype()){ case 0x02: + // MPEG2 Video return &DLNA_PROFILE_MPEG2_TS_SD_EU; case 0x1B: return &DLNA_PROFILE_AVC_TS_HD_EU; -- cgit v1.2.3