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

Mark Thompson git at videolan.org
Sun Mar 26 23:31:40 EEST 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Wed Mar 22 21:19:11 2017 +0000| [a94972b2b2e6b0370b69c664cacf4397c8bf33e9] | committer: Mark Thompson

ffmpeg: Remove hw_device_ctx output filter reinit hack

This was skipped in c17563c5d3c974a69709ebae0171534763b3051c because
it depended on the filter setup merge, but was forgotten after that
actually happened.

Fixes hwaccel fate for stream size change tests.

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

 ffmpeg_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index 5cc640d..219e473 100644
--- a/ffmpeg_filter.c
+++ b/ffmpeg_filter.c
@@ -460,7 +460,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;
         AVDictionaryEntry *e = NULL;



More information about the ffmpeg-cvslog mailing list