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
ebda5354
Commit
ebda5354
authored
Apr 30, 2006
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fix
parent
460a7506
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
include/vlc_messages.h
include/vlc_messages.h
+4
-2
No files found.
include/vlc_messages.h
View file @
ebda5354
...
@@ -290,8 +290,9 @@ VLC_EXPORT( counter_t*, __stats_CounterGet, (vlc_object_t*, int, unsigned int )
...
@@ -290,8 +290,9 @@ VLC_EXPORT( counter_t*, __stats_CounterGet, (vlc_object_t*, int, unsigned int )
static
inline
int
__stats_GetInteger
(
vlc_object_t
*
p_obj
,
int
i_id
,
static
inline
int
__stats_GetInteger
(
vlc_object_t
*
p_obj
,
int
i_id
,
unsigned
int
i_counter
,
int
*
value
)
unsigned
int
i_counter
,
int
*
value
)
{
{
int
i_ret
;
vlc_value_t
val
;
val
.
i_int
=
0
;
vlc_value_t
val
;
val
.
i_int
=
0
;
i
nt
i
_ret
=
__stats_Get
(
p_obj
,
i_id
,
i_counter
,
&
val
);
i_ret
=
__stats_Get
(
p_obj
,
i_id
,
i_counter
,
&
val
);
*
value
=
val
.
i_int
;
*
value
=
val
.
i_int
;
return
i_ret
;
return
i_ret
;
}
}
...
@@ -300,8 +301,9 @@ static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id,
...
@@ -300,8 +301,9 @@ static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id,
static
inline
int
__stats_GetFloat
(
vlc_object_t
*
p_obj
,
int
i_id
,
static
inline
int
__stats_GetFloat
(
vlc_object_t
*
p_obj
,
int
i_id
,
unsigned
int
i_counter
,
float
*
value
)
unsigned
int
i_counter
,
float
*
value
)
{
{
int
i_ret
;
vlc_value_t
val
;
val
.
f_float
=
0
.
0
;
vlc_value_t
val
;
val
.
f_float
=
0
.
0
;
i
nt
i
_ret
=
__stats_Get
(
p_obj
,
i_id
,
i_counter
,
&
val
);
i_ret
=
__stats_Get
(
p_obj
,
i_id
,
i_counter
,
&
val
);
*
value
=
val
.
f_float
;
*
value
=
val
.
f_float
;
return
i_ret
;
return
i_ret
;
}
}
...
...
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