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
4a3d46bd
Commit
4a3d46bd
authored
Jun 04, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Don't reset input meta information
* Improve notification layout
parent
a378f1a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
modules/misc/Modules.am
modules/misc/Modules.am
+1
-0
modules/misc/notify.c
modules/misc/notify.c
+2
-1
src/input/input.c
src/input/input.c
+2
-1
No files found.
modules/misc/Modules.am
View file @
4a3d46bd
...
@@ -12,3 +12,4 @@ SOURCES_gnutls = gnutls.c
...
@@ -12,3 +12,4 @@ SOURCES_gnutls = gnutls.c
SOURCES_svg = svg.c
SOURCES_svg = svg.c
SOURCES_msn = msn.c
SOURCES_msn = msn.c
SOURCES_growl = growl.c
SOURCES_growl = growl.c
SOURCES_notify = notify.c
modules/misc/notify.c
View file @
4a3d46bd
...
@@ -139,6 +139,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
...
@@ -139,6 +139,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_this
,
VLC_OBJECT_PLAYLIST
,
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_this
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
FIND_ANYWHERE
);
if
(
!
p_playlist
)
return
VLC_EGENERIC
;
if
(
!
p_playlist
)
return
VLC_EGENERIC
;
p_input
=
p_playlist
->
p_input
;
p_input
=
p_playlist
->
p_input
;
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
if
(
!
p_input
)
return
VLC_SUCCESS
;
if
(
!
p_input
)
return
VLC_SUCCESS
;
...
@@ -160,7 +161,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
...
@@ -160,7 +161,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
strdup
(
_
(
"no album"
)
);
strdup
(
_
(
"no album"
)
);
psz_title
=
strdup
(
p_input
->
input
.
p_item
->
psz_name
);
psz_title
=
strdup
(
p_input
->
input
.
p_item
->
psz_name
);
if
(
psz_title
==
NULL
)
psz_title
=
strdup
(
N_
(
"(no title)"
)
);
if
(
psz_title
==
NULL
)
psz_title
=
strdup
(
N_
(
"(no title)"
)
);
snprintf
(
psz_tmp
,
MAX_LENGTH
,
"
%s -
%s - %s"
,
snprintf
(
psz_tmp
,
MAX_LENGTH
,
"
<b>%s</b>
\n
%s - %s"
,
psz_title
,
psz_artist
,
psz_album
);
psz_title
,
psz_artist
,
psz_album
);
free
(
psz_title
);
free
(
psz_title
);
free
(
psz_artist
);
free
(
psz_artist
);
...
...
src/input/input.c
View file @
4a3d46bd
...
@@ -149,7 +149,8 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
...
@@ -149,7 +149,8 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
p_input
->
input
.
b_eof
=
VLC_FALSE
;
p_input
->
input
.
b_eof
=
VLC_FALSE
;
p_input
->
input
.
i_cr_average
=
0
;
p_input
->
input
.
i_cr_average
=
0
;
p_input
->
input
.
p_item
->
p_meta
=
vlc_meta_New
();
if
(
!
p_input
->
input
.
p_item
->
p_meta
)
p_input
->
input
.
p_item
->
p_meta
=
vlc_meta_New
();
stats_ReinitInputStats
(
p_item
->
p_stats
);
stats_ReinitInputStats
(
p_item
->
p_stats
);
/* No slave */
/* No slave */
...
...
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