Skip to content
Snippets Groups Projects
Commit e9fd51b0 authored by Janne Grunau's avatar Janne Grunau Committed by Michael Niedermayer
Browse files

h264: check SPS entries directly to detect pixel format changes


Comparing AVCodecContext.pix_fmt against the get_pixel_format() return
value has the side effect of calling the get_format() callback on each
slice. Users of the callback will probably handle hardware accelerator
initialization in the callback.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 341e40f1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment