From 4a6f01dfb2e1babf8b2c24e5961190009fdd2f0a Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 22 Sep 2009 00:56:01 +0200 Subject: wirte region informations/color and contrast change informations --- spuencoder.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spuencoder.c b/spuencoder.c index 71ba6c0..18749f9 100644 --- a/spuencoder.c +++ b/spuencoder.c @@ -292,6 +292,11 @@ void cSpuEncoder::generateSpuData(bool topAndBottom) throw (char const* ) // write color-> palette index and alpha data for the first region writeColorAndAlpha(regions.front()->sections[0], true); + // write informations for other regions + if (regions.size() > 1) { + writeRegionInformation(); + } + // 0xff: end sequence spu[written++] = 0xff; if (!(written & 1)) { -- cgit v1.2.3