git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fixed bogus channel sharing
[enigma2.git]
/
lib
/
dvb
/
dvb.cpp
diff --git
a/lib/dvb/dvb.cpp
b/lib/dvb/dvb.cpp
index 9a35561530629e40f497ca4c7ad59ca0cc9e94dc..d4cc462cac43f5b5ddc213cc518c0616fab669f7 100644
(file)
--- a/
lib/dvb/dvb.cpp
+++ b/
lib/dvb/dvb.cpp
@@
-232,10
+232,13
@@
RESULT eDVBResourceManager::allocateChannel(const eDVBChannelID &channelid, ePtr
{
/* first, check if a channel is already existing. */
{
/* first, check if a channel is already existing. */
- for (std::list<active_channel>::iterator i(m_active_channels.begin()); i != m_active_channels.end();)
+// eDebug("allocate channel.. %04x:%04x", channelid.transport_stream_id.get(), channelid.original_network_id.get());
+ for (std::list<active_channel>::iterator i(m_active_channels.begin()); i != m_active_channels.end(); ++i)
{
{
+// eDebug("available channel.. %04x:%04x", i->m_channel_id.transport_stream_id.get(), i->m_channel_id.original_network_id.get());
if (i->m_channel_id == channelid)
{
if (i->m_channel_id == channelid)
{
+// eDebug("found shared channel..");
channel = i->m_channel;
return 0;
}
channel = i->m_channel;
return 0;
}