summaryrefslogtreecommitdiffstats
path: root/ffmpeg_filter.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-03-22 21:19:11 +0000
committerMark Thompson <sw@jkqxz.net>2017-03-26 20:38:44 +0100
commita94972b2b2e6b0370b69c664cacf4397c8bf33e9 (patch)
tree4a304a00b3db60ad118e58864aa0dfca923e77cf /ffmpeg_filter.c
parenteaf6f10f1b5c26cf5264654b48f8114ff949cbad (diff)
downloadffmpeg-streaming-a94972b2b2e6b0370b69c664cacf4397c8bf33e9.zip
ffmpeg-streaming-a94972b2b2e6b0370b69c664cacf4397c8bf33e9.tar.gz
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.
Diffstat (limited to 'ffmpeg_filter.c')
-rw-r--r--ffmpeg_filter.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud