[libav-commits] avconv: Remove hw_device_ctx output filter reinit hack

Mark Thompson git at libav.org
Sun Jun 26 21:06:44 CEST 2016


Module: libav
Branch: master
Commit: bd31c61cf94d01dbe1051cf65874e7b2c0ac5454

Author:    Mark Thompson <sw at jkqxz.net>
Committer: Mark Thompson <sw at jkqxz.net>
Date:      Thu Jun 23 01:40:04 2016 +0100

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 9c983c0..f7ce76f 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;
 



More information about the libav-commits mailing list