X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpython%2Ftags.c;h=29272430a7535eeb91ec18cb95b523c848ff1168;hb=5d23cf0d32a9e907fc641db4a2f3946f0645ed3a;hp=a64618042b8bbf524f712259fc78123285e34ceb;hpb=9ad02f173cca3f7c0d51f641d0d668219a561e7d;p=swftools.git diff --git a/lib/python/tags.c b/lib/python/tags.c index a646180..2927243 100644 --- a/lib/python/tags.c +++ b/lib/python/tags.c @@ -426,7 +426,7 @@ static int text_fillTAG(tag_internals_t*self) text_internal_t*ti = (text_internal_t*)self->data; self->tag= swf_InsertTag(0, ST_DEFINETEXT2); swf_SetU16(self->tag, /*ID*/0); - ti->bbox = swf_SetDefineText(self->tag, ti->swffont, &ti->rgba, ti->text, ti->size, 0); + ti->bbox = swf_SetDefineText(self->tag, ti->swffont, &ti->rgba, ti->text, ti->size); return 1; } static PyObject* text_getattr(tag_internals_t*self,char*a) @@ -721,8 +721,7 @@ static PyObject* videostream_addFrame(PyObject*self, PyObject*args, PyObject*kwa if(!pic) return 0; - -{ int f,j=0,i=0,rr,gg,bb; +/*{ int f,j=0,i=0,rr,gg,bb; FILE *o; RGBA*it = pic; char*filename="test.ppm"; @@ -739,7 +738,7 @@ static PyObject* videostream_addFrame(PyObject*self, PyObject*args, PyObject*kwa j++; } fclose(o); -} +}*/ TAG* t = swf_InsertTag(0, ST_VIDEOFRAME); if((type && (type[0]=='I' || type[0]=='i')) || (type==0 && fi->lastiframe+64 < fi->stream->frame)) {