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
212c3918
Commit
212c3918
authored
Sep 29, 2011
by
Martin Storsjö
Committed by
Jean-Baptiste Kempf
Sep 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omxil: Avoid warnings about unused parameters in the IOMX C++ file
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
acae658c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/codec/omxil/iomx.cpp
modules/codec/omxil/iomx.cpp
+4
-4
No files found.
modules/codec/omxil/iomx.cpp
View file @
212c3918
...
@@ -68,7 +68,7 @@ public:
...
@@ -68,7 +68,7 @@ public:
node
=
n
;
node
=
n
;
}
}
void
onMessage
(
const
omx_message
&
msg
);
void
onMessage
(
const
omx_message
&
msg
);
void
registerBuffers
(
const
sp
<
IMemoryHeap
>
&
mem
)
{
void
registerBuffers
(
const
sp
<
IMemoryHeap
>
&
)
{
}
}
private:
private:
OMXNode
*
node
;
OMXNode
*
node
;
...
@@ -157,7 +157,7 @@ static int get_param_size(OMX_INDEXTYPE param_index)
...
@@ -157,7 +157,7 @@ static int get_param_size(OMX_INDEXTYPE param_index)
}
}
}
}
static
OMX_ERRORTYPE
iomx_send_command
(
OMX_HANDLETYPE
component
,
OMX_COMMANDTYPE
command
,
OMX_U32
param1
,
OMX_PTR
cmd_data
)
static
OMX_ERRORTYPE
iomx_send_command
(
OMX_HANDLETYPE
component
,
OMX_COMMANDTYPE
command
,
OMX_U32
param1
,
OMX_PTR
)
{
{
OMXNode
*
node
=
(
OMXNode
*
)
((
OMX_COMPONENTTYPE
*
)
component
)
->
pComponentPrivate
;
OMXNode
*
node
=
(
OMXNode
*
)
((
OMX_COMPONENTTYPE
*
)
component
)
->
pComponentPrivate
;
return
get_error
(
ctx
->
iomx
->
sendCommand
(
node
->
node
,
command
,
param1
));
return
get_error
(
ctx
->
iomx
->
sendCommand
(
node
->
node
,
command
,
param1
));
...
@@ -368,7 +368,7 @@ static OMX_ERRORTYPE iomx_get_roles_of_component(OMX_STRING component_name, OMX_
...
@@ -368,7 +368,7 @@ static OMX_ERRORTYPE iomx_get_roles_of_component(OMX_STRING component_name, OMX_
return
OMX_ErrorInvalidComponentName
;
return
OMX_ErrorInvalidComponentName
;
}
}
void
*
iomx_dlopen
(
const
char
*
name
)
void
*
iomx_dlopen
(
const
char
*
)
{
{
if
(
!
ctx
)
if
(
!
ctx
)
ctx
=
new
IOMXContext
();
ctx
=
new
IOMXContext
();
...
@@ -386,7 +386,7 @@ void iomx_dlclose(void *handle)
...
@@ -386,7 +386,7 @@ void iomx_dlclose(void *handle)
}
}
}
}
void
*
iomx_dlsym
(
void
*
handle
,
const
char
*
name
)
void
*
iomx_dlsym
(
void
*
,
const
char
*
name
)
{
{
if
(
!
strcmp
(
name
,
"OMX_Init"
))
if
(
!
strcmp
(
name
,
"OMX_Init"
))
return
(
void
*
)
iomx_init
;
return
(
void
*
)
iomx_init
;
...
...
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