From: Frank M. Kromann Date: Tue, 7 Sep 2004 19:40:18 +0000 (+0000) Subject: Make it possible to return VideoStream and PrebuiltClip X-Git-Tag: PRE_NEW_VM_GEN_PATCH~365 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa25757136e60dba00dd63c4d840654bc95d0c6e;p=php Make it possible to return VideoStream and PrebuiltClip --- diff --git a/ext/ming/ming.c b/ext/ming/ming.c index 4481d46e87..ca3a7d4272 100644 --- a/ext/ming/ming.c +++ b/ext/ming/ming.c @@ -238,6 +238,10 @@ static SWFCharacter getCharacter(zval *id TSRMLS_DC) return (SWFCharacter)getBitmap(id TSRMLS_CC); else if(Z_OBJCE_P(id) == sound_class_entry_ptr) return (SWFCharacter)getSound(id TSRMLS_CC); + else if(Z_OBJCE_P(id) == videostream_class_entry_ptr) + return (SWFCharacter)getVideoStream(id TSRMLS_CC); + else if(Z_OBJCE_P(id) == prebuiltclip_class_entry_ptr) + return (SWFCharacter)getPrebuiltClip(id TSRMLS_CC); /* else if(Z_OBJCE_P(id) == soundinstance_class_entry_ptr) return (SWFCharacter)getSoundInstance(id TSRMLS_CC);