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
fee1ca0c
Commit
fee1ca0c
authored
Jun 19, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
goom: simplify.
parent
a7ed7915
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
modules/visualization/goom.c
modules/visualization/goom.c
+5
-18
No files found.
modules/visualization/goom.c
View file @
fee1ca0c
...
@@ -406,24 +406,11 @@ static void Close( vlc_object_t *p_this )
...
@@ -406,24 +406,11 @@ static void Close( vlc_object_t *p_this )
static
char
*
TitleGet
(
vlc_object_t
*
p_this
)
static
char
*
TitleGet
(
vlc_object_t
*
p_this
)
{
{
input_thread_t
*
p_input
=
playlist_CurrentInput
(
pl_Get
(
p_this
)
);
input_thread_t
*
p_input
=
playlist_CurrentInput
(
pl_Get
(
p_this
)
);
if
(
!
p_input
)
if
(
p_input
)
return
NULL
;
char
*
psz_title
=
input_item_GetTitle
(
input_GetItem
(
p_input
)
);
if
(
EMPTY_STR
(
psz_title
)
)
{
{
free
(
psz_title
);
char
*
psz_title
=
input_item_GetTitleFbName
(
input_GetItem
(
p_input
)
);
char
*
psz_uri
=
input_item_GetURI
(
input_GetItem
(
p_input
)
);
const
char
*
psz
=
strrchr
(
psz_uri
,
'/'
);
if
(
psz
)
{
psz_title
=
strdup
(
psz
+
1
);
free
(
psz_uri
);
}
else
psz_title
=
psz_uri
;
}
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
return
psz_title
;
return
psz_title
;
}
return
NULL
;
}
}
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