1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Modified GetInformation().

This commit is contained in:
Rolf Ahrenberg 2007-10-11 21:05:35 +00:00
parent 3822a46f4f
commit 8b9cb443b4

View File

@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: streamer.c,v 1.21 2007/10/09 22:12:17 rahrenbe Exp $
* $Id: streamer.c,v 1.22 2007/10/11 21:05:35 rahrenbe Exp $
*/
#include <vdr/thread.h>
@ -99,7 +99,8 @@ bool cIptvStreamer::Set(const char* Address, const int Port, cIptvProtocolIf* Pr
cString cIptvStreamer::GetInformation(void)
{
//debug("cIptvStreamer::GetInformation()");
cString info("Stream:");
if (protocol)
return protocol->GetInformation();
return cString::sprintf("%s %s", *info, *protocol->GetInformation());
return NULL;
}