mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 04:35:28 +00:00
#1138 All exported videos are the same file which may be broken
This commit is contained in:
@@ -1773,7 +1773,10 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
public static void populateVideoFrames(int streamId, Iterable<Tag> tags, HashMap<Integer, VideoFrameTag> output) {
|
||||
for (Tag t : tags) {
|
||||
if (t instanceof VideoFrameTag) {
|
||||
output.put(((VideoFrameTag) t).frameNum, (VideoFrameTag) t);
|
||||
VideoFrameTag videoFrameTag = (VideoFrameTag) t;
|
||||
if (videoFrameTag.streamID == streamId) {
|
||||
output.put(videoFrameTag.frameNum, (VideoFrameTag) t);
|
||||
}
|
||||
}
|
||||
if (t instanceof DefineSpriteTag) {
|
||||
populateVideoFrames(streamId, ((DefineSpriteTag) t).getTags(), output);
|
||||
|
||||
Reference in New Issue
Block a user