mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix Memory leak in BlackBorderProcessor
This commit is contained in:
@@ -24,7 +24,7 @@ namespace hyperion
|
||||
Q_OBJECT
|
||||
public:
|
||||
BlackBorderProcessor(Hyperion* hyperion, QObject* parent);
|
||||
~BlackBorderProcessor() override;
|
||||
|
||||
///
|
||||
/// Return the current (detected) border
|
||||
/// @return The current border
|
||||
@@ -141,7 +141,7 @@ namespace hyperion
|
||||
QString _detectionMode;
|
||||
|
||||
/// The black-border detector
|
||||
BlackBorderDetector* _detector;
|
||||
std::unique_ptr<BlackBorderDetector> _detector;
|
||||
|
||||
/// The current detected border
|
||||
BlackBorder _currentBorder;
|
||||
|
Reference in New Issue
Block a user