summaryrefslogtreecommitdiffstats
path: root/k9decmpeg
diff options
context:
space:
mode:
Diffstat (limited to 'k9decmpeg')
-rw-r--r--k9decmpeg/k9decodethread.cpp4
-rw-r--r--k9decmpeg/k9plaympeg2.cpp2
-rw-r--r--k9decmpeg/kdecmpeg2.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/k9decmpeg/k9decodethread.cpp b/k9decmpeg/k9decodethread.cpp
index a7e5498..dcc6393 100644
--- a/k9decmpeg/k9decodethread.cpp
+++ b/k9decmpeg/k9decodethread.cpp
@@ -14,7 +14,7 @@
k9DecodeThread::k9DecodeThread()
{
m_decoder=new kDecMPEG2(this);
- noData=FALSE;
+ noData=false;
}
@@ -90,7 +90,7 @@ void k9DecodeThread::sleepms(int _ms) {
}
void k9DecodeThread::run() {
- noData=FALSE;
+ noData=false;
m_decoder->start();
while (1) {
int count=2048;
diff --git a/k9decmpeg/k9plaympeg2.cpp b/k9decmpeg/k9plaympeg2.cpp
index 91b5606..1f4c2dc 100644
--- a/k9decmpeg/k9plaympeg2.cpp
+++ b/k9decmpeg/k9plaympeg2.cpp
@@ -219,7 +219,7 @@ void k9PlayMPEG2::run() {
}
void k9PlayMPEG2::stop() {
- m_stopped=TRUE;
+ m_stopped=true;
m_decoder.setNoData();
m_decoder.clear();
diff --git a/k9decmpeg/kdecmpeg2.cpp b/k9decmpeg/kdecmpeg2.cpp
index 597e3de..f890484 100644
--- a/k9decmpeg/kdecmpeg2.cpp
+++ b/k9decmpeg/kdecmpeg2.cpp
@@ -31,7 +31,7 @@
void k9DisplayThread::setImage( TQImage _image) {
if (m_mutex.tryLock()) {
m_image=_image;
- m_raw=FALSE;
+ m_raw=false;
start();
}
}
@@ -43,7 +43,7 @@ void k9DisplayThread::setRawImage(uchar *_buffer,int _width,int _height,int size
m_size=size;
m_width=_width;
m_height=_height,
- m_raw=TRUE;
+ m_raw=true;
start();
}
@@ -72,7 +72,7 @@ void kDecMPEG2::init() {
exit (1);
}
m_display=new k9DisplayThread(this);
- m_useGL=FALSE;
+ m_useGL=false;
}