From 6cc182a3725d4ab338a1ebeedda91e39d25beb32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 7 Dec 2025 18:53:48 +0100 Subject: [PATCH] Fixed: PDF export - not rendering video stream frames --- CHANGELOG.md | 1 + .../com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc7a80bdf..cc8a96173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. - AS3 local registers type propagation - [#2566] Export bounds of sprites and buttons not containg filter offsets - [#2582] Font normalizer setting small texts when no assigned glyph found +- PDF export - not rendering video stream frames ### Changed - [#2575] dumpSWF CLI command only allows single SWF dump (no imports, etc.) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java index 27424aef7..691ad02f2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java @@ -404,7 +404,7 @@ public class DefineVideoStreamTag extends DrawableTag implements BoundedTag, Tim return; } //System.out.println("drawed"); - Graphics2D graphics = (Graphics2D) image.getBufferedImage().getGraphics(); + Graphics2D graphics = (Graphics2D) image.getGraphics(); AffineTransform at = transformation.toTransform(); at.preConcatenate(AffineTransform.getScaleInstance(1 / SWF.unitDivisor, 1 / SWF.unitDivisor)); graphics.setTransform(at);