Skip to content

Commit dfacda2

Browse files
authored
Version 5.12.2 (#672)
* Fixing #671 Switching to the NVEncC AV1 encoder will break FastFlix (thanks to Krawk) * Fixing error switching between copy and other encoders will break FastFlix
1 parent 3f5cc51 commit dfacda2

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## Version 5.12.2
4+
5+
* Fixing #671 Switching to the NVEncC AV1 encoder will break FastFlix (thanks to Krawk)
6+
* Fixing error switching between copy and other encoders will break FastFlix
7+
38
## Version 5.12.1
49

510
* Fixing #654 Failed to import attachment due to bad mime type gathering (thanks to larsk2)

fastflix/encoders/nvencc_av1/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@
9595
"wmav1",
9696
"wmav2",
9797
]
98+
99+
from fastflix.encoders.nvencc_av1.command_builder import build # noqa: F401,E402
100+
from fastflix.encoders.nvencc_av1.settings_panel import NVENCC as settings_panel # noqa: F401,E402

fastflix/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
__version__ = "5.12.1"
3+
__version__ = "5.12.2"
44
__author__ = "Chris Griffith"

fastflix/widgets/panels/audio_panel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ def disable_all(self):
324324
track.widgets.enable_check.setChecked(False)
325325

326326
def new_source(self, codecs):
327+
if not self.app.fastflix.current_video:
328+
return
327329
clear_list(self.tracks, close=True)
328330
self.app.fastflix.current_video.audio_tracks = []
329331
self.tracks: list[Audio] = []

0 commit comments

Comments
 (0)