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
cde22b4f
Commit
cde22b4f
authored
Oct 15, 2006
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gets title for goom visualization from meta information if available
parent
5f95753f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
modules/visualization/goom.c
modules/visualization/goom.c
+17
-9
No files found.
modules/visualization/goom.c
View file @
cde22b4f
...
...
@@ -413,19 +413,27 @@ static char *TitleGet( vlc_object_t *p_this )
if
(
p_input
)
{
char
*
psz
=
strrchr
(
p_input
->
input
.
p_item
->
psz_uri
,
'/'
);
if
(
psz
)
if
(
p_input
->
input
.
p_item
->
p_meta
->
psz_title
&&
*
p_input
->
input
.
p_item
->
p_meta
->
psz_title
)
{
psz
++
;
psz
_title
=
strdup
(
p_input
->
input
.
p_item
->
p_meta
->
psz_title
)
;
}
else
{
psz
=
p_input
->
input
.
p_item
->
psz_uri
;
}
if
(
psz
&&
*
psz
)
{
psz_title
=
strdup
(
psz
);
char
*
psz
=
strrchr
(
p_input
->
input
.
p_item
->
psz_uri
,
'/'
);
if
(
psz
)
{
psz
++
;
}
else
{
psz
=
p_input
->
input
.
p_item
->
psz_uri
;
}
if
(
psz
&&
*
psz
)
{
psz_title
=
strdup
(
psz
);
}
}
vlc_object_release
(
p_input
);
}
...
...
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