vsview-fftspectrum 0.2.2.post1__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: vsview-fftspectrum
3
- Version: 0.2.2.post1
3
+ Version: 0.2.3
4
4
  Summary: A vsview plugin displaying the Fast Fourier transform spectrum of a video clip
5
5
  Project-URL: Documentation, https://jaded-encoding-thaumaturgy.github.io/vs-view/plugins/second-party/#fft-spectrum
6
6
  Project-URL: Source Code, https://github.com/Jaded-Encoding-Thaumaturgy/vs-view/tree/main/src/plugins/fftspectrum
@@ -1,6 +1,7 @@
1
1
  from typing import Annotated, Any, Literal, override
2
2
 
3
3
  from pydantic import BaseModel
4
+ from PySide6.QtCore import Slot
4
5
  from PySide6.QtWidgets import QHBoxLayout, QWidget
5
6
  from vapoursynth import VideoNode
6
7
  from vstools import ColorRange, DitherType, depth, initialize_input, join, split, stack_planes
@@ -77,6 +78,7 @@ class FFTSpectrumPlugin(WidgetPluginBase[GlobalSettings]):
77
78
 
78
79
  self.api.globalSettingsChanged.connect(self.on_settings_changed)
79
80
 
81
+ @Slot()
80
82
  def on_settings_changed(self) -> None:
81
83
  self.view.set_autofit(self.settings.global_.autofit)
82
84
  self.view.refresh()