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
3ecd0eb5
Commit
3ecd0eb5
authored
Feb 20, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notify: use make_path
parent
4cf6a1ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
modules/misc/notify/notify.c
modules/misc/notify/notify.c
+9
-3
No files found.
modules/misc/notify/notify.c
View file @
3ecd0eb5
...
...
@@ -209,11 +209,17 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
psz_arturl
=
input_item_GetArtURL
(
p_input_item
);
vlc_object_release
(
p_input
);
if
(
psz_arturl
&&
!
strncmp
(
psz_arturl
,
"file://"
,
7
)
&&
decode_URI
(
psz_arturl
+
7
)
)
if
(
psz_arturl
)
{
char
*
psz
=
make_path
(
psz_arturl
);
free
(
psz_arturl
);
psz
=
psz_arturl
;
}
if
(
psz_arturl
)
{
/* scale the art to show it in notify popup */
GError
*
p_error
=
NULL
;
pix
=
gdk_pixbuf_new_from_file_at_scale
(
&
psz_arturl
[
7
]
,
pix
=
gdk_pixbuf_new_from_file_at_scale
(
psz_arturl
,
72
,
72
,
TRUE
,
&
p_error
);
}
else
/* else we show state-of-the art logo */
...
...
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