Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
3ccd1495
Commit
3ccd1495
authored
May 28, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix some small potential crashes
parent
76fe19c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+7
-3
No files found.
modules/gui/macosx/intf.m
View file @
3ccd1495
...
@@ -797,13 +797,18 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
...
@@ -797,13 +797,18 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
if
(
p_intf
->
p_sys
->
b_current_title_update
)
if
(
p_intf
->
p_sys
->
b_current_title_update
)
{
{
NSString
*
o_temp
;
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
FIND_ANYWHERE
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
[
o_scrollfield
setStringValue
:
[
NSString
stringWithUTF8String
:
o_temp
=
[
NSString
stringWithUTF8String
:
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
input
.
psz_name
]];
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
input
.
psz_name
];
if
(
o_temp
==
NULL
)
o_temp
=
[
NSString
stringWithCString
:
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
input
.
psz_name
];
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
[
o_scrollfield
setStringValue
:
o_temp
];
if
(
p_vout
!=
NULL
)
if
(
p_vout
!=
NULL
)
{
{
...
@@ -820,7 +825,6 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
...
@@ -820,7 +825,6 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
vlc_object_release
(
(
vlc_object_t
*
)
p_vout
);
vlc_object_release
(
(
vlc_object_t
*
)
p_vout
);
}
}
[
o_playlist
updateRowSelection
];
[
o_playlist
updateRowSelection
];
// [o_info updateInfo];
p_intf
->
p_sys
->
b_current_title_update
=
FALSE
;
p_intf
->
p_sys
->
b_current_title_update
=
FALSE
;
}
}
...
...
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