Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
56436811
Commit
56436811
authored
Oct 02, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Removes useless "item-change" variable
parent
5adbff48
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
modules/codec/vorbis.c
modules/codec/vorbis.c
+2
-2
src/input/input.c
src/input/input.c
+1
-1
src/input/var.c
src/input/var.c
+0
-3
No files found.
modules/codec/vorbis.c
View file @
56436811
...
...
@@ -31,6 +31,7 @@
#include <vlc_codec.h>
#include <vlc_aout.h>
#include <vlc_input.h>
#include <vlc_playlist.h>
#include <vlc_sout.h>
#include <ogg/ogg.h>
...
...
@@ -725,8 +726,7 @@ static void ParseVorbisComments( decoder_t *p_dec )
r
->
pf_peak
[
AUDIO_REPLAY_GAIN_ALBUM
]
=
atof
(
psz_value
);
}
}
/* FIXME */
var_SetInteger
(
p_input
,
"item-change"
,
p_item
->
i_id
);
var_SetInteger
(
pl_Get
(
p_input
),
"item-change"
,
p_item
->
i_id
);
free
(
psz_comment
);
i
++
;
}
...
...
src/input/input.c
View file @
56436811
...
...
@@ -2008,7 +2008,7 @@ static int UpdateFromAccess( input_thread_t *p_input )
vlc_meta_t
*
p_meta
=
vlc_meta_New
();
access2_Control
(
p_input
->
p
->
input
.
p_access
,
ACCESS_GET_META
,
p_meta
);
InputUpdateMeta
(
p_input
,
p_meta
);
var_Set
Bool
(
p_input
,
"item-change"
,
p_input
->
p
->
input
.
p_item
->
i_id
);
var_Set
Integer
(
pl_Get
(
p_input
)
,
"item-change"
,
p_input
->
p
->
input
.
p_item
->
i_id
);
p_access
->
info
.
i_update
&=
~
INPUT_UPDATE_META
;
}
...
...
src/input/var.c
View file @
56436811
...
...
@@ -193,9 +193,6 @@ void input_ControlVarInit ( input_thread_t *p_input )
* TODO list all changes warn by this callbacks */
var_Create
(
p_input
,
"intf-change"
,
VLC_VAR_BOOL
);
var_SetBool
(
p_input
,
"intf-change"
,
VLC_TRUE
);
/* item-change variable */
var_Create
(
p_input
,
"item-change"
,
VLC_VAR_INTEGER
);
}
#undef ADD_CALLBACK
}
...
...
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