mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed slow reaction on SVDRP input
This commit is contained in:
parent
302abb7cd1
commit
029dd8aa1c
@ -31,6 +31,7 @@ Guido Fiala <gfiala@s.netic.de>
|
|||||||
(overlay capabilities have been removed again in VDR 0.98, since kvdr version 0.4
|
(overlay capabilities have been removed again in VDR 0.98, since kvdr version 0.4
|
||||||
now does these things itself)
|
now does these things itself)
|
||||||
for making the replay progress display avoid unnecessary code execution
|
for making the replay progress display avoid unnecessary code execution
|
||||||
|
for reporting a problem with slow reaction on SVDRP input
|
||||||
|
|
||||||
Robert Schneider <Robert.Schneider@de.ibm.com>
|
Robert Schneider <Robert.Schneider@de.ibm.com>
|
||||||
for implementing EIT support for displaying the current/next info
|
for implementing EIT support for displaying the current/next info
|
||||||
|
1
HISTORY
1
HISTORY
@ -1626,3 +1626,4 @@ Video Disk Recorder Revision History
|
|||||||
'channels.conf' FILE!
|
'channels.conf' FILE!
|
||||||
- Timers now internally have a pointer to their channel (this is necessary to
|
- Timers now internally have a pointer to their channel (this is necessary to
|
||||||
handle gaps in channel numbers, and in preparation for unique channel ids).
|
handle gaps in channel numbers, and in preparation for unique channel ids).
|
||||||
|
- Fixed slow reaction on SVDRP input (thanks to Guido Fiala for reporting this one).
|
||||||
|
@ -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: interface.c 1.56 2002/09/30 15:32:10 kls Exp $
|
* $Id: interface.c 1.57 2002/10/20 12:45:35 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "interface.h"
|
#include "interface.h"
|
||||||
@ -58,7 +58,8 @@ eKeys cInterface::GetKey(bool Wait)
|
|||||||
{
|
{
|
||||||
Flush();
|
Flush();
|
||||||
if (SVDRP) {
|
if (SVDRP) {
|
||||||
SVDRP->Process();
|
if (SVDRP->Process())
|
||||||
|
Wait = false;
|
||||||
if (!open) {
|
if (!open) {
|
||||||
char *message = SVDRP->GetMessage();
|
char *message = SVDRP->GetMessage();
|
||||||
if (message) {
|
if (message) {
|
||||||
|
6
svdrp.c
6
svdrp.c
@ -10,7 +10,7 @@
|
|||||||
* and interact with the Video Disk Recorder - or write a full featured
|
* and interact with the Video Disk Recorder - or write a full featured
|
||||||
* graphical interface that sits on top of an SVDRP connection.
|
* graphical interface that sits on top of an SVDRP connection.
|
||||||
*
|
*
|
||||||
* $Id: svdrp.c 1.47 2002/10/20 10:24:20 kls Exp $
|
* $Id: svdrp.c 1.48 2002/10/20 12:45:03 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "svdrp.h"
|
#include "svdrp.h"
|
||||||
@ -1012,7 +1012,7 @@ void cSVDRP::Execute(char *Cmd)
|
|||||||
else Reply(500, "Command unrecognized: \"%s\"", Cmd);
|
else Reply(500, "Command unrecognized: \"%s\"", Cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cSVDRP::Process(void)
|
bool cSVDRP::Process(void)
|
||||||
{
|
{
|
||||||
bool NewConnection = !file.IsOpen();
|
bool NewConnection = !file.IsOpen();
|
||||||
bool SendGreeting = NewConnection;
|
bool SendGreeting = NewConnection;
|
||||||
@ -1073,7 +1073,9 @@ void cSVDRP::Process(void)
|
|||||||
isyslog("timeout on SVDRP connection");
|
isyslog("timeout on SVDRP connection");
|
||||||
Close(true);
|
Close(true);
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *cSVDRP::GetMessage(void)
|
char *cSVDRP::GetMessage(void)
|
||||||
|
4
svdrp.h
4
svdrp.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: svdrp.h 1.16 2002/08/25 10:35:25 kls Exp $
|
* $Id: svdrp.h 1.17 2002/10/20 12:44:42 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SVDRP_H
|
#ifndef __SVDRP_H
|
||||||
@ -79,7 +79,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
cSVDRP(int Port);
|
cSVDRP(int Port);
|
||||||
~cSVDRP();
|
~cSVDRP();
|
||||||
void Process(void);
|
bool Process(void);
|
||||||
char *GetMessage(void);
|
char *GetMessage(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user