diff options
author | Philip Langdale <philipl@overt.org> | 2016-11-23 12:10:32 -0800 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2016-11-23 13:23:34 -0800 |
commit | dd10e7253abf280c603941613a4cc27ca347b76d (patch) | |
tree | ccb2144b5d687b523457c8ec8bb994b6acf58f88 /libavutil/integer.c | |
parent | b96a6e2024fa2b52d6a2473a7cf16ee20a8ab5c8 (diff) | |
download | ffmpeg-dd10e7253abf280c603941613a4cc27ca347b76d.tar.gz |
avcodec/cuvid: Restore initialization of pixel format in init()
I moved this into the handle_video_sequence callback because that's
the earliest time you can make an accurate decision as to what the
format should be.
However, transcoding requires that the decision between using
the accelerated PIX_FMT_CUDA vs a normal pix format happen at init()
time. There is enough information available to make that decision
and things work out with the underlying format only being discovered
in the sequence callback.
Diffstat (limited to 'libavutil/integer.c')
0 files changed, 0 insertions, 0 deletions