[FFmpeg-cvslog] avconv: Remove hw_device_ctx output filter reinit hack

Mark Thompson git at videolan.org
Sun Nov 13 18:38:12 EET 2016


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Thu Jun 23 01:40:04 2016 +0100| [bd31c61cf94d01dbe1051cf65874e7b2c0ac5454] | committer: Mark Thompson

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd31c61cf94d01dbe1051cf65874e7b2c0ac5454
---

 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 ffmpeg-cvslog mailing list