diff options
author | Rasmus Steinke <rasi1979@googlemail.com> | 2009-08-24 22:14:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-08-24 22:14:22 +0200 |
commit | 408f723701526926a2eba3435a079f0a91b0df66 (patch) | |
tree | a620d9589b76afa870cad2889c9dd3e4fc8c0cf8 /src/output_command.h | |
parent | 9d42f4e0ed81969b4fcf1c20e60e867a2defe636 (diff) | |
download | mpd-408f723701526926a2eba3435a079f0a91b0df66.tar.gz mpd-408f723701526926a2eba3435a079f0a91b0df66.tar.xz mpd-408f723701526926a2eba3435a079f0a91b0df66.zip |
decoder/vorbis: faster tag scanning with ov_test_callback()
using ov_test_callback with function CALLBACKS_STREAMONLY will cause
scanning to stop after the comment field. ov_open (and ov_test)
default to CALLBACKS_DEFAULT which scans the file structure causing a
huge slowdown. The speed improvement is huge: It scanned my files
around 10x faster This procedure has been recommended by monthy (main
vorbis developer) and was said to be safe for scanning files.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions