From bd31c61cf94d01dbe1051cf65874e7b2c0ac5454 Mon Sep 17 00:00:00 2001
From: Mark Thompson <sw@jkqxz.net>
Date: Thu, 23 Jun 2016 01:40:04 +0100
Subject: [PATCH] avconv: Remove hw_device_ctx output filter reinit hack

Not needed any more because we no longer have any useful case which
will reinitialise with hardware frames here.
---
 avconv_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/avconv_filter.c b/avconv_filter.c
index 9c983c0e2b3..f7ce76ff694 100644
--- a/avconv_filter.c
+++ b/avconv_filter.c
@@ -317,7 +317,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
     if (ret < 0)
         return ret;
 
-    if (!hw_device_ctx && (ofilter->width || ofilter->height)) {
+    if (ofilter->width || ofilter->height) {
         char args[255];
         AVFilterContext *filter;
 
-- 
GitLab