summaryrefslogtreecommitdiffstats
path: root/stream/dvb_tune.h
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2014-03-27 03:17:31 +0900
committerwm4 <wm4@nowhere>2014-03-26 21:00:48 +0100
commit6c947c64a17c28eefe5179bd71ab077d6c2bbd0d (patch)
treebae614ded84131c4a9ec48e912c96d4f82002110 /stream/dvb_tune.h
parent4086a096955fd71876444d9f0e52b55952111478 (diff)
downloadmpv-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 'stream/dvb_tune.h')
0 files changed, 0 insertions, 0 deletions