mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added cTimer::SetPriority() to set a timer's priority
This commit is contained in:
parent
f00372190d
commit
a9eed7bb7c
@ -1582,6 +1582,7 @@ Christof Steininger <christof.steininger@t-online.de>
|
|||||||
|
|
||||||
Kendy Kutzner <kutzner@ira.uka.de>
|
Kendy Kutzner <kutzner@ira.uka.de>
|
||||||
for making the version number of EPG events be stored in the epg.data file
|
for making the version number of EPG events be stored in the epg.data file
|
||||||
|
for suggesting to add cTimer::SetPriority() to set a timer's priority
|
||||||
|
|
||||||
Bob Withers <bwit@pobox.com>
|
Bob Withers <bwit@pobox.com>
|
||||||
for publishing a Base64 encoder at http://www.ruffboy.com/download.htm
|
for publishing a Base64 encoder at http://www.ruffboy.com/download.htm
|
||||||
|
1
HISTORY
1
HISTORY
@ -4071,3 +4071,4 @@ Video Disk Recorder Revision History
|
|||||||
Patrick Fischer).
|
Patrick Fischer).
|
||||||
- Fixed setting the main thread id if VDR is running as a daemon.
|
- Fixed setting the main thread id if VDR is running as a daemon.
|
||||||
- Fixed handling TS packets in cTS2PES (thanks to Reinhard Nissl).
|
- Fixed handling TS packets in cTS2PES (thanks to Reinhard Nissl).
|
||||||
|
- Added cTimer::SetPriority() to set a timer's priority (suggested by Kendy Kutzner).
|
||||||
|
7
timers.c
7
timers.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: timers.c 1.38 2006/01/01 15:41:46 kls Exp $
|
* $Id: timers.c 1.39 2006/01/03 11:45:19 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "timers.h"
|
#include "timers.h"
|
||||||
@ -462,6 +462,11 @@ void cTimer::SetInVpsMargin(bool InVpsMargin)
|
|||||||
inVpsMargin = InVpsMargin;
|
inVpsMargin = InVpsMargin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cTimer::SetPriority(int Priority)
|
||||||
|
{
|
||||||
|
priority = Priority;
|
||||||
|
}
|
||||||
|
|
||||||
void cTimer::SetFlags(int Flags)
|
void cTimer::SetFlags(int Flags)
|
||||||
{
|
{
|
||||||
flags |= Flags;
|
flags |= Flags;
|
||||||
|
3
timers.h
3
timers.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: timers.h 1.21 2006/01/01 15:41:26 kls Exp $
|
* $Id: timers.h 1.22 2006/01/03 11:45:26 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __TIMERS_H
|
#ifndef __TIMERS_H
|
||||||
@ -81,6 +81,7 @@ public:
|
|||||||
void SetRecording(bool Recording);
|
void SetRecording(bool Recording);
|
||||||
void SetPending(bool Pending);
|
void SetPending(bool Pending);
|
||||||
void SetInVpsMargin(bool InVpsMargin);
|
void SetInVpsMargin(bool InVpsMargin);
|
||||||
|
void SetPriority(int Priority);
|
||||||
void SetFlags(int Flags);
|
void SetFlags(int Flags);
|
||||||
void ClrFlags(int Flags);
|
void ClrFlags(int Flags);
|
||||||
void InvFlags(int Flags);
|
void InvFlags(int Flags);
|
||||||
|
Loading…
Reference in New Issue
Block a user