aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/x11grab.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-20 13:13:09 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-21 12:08:42 +0200
commit7046b63e69a5a49a8f575d89d8f0fc6680975382 (patch)
treebb778ef57992f7c69995987de0cd454bb6b5386b /libavdevice/x11grab.c
parent6d6351483fe94b7ae4938717b477014f42500145 (diff)
downloadffmpeg-7046b63e69a5a49a8f575d89d8f0fc6680975382.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>
Diffstat (limited to 'libavdevice/x11grab.c')
0 files changed, 0 insertions, 0 deletions