diff options
author | xylosper <darklin20@gmail.com> | 2014-03-27 03:17:31 +0900 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-26 21:00:48 +0100 |
commit | 6c947c64a17c28eefe5179bd71ab077d6c2bbd0d (patch) | |
tree | bae614ded84131c4a9ec48e912c96d4f82002110 /player/playloop.c | |
parent | 4086a096955fd71876444d9f0e52b55952111478 (diff) | |
download | mpv-6c947c64a17c28eefe5179bd71ab077d6c2bbd0d.tar.bz2 mpv-6c947c64a17c28eefe5179bd71ab077d6c2bbd0d.tar.xz |
stream_bluray: cache current playback informations
The cost of calling bd_get_title_info() is quite expensive and
requires lots of CPU usage. Using BD_EVENT_PLAYLIST and
BD_EVENT_TITLE, it's possible to cache BLURAY_TITLE_INFO object for
current title and BD_EVENT_ANGLE handler caches current angle. In
my test case, with this commit, CPU usage can be saved about 15-20%.
Diffstat (limited to 'player/playloop.c')
0 files changed, 0 insertions, 0 deletions