diff --git a/src/directrenderer.cpp b/src/directrenderer.cpp
index 7c77298a08feca5dc72cdee38d6e9b2df34f9ee4..5889783a1f327eb1a563afc0b5aa9395c4d1d675 100644
--- a/src/directrenderer.cpp
+++ b/src/directrenderer.cpp
@@ -3,7 +3,7 @@
  *  Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
  *  Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
  *  Author: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
- * 
+ *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
  *  License as published by the Free Software Foundation; either
@@ -68,6 +68,10 @@ public:
         // Important: Subscription to this signal MUST be synchronous(Qt::DirectConnection).
         Q_EMIT parent_->frameBufferRequested(frameBufferPtr->avframe.get());
 
+        if (frameBufferPtr->avframe->data[0] == nullptr) {
+            return nullptr;
+        }
+
         return std::move(frameBufferPtr);
     };