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
aebbc1e7
Commit
aebbc1e7
authored
Jul 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Fix currently playing input item retrieving.
parent
caf61885
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+12
-15
No files found.
modules/gui/macosx/intf.m
View file @
aebbc1e7
...
@@ -1296,22 +1296,19 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -1296,22 +1296,19 @@ static VLCMain *_o_sharedMainInstance = nil;
if
(
p_intf
->
p_sys
->
b_current_title_update
)
if
(
p_intf
->
p_sys
->
b_current_title_update
)
{
{
NSString
*
o_temp
;
NSString
*
aString
;
input_item_t
*
p_item
=
input_GetItem
(
p_input
);
char
*
name
=
input_item_GetNowPlaying
(
p_item
);
if
(
p_playlist
->
status
.
p_item
==
NULL
)
if
(
!
name
)
{
name
=
input_item_GetName
(
p_item
);
vlc_object_release
(
p_input
);
pl_Release
(
p_intf
);
aString
=
[
NSString
stringWithUTF8String
:
name
];
goto
end
;
}
free
(
name
);
if
(
input_item_GetNowPlaying
(
p_playlist
->
status
.
p_item
->
p_input
)
)
o_temp
=
[
NSString
stringWithUTF8String
:
[
self
setScrollField
:
aString
stopAfter
:
-
1
];
input_item_GetNowPlaying
(
p_playlist
->
status
.
p_item
->
p_input
)];
[[[
self
getControls
]
getFSPanel
]
setStreamTitle
:
aString
];
else
o_temp
=
[
NSString
stringWithUTF8String
:
p_playlist
->
status
.
p_item
->
p_input
->
psz_name
];
[
self
setScrollField
:
o_temp
stopAfter
:
-
1
];
[[[
self
getControls
]
getFSPanel
]
setStreamTitle
:
o_temp
];
[[
o_controls
getVoutView
]
updateTitle
];
[[
o_controls
getVoutView
]
updateTitle
];
...
...
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