mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
Fixed (I hope) little bug wich lead to sig11 after last playtree entry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4769 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9680e72621
commit
641c8325bc
@ -472,7 +472,7 @@ play_tree_iter_step(play_tree_iter_t* iter, int d,int with_nodes) {
|
||||
}
|
||||
|
||||
if(iter->config && iter->entry_pushed > 0) {
|
||||
iter->entry_pushed--;
|
||||
iter->entry_pushed=1;
|
||||
m_config_pop(iter->config);
|
||||
}
|
||||
|
||||
@ -534,7 +534,7 @@ play_tree_iter_step(play_tree_iter_t* iter, int d,int with_nodes) {
|
||||
|
||||
if(iter->config) {
|
||||
play_tree_iter_push_params(iter);
|
||||
iter->entry_pushed++;
|
||||
iter->entry_pushed=0;
|
||||
}
|
||||
|
||||
return PLAY_TREE_ITER_ENTRY;
|
||||
|
Loading…
Reference in New Issue
Block a user