Added DefineVideoStream codecId handled as enum of codecs in raw editation

This commit is contained in:
Jindra Petřík
2022-12-07 19:40:01 +01:00
parent 4e504627cf
commit 8ef3f4b5f0
2 changed files with 6 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ import com.jpexs.decompiler.flash.types.ColorTransform;
import com.jpexs.decompiler.flash.types.MATRIX;
import com.jpexs.decompiler.flash.types.RECT;
import com.jpexs.decompiler.flash.types.SOUNDINFO;
import com.jpexs.decompiler.flash.types.annotations.EnumValue;
import com.jpexs.decompiler.flash.types.annotations.Internal;
import com.jpexs.decompiler.flash.types.annotations.Reserved;
import com.jpexs.decompiler.flash.types.annotations.SWFType;
@@ -100,6 +101,10 @@ public class DefineVideoStreamTag extends DrawableTag implements BoundedTag, Tim
public boolean videoFlagsSmoothing;
@SWFType(BasicType.UI8)
@EnumValue(value = DefineVideoStreamTag.CODEC_SORENSON_H263, text = "Sorenson H.263")
@EnumValue(value = DefineVideoStreamTag.CODEC_SCREEN_VIDEO, text = "Screen video")
@EnumValue(value = DefineVideoStreamTag.CODEC_VP6, text = "VP6")
@EnumValue(value = DefineVideoStreamTag.CODEC_VP6_ALPHA, text = "VP6 video with alpha channel")
public int codecID;
@Internal