fix: always enabled cache triggering uncached ranges (#385)

This commit is contained in:
christoph-heinrich
2022-12-06 23:18:36 +01:00
committed by GitHub
parent 8b863a611f
commit 4ef8ff55bb

View File

@@ -645,7 +645,7 @@ mp.observe_property('osd-dimensions', 'native', function(name, val)
request_render()
end)
mp.observe_property('display-hidpi-scale', 'native', create_state_setter('hidpi_scale', update_display_dimensions))
mp.observe_property('cache', 'native', create_state_setter('cache'))
mp.observe_property('cache', 'string', create_state_setter('cache'))
mp.observe_property('cache-buffering-state', 'number', create_state_setter('cache_buffering'))
mp.observe_property('demuxer-via-network', 'native', create_state_setter('is_stream', function()
Elements:trigger('dispositions')