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
9b5404a6
Commit
9b5404a6
authored
Jul 24, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use VLC_VAR_CLASS when applicable.
parent
bf8d85d7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+3
-3
modules/misc/lua/libs/variables.c
modules/misc/lua/libs/variables.c
+2
-2
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
9b5404a6
...
@@ -426,7 +426,7 @@ void ExtVideo::setWidgetValue( QObject *widget )
...
@@ -426,7 +426,7 @@ void ExtVideo::setWidgetValue( QObject *widget )
"Module instance %s not found, looking in config values.",
"Module instance %s not found, looking in config values.",
qtu( module ) );
qtu( module ) );
#endif
#endif
i_type
=
config_GetType
(
p_intf
,
qtu
(
option
)
)
&
0xf0
;
i_type
=
config_GetType
(
p_intf
,
qtu
(
option
)
)
&
VLC_VAR_CLASS
;
switch
(
i_type
)
switch
(
i_type
)
{
{
case
VLC_VAR_INTEGER
:
case
VLC_VAR_INTEGER
:
...
@@ -443,7 +443,7 @@ void ExtVideo::setWidgetValue( QObject *widget )
...
@@ -443,7 +443,7 @@ void ExtVideo::setWidgetValue( QObject *widget )
}
}
else
else
{
{
i_type
=
var_Type
(
p_obj
,
qtu
(
option
)
)
&
0xf0
;
i_type
=
var_Type
(
p_obj
,
qtu
(
option
)
)
&
VLC_VAR_CLASS
;
var_Get
(
p_obj
,
qtu
(
option
),
&
val
);
var_Get
(
p_obj
,
qtu
(
option
),
&
val
);
vlc_object_release
(
p_obj
);
vlc_object_release
(
p_obj
);
}
}
...
@@ -540,7 +540,7 @@ void ExtVideo::updateFilterOptions()
...
@@ -540,7 +540,7 @@ void ExtVideo::updateFilterOptions()
QLineEdit
*
lineedit
=
qobject_cast
<
QLineEdit
*>
(
sender
()
);
QLineEdit
*
lineedit
=
qobject_cast
<
QLineEdit
*>
(
sender
()
);
QComboBox
*
combobox
=
qobject_cast
<
QComboBox
*>
(
sender
()
);
QComboBox
*
combobox
=
qobject_cast
<
QComboBox
*>
(
sender
()
);
i_type
&=
0xf0
;
i_type
&=
VLC_VAR_CLASS
;
if
(
i_type
==
VLC_VAR_INTEGER
||
i_type
==
VLC_VAR_BOOL
)
if
(
i_type
==
VLC_VAR_INTEGER
||
i_type
==
VLC_VAR_BOOL
)
{
{
int
i_int
=
0
;
int
i_int
=
0
;
...
...
modules/misc/lua/libs/variables.c
View file @
9b5404a6
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
*****************************************************************************/
*****************************************************************************/
int
vlclua_pushvalue
(
lua_State
*
L
,
int
i_type
,
vlc_value_t
val
)
int
vlclua_pushvalue
(
lua_State
*
L
,
int
i_type
,
vlc_value_t
val
)
{
{
switch
(
i_type
&=
0xf0
)
switch
(
i_type
&=
VLC_VAR_CLASS
)
{
{
case
VLC_VAR_VOID
:
case
VLC_VAR_VOID
:
vlclua_error
(
L
);
vlclua_error
(
L
);
...
@@ -98,7 +98,7 @@ int vlclua_pushvalue( lua_State *L, int i_type, vlc_value_t val )
...
@@ -98,7 +98,7 @@ int vlclua_pushvalue( lua_State *L, int i_type, vlc_value_t val )
static
int
vlclua_tovalue
(
lua_State
*
L
,
int
i_type
,
vlc_value_t
*
val
)
static
int
vlclua_tovalue
(
lua_State
*
L
,
int
i_type
,
vlc_value_t
*
val
)
{
{
switch
(
i_type
&
0xf0
)
switch
(
i_type
&
VLC_VAR_CLASS
)
{
{
case
VLC_VAR_VOID
:
case
VLC_VAR_VOID
:
break
;
break
;
...
...
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