summaryrefslogtreecommitdiff
path: root/upnpcomponents/dlna.cpp
diff options
context:
space:
mode:
authorDenis Loh <denis.loh@gmail.com>2009-10-24 16:45:15 +0200
committerDenis Loh <denis.loh@gmail.com>2009-10-24 16:45:15 +0200
commitbde12e9e1467f185068b0ae139b2380377a47eb4 (patch)
treece4a9c9e8ae673442716eed4648c15b9c303ae1f /upnpcomponents/dlna.cpp
parent1cf955a715830130b7add8c1183d65b0f442fd23 (diff)
downloadvdr-plugin-upnp-bde12e9e1467f185068b0ae139b2380377a47eb4.tar.gz
vdr-plugin-upnp-bde12e9e1467f185068b0ae139b2380377a47eb4.tar.bz2
Added a check if a channel has no valid resources
Diffstat (limited to 'upnpcomponents/dlna.cpp')
-rw-r--r--upnpcomponents/dlna.cpp1
1 files changed, 1 insertions, 0 deletions
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;