git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add new after record timer event behavior "auto".. and use it as default
[enigma2.git]
/
lib
/
driver
/
avswitch.cpp
diff --git
a/lib/driver/avswitch.cpp
b/lib/driver/avswitch.cpp
index 1f2765ec1fdd75918720198a8e3026794459d45a..dbfebf5f2e15ee0d45a9ffe506bd4478ff338a6c 100644
(file)
--- a/
lib/driver/avswitch.cpp
+++ b/
lib/driver/avswitch.cpp
@@
-24,7
+24,7
@@
eAVSwitch::eAVSwitch()
}
else
{
}
else
{
- m_fp_notifier =
new eSocketNotifier
(eApp, m_fp_fd, eSocketNotifier::Read|POLLERR);
+ m_fp_notifier =
eSocketNotifier::create
(eApp, m_fp_fd, eSocketNotifier::Read|POLLERR);
CONNECT(m_fp_notifier->activated, eAVSwitch::fp_event);
}
}
CONNECT(m_fp_notifier->activated, eAVSwitch::fp_event);
}
}
@@
-93,8
+93,6
@@
eAVSwitch::~eAVSwitch()
{
if ( m_fp_fd >= 0 )
close(m_fp_fd);
{
if ( m_fp_fd >= 0 )
close(m_fp_fd);
- if (m_fp_notifier)
- delete m_fp_notifier;
}
eAVSwitch *eAVSwitch::getInstance()
}
eAVSwitch *eAVSwitch::getInstance()