Closed ftasso closed 4 months ago
The FFmpeg init is now preformed in the loader code (\native...).
The dll is no longer built.
The project must define FFMPEG=true in the config file.
See jfphone.cfg
Oracle is planning to deprecate the System.loadLibrary() function so I decided to move the dll native code directly into the launcher code.
Hello Peter, ok, I got it. I will study your new launcher code!
Thank you, Fabrizio
np
Hello, comparing the constructors of PhoneApp.java v 1.2.5 and v 1.2.7
private PhoneApp() { if (!BasePhone.lockFile()) { JFAWT.showError("Error", "Another instance of jfPhone is already running!"); System.exit(0); } MediaCoder.init(); panel = new PhonePanel(this, false); addWindowListener(this); setResizable(false); setContentPane(panel); pack(); setTitle("jfPhone/" + PhonePanel.version); JFImage icon = new JFImage(); icon.loadPNG(this.getClass().getClassLoader().getResourceAsStream("jfphone.png")); setIconImage(icon.getImage()); setPosition(); }
private PhoneApp() { if (!BasePhone.lockFile()) { JFAWT.showError("Error", "Another instance of jfPhone is already running!"); System.exit(0); } panel = new PhonePanel(this, false); addWindowListener(this); setResizable(false); setContentPane(panel); pack(); setTitle("jfPhone/" + PhonePanel.version); JFImage icon = new JFImage(); icon.loadPNG(this.getClass().getClassLoader().getResourceAsStream("jfphone.png")); setIconImage(icon.getImage()); setPosition(); }
the call "MediaCoder.init()" is no more present.
So, the dll files are no more used?
Thank you, Fabrizio