summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2017-02-09 21:33:51 +0100
committerwm4 <nfxjfg@googlemail.com>2017-03-03 08:45:43 +0100
commit736f4af4fea44d15c5d08558d3fe6f1a0fc98173 (patch)
tree04cad80f5ff590e5c37423aa8b9ab3f2dfb6e329 /ffmpeg.c
parent76e13bdeaabc7ec49322b3a118dc4805153e0401 (diff)
ffmpeg_cuvid: adapt for recent filter graph initialization changes
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 275894dbf5..6e57524558 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3546,19 +3546,6 @@ static int transcode_init(void)
input_streams[j + ifile->ist_index]->start = av_gettime_relative();
}
- /* hwaccel transcoding */
- for (i = 0; i < nb_output_streams; i++) {
- ost = output_streams[i];
-
- if (!ost->stream_copy) {
-
-#if CONFIG_CUVID
- if (cuvid_transcode_init(ost))
- exit_program(1);
-#endif
- }
- }
-
/* init input streams */
for (i = 0; i < nb_input_streams; i++)
if ((ret = init_input_stream(i, error, sizeof(error))) < 0) {