From 787946d10edc3d45f81cc6793215dfc9712901d3 Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 19 Sep 2006 07:58:00 +0000 Subject: POST tvtime control message needs larger buffers --- frontend.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend.c b/frontend.c index 6160af38..65fbb50f 100644 --- a/frontend.c +++ b/frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend.c,v 1.16 2006-09-06 17:57:45 phintuka Exp $ + * $Id: frontend.c,v 1.17 2006-09-19 07:58:00 phintuka Exp $ * */ @@ -442,7 +442,9 @@ bool cXinelibThread::LogoDisplay(void) extern const unsigned char v_mpg_vdrlogo[]; // vdrlogo_720x576.c extern const int v_mpg_vdrlogo_length; - +#ifdef STARTUP_IMAGE_FILE + // load or mmap ? +#endif bool r = Play_Mpeg2_ES(v_mpg_vdrlogo, v_mpg_vdrlogo_length, VIDEO_STREAM); for(int i=0; i<5 && !Flush(100); i++) ; @@ -482,7 +484,7 @@ int cXinelibThread::Xine_Control(const char *cmd, int64_t p1) int cXinelibThread::Xine_Control(const char *cmd, const char *p1) { - char buf[128]; + char buf[1024]; sprintf(buf, "%s %s", cmd, p1); return Xine_Control(buf); } @@ -540,7 +542,7 @@ int cXinelibThread::ConfigurePostprocessing(const char *deinterlace_method, int audio_surround, int speaker_type) { - char tmp[255]; + char tmp[1024]; int r = true; if(strcmp(deinterlace_method, "tvtime")) -- cgit v1.2.3