diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-04-06 14:08:55 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-04-06 14:08:55 +0200 |
| commit | 84007236ce796615a8e74432aad110164b23b8ec (patch) | |
| tree | 5053dc936f63882afe3fec56342e9d5d1dc8fe76 /lib/service/servicexine.cpp | |
| parent | 3e45b153a93894c4c382d3ba5ded974c738e9589 (diff) | |
| download | enigma2-84007236ce796615a8e74432aad110164b23b8ec.tar.gz enigma2-84007236ce796615a8e74432aad110164b23b8ec.zip | |
replace assert by ASSERT, so a proper log message is generated
Diffstat (limited to 'lib/service/servicexine.cpp')
| -rw-r--r-- | lib/service/servicexine.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/service/servicexine.cpp b/lib/service/servicexine.cpp index 47be4d42..44e6a6e0 100644 --- a/lib/service/servicexine.cpp +++ b/lib/service/servicexine.cpp @@ -175,8 +175,8 @@ RESULT eServiceXine::start() if (m_state == stError) return -1; - assert(m_state == stIdle); - assert(stream); + ASSERT(m_state == stIdle); + ASSERT(stream); if (!xine_open(stream, m_filename.c_str())) { @@ -201,8 +201,8 @@ RESULT eServiceXine::stop() if (m_state == stError) return -1; - assert(m_state != stIdle); - assert(stream); + ASSERT(m_state != stIdle); + ASSERT(stream); if (m_state == stStopped) return -1; printf("Xine: %s stop\n", m_filename.c_str()); @@ -259,7 +259,7 @@ RESULT eServiceXine::getLength(pts_t &pts) pts = -1; if (m_state == stError) return 1; - assert(stream); + ASSERT(stream); int pos_stream, pos_time, length_time; @@ -293,7 +293,7 @@ RESULT eServiceXine::getPlayPosition(pts_t &pts) pts = -1; if (m_state == stError) return 1; - assert(stream); + ASSERT(stream); int pos_stream, pos_time, length_time; |
