Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.0 crash - due to stream being re-created by filter changes #11

Closed
BrainDamage opened this issue Jan 7, 2018 · 1 comment
Closed

Comments

@BrainDamage
Copy link

[mpv_thumbnail_script_client_osc] 
[mpv_thumbnail_script_client_osc] stack traceback:
[mpv_thumbnail_script_client_osc] 	[C]: in function 'max'
[mpv_thumbnail_script_client_osc] 	...nfig/mpv/scripts/mpv_thumbnail_script_client_osc.lua:853: in function 'on_thumb_progress'
[mpv_thumbnail_script_client_osc] 	...nfig/mpv/scripts/mpv_thumbnail_script_client_osc.lua:1046: in function 'handler'
[mpv_thumbnail_script_client_osc] 	mp.defaults:339: in function 'handler'
[mpv_thumbnail_script_client_osc] 	mp.defaults:458: in function 'call_event_handlers'
[mpv_thumbnail_script_client_osc] 	mp.defaults:495: in function 'dispatch_events'
[mpv_thumbnail_script_client_osc] 	mp.defaults:451: in function <mp.defaults:450>
[mpv_thumbnail_script_client_osc] 	[C]: ?
[mpv_thumbnail_script_client_osc] 	[C]: ?
[mpv_thumbnail_script_client_osc] Lua error: ...nfig/mpv/scripts/mpv_thumbnail_script_client_osc.lua:853: bad argument #1 to 'max' (number expected, got nil)

If it's any help, I was using a fuse virtual filesystem to hold the video that triggered the bug, the file was actually hosted remotely, perhaps the seek broke some assumptions?

@TheAMM TheAMM changed the title 0.4.0 crash 0.4.0 crash - due to stream being re-created by filter changes Jan 7, 2018
@TheAMM
Copy link
Owner

TheAMM commented Jan 7, 2018

For posterity, this happened because video-dec-params (which the script observes) changed due to the stream being re-opened by blur-edges.lua changing the filter chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants