Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
1afd117f
Commit
1afd117f
authored
Nov 16, 2016
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macOS notification: fix crash on first item
parent
066d30b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/notify/osx_notifications.m
modules/notify/osx_notifications.m
+2
-1
No files found.
modules/notify/osx_notifications.m
View file @
1afd117f
...
...
@@ -206,7 +206,8 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
input_item_t
*
p_item
=
input_GetItem
(
p_input
);
if
(
p_sys
->
current_item
!=
p_item
)
{
input_item_Release
(
p_sys
->
current_item
);
if
(
p_sys
->
current_item
!=
NULL
)
input_item_Release
(
p_sys
->
current_item
);
p_sys
->
current_item
=
input_item_Hold
(
p_item
);
p_sys
->
i_item_changes
=
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment