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

@@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
- DebugId tag proper display and editation
- [#1564], [#1676], [#1697], [#1893] Display of DefineVideoStream tags with VLC player
- List of treenode subitems on otherwise empty panel (with 32x32 icons)
- DefineVideoStream codecId handled as enum of codecs in raw editation
### Fixed
- [#1897] Close menu button without selecting specific item

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