mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
fix red led recording state
Origin commit data
------------------
Branch: master
Commit: 2f886cae89
Author: martii <m4rtii@gmx.de>
Date: 2012-11-03 (Sat, 03 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -406,8 +406,12 @@ void cRecord::RecordThread()
|
||||
|
||||
int cRecord::GetStatus()
|
||||
{
|
||||
#ifdef MARTII
|
||||
return (exit_flag == RECORD_STOPPED) ? REC_STATUS_STOPPED : REC_STATUS_OK;
|
||||
#else
|
||||
/* dummy for now */
|
||||
return REC_STATUS_OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
void cRecord::ResetStatus()
|
||||
|
@@ -7,6 +7,9 @@
|
||||
#define REC_STATUS_OK 0
|
||||
#define REC_STATUS_SLOW 1
|
||||
#define REC_STATUS_OVERFLOW 2
|
||||
#ifdef MARTII
|
||||
#define REC_STATUS_STOPPED 4
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
RECORD_RUNNING,
|
||||
|
Reference in New Issue
Block a user