diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-20 13:13:09 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-11 07:32:37 +0200 |
commit | 3fd62c6e247468d792ce8f1d3c458017d1ea9eb5 (patch) | |
tree | 711c7e99727124e3ce247deb1b2e7954b43f9429 /libavformat/rtsp.c | |
parent | 2b95602e93226bd269676b0edcda5322b5be8444 (diff) | |
download | ffmpeg-3fd62c6e247468d792ce8f1d3c458017d1ea9eb5.tar.gz |
ffmpeg: call pre_process_video_frame() only if decoding is needed
In output_packet(), move the pre_process_video_frame() call inside the
if (ist->decoding_needed) { } block. This way
pre_process_video_frame() is not called when stream-copy has been
selected.
Also simplify.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/rtsp.c')
0 files changed, 0 insertions, 0 deletions