Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4cf6a1ba
Commit
4cf6a1ba
authored
Feb 20, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
growl: use make_path()
parent
3e112f94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
modules/misc/notify/growl.m
modules/misc/notify/growl.m
+8
-3
No files found.
modules/misc/notify/growl.m
View file @
4cf6a1ba
...
@@ -210,10 +210,15 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
...
@@ -210,10 +210,15 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
}
}
char *psz_arturl = input_item_GetArtURL( p_item );
char *psz_arturl = input_item_GetArtURL( p_item );
if( psz_arturl )
{
char *psz = make_path( psz_arturl );
free( psz_arturl );
psz_arturl = psz;
}
CFDataRef art = NULL;
CFDataRef art = NULL;
if( psz_arturl
&&
!strncmp( psz_arturl, "file://", 7 )
&&
if( psz_arturl )
decode_URI( psz_arturl + 7 ) )
art = (CFDataRef) readFile( psz_arturl );
art = (CFDataRef) readFile( psz_arturl + 7 );
free( psz_title );
free( psz_title );
free( psz_artist );
free( psz_artist );
...
...
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