diff options
author | Janne Grunau <janne-libav@jannau.net> | 2013-01-02 02:28:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-02 02:28:57 +0100 |
commit | e9fd51b0d6dc65bdfcd702531c400ae9ee50a67d (patch) | |
tree | 9c9374a0911e6d2dfc546910011733e6d53356db /libavformat/astdec.c | |
parent | 341e40f1e1eeba1a2952c26363630596193e887b (diff) | |
download | ffmpeg-e9fd51b0d6dc65bdfcd702531c400ae9ee50a67d.tar.gz |
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: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/astdec.c')
0 files changed, 0 insertions, 0 deletions