Fixed: #2550 FLV video import - incorrect frame position caused by wrong FLV tag sort

This commit is contained in:
Jindra Petřík
2025-11-09 18:53:07 +01:00
parent 68075ea9c5
commit 3e2656e6fd
3 changed files with 6 additions and 4 deletions
@@ -5446,7 +5446,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
File selfile = Helper.fixDialogFile(selectedFile);
try {
new MovieImporter().importMovie(movie, Helper.readFile(selfile.getAbsolutePath()));
refreshTree();
refreshTree(movie.getSwf());
} catch (IOException ex) {
logger.log(Level.SEVERE, "Invalid movie", ex);
ViewMessages.showMessageDialog(MainPanel.this, translate("error.movie.invalid") + ": " + ex.getMessage(), translate("error"), JOptionPane.ERROR_MESSAGE);