From 5fe9314b74bd4cbf2fc54bf051d24f6095fcce9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lepin?= Date: Fri, 30 Aug 2019 13:41:50 +0200 Subject: [PATCH] WSEvents: remove unused transitionIsCut helper --- src/WSEvents.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/WSEvents.cpp b/src/WSEvents.cpp index 32b4ecce..1638d8c1 100644 --- a/src/WSEvents.cpp +++ b/src/WSEvents.cpp @@ -29,17 +29,6 @@ #define STATUS_INTERVAL 2000 -bool transitionIsCut(obs_source_t* transition) { - if (!transition) - return false; - - if (obs_source_get_type(transition) == OBS_SOURCE_TYPE_TRANSITION - && QString(obs_source_get_id(transition)) == "cut_transition") { - return true; - } - return false; -} - const char* nsToTimestamp(uint64_t ns) { uint64_t ms = ns / (1000 * 1000); uint64_t secs = ms / 1000;