Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
56436811
Commit
56436811
authored
Oct 02, 2007
by
Rafaël Carré
Browse files
input: Removes useless "item-change" variable
parent
5adbff48
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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