From 0aaea7e611b97425d883ee15e16ce27a05a09b1d Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Wed, 27 Dec 2006 22:38:16 +0000 Subject: [PATCH] *** empty log message *** --- GNUmakefile | 3 +++ demuxer.cc | 1 + mtdmvp.cc | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index a4d8ad1..3ad83c0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -33,6 +33,9 @@ strip: install: rm -f /diskless/nfs/mvp/vompclient cp vompclient /diskless/nfs/mvp + rm -f /diskless/nfs/wmvp/vompclient + cp vompclient /diskless/nfs/wmvp + debug: ../../gdb/gdb-6.3-target-ppc/gdb/gdb /diskless/nfs/mvp/vompclient /diskless/nfs/mvp/core.* diff --git a/demuxer.cc b/demuxer.cc index a503387..87fe47e 100644 --- a/demuxer.cc +++ b/demuxer.cc @@ -218,6 +218,7 @@ int Demuxer::PESPacket::submit() dx->avail_mpaudchan[packetType-PESTYPE_AUD0]=true; + Log::getInstance()->log("PESPacket", Log::DEBUG, "%i", dx->audio_current); if (dx->audio_current == packetType && !dx->aud_seeking) sent = dx->audiostream.put(data+submitted, size-submitted); else diff --git a/mtdmvp.cc b/mtdmvp.cc index c801710..28a9432 100644 --- a/mtdmvp.cc +++ b/mtdmvp.cc @@ -37,14 +37,16 @@ int MtdMVP::init(char* device) int fd; - if ((fd = open(device, O_RDONLY)) < 0) + if ((fd = open("/dev/mtdblock1", O_RDONLY)) < 0) { + Log::getInstance()->log("MTD", Log::DEBUG, "Open fail"); initted = 0; return 0; } if (read(fd, data, 8192) < 8192) { + Log::getInstance()->log("MTD", Log::DEBUG, "Read fail"); initted = 0; return 0; } -- 2.39.5