diff options
author | Ben Avison <bavison@riscosopen.org> | 2013-08-05 13:12:51 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-08-05 15:18:42 +0300 |
commit | c84ea750cf765c9d8845fca5546eb0ae25b9c855 (patch) | |
tree | 93d74323463bb0c5e998dbfd2b8945d770d8845b /configure | |
parent | cabb1681697555e2c319c37c1f30f149207e9434 (diff) | |
download | ffmpeg-streaming-c84ea750cf765c9d8845fca5546eb0ae25b9c855.zip ffmpeg-streaming-c84ea750cf765c9d8845fca5546eb0ae25b9c855.tar.gz |
mpegts: Make discard_pid() faster for single-program streams
When a stream contains a single program, there's no point in doing a
PID -> program lookup. Normally the one and only program isn't disabled,
so no packets should be discarded.
Before After
Mean StdDev Mean StdDev Change
discard_pid() 73.8 9.4 20.2 1.5 +264.8%
Overall 2300.8 28.0 2253.1 20.6 +2.1%
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions