Skip to content

Commit

Permalink
video: Fix broken folder titles in OSD settings
Browse files Browse the repository at this point in the history
Fixes #2930
  • Loading branch information
andoma committed Nov 30, 2015
1 parent 357865b commit 13f8059
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/video/video_playback.c
Expand Up @@ -769,8 +769,9 @@ video_player_idle(void *aux)
rstr_release(parent_title);

if(ep->parent_model != NULL) {
parent_title = prop_get_string(ep->parent_model,
"metadata", "title", NULL);
prop_t *x = prop_follow(ep->parent_model);
parent_title = prop_get_string(x, "metadata", "title", NULL);
prop_ref_dec(x);
} else {
parent_title = NULL;
}
Expand Down

0 comments on commit 13f8059

Please sign in to comment.