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
bf153c4e
Commit
bf153c4e
authored
Feb 08, 2016
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vpx: rename Open/Close
This will avoid ambiguity when adding encoder functions.
parent
f9141ac7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/codec/vpx.c
modules/codec/vpx.c
+7
-7
No files found.
modules/codec/vpx.c
View file @
bf153c4e
...
...
@@ -37,8 +37,8 @@
/****************************************************************************
* Local prototypes
****************************************************************************/
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
static
int
Open
Decoder
(
vlc_object_t
*
);
static
void
Close
Decoder
(
vlc_object_t
*
);
/*****************************************************************************
* Module descriptor
...
...
@@ -48,7 +48,7 @@ vlc_module_begin ()
set_shortname
(
"vpx"
)
set_description
(
N_
(
"WebM video decoder"
))
set_capability
(
"decoder"
,
60
)
set_callbacks
(
Open
,
Close
)
set_callbacks
(
Open
Decoder
,
CloseDecoder
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_VCODEC
)
vlc_module_end
()
...
...
@@ -152,9 +152,9 @@ static picture_t *Decode(decoder_t *dec, block_t **pp_block)
}
/*****************************************************************************
* Open: probe the decoder
* Open
Decoder
: probe the decoder
*****************************************************************************/
static
int
Open
(
vlc_object_t
*
p_this
)
static
int
Open
Decoder
(
vlc_object_t
*
p_this
)
{
decoder_t
*
dec
=
(
decoder_t
*
)
p_this
;
const
struct
vpx_codec_iface
*
iface
;
...
...
@@ -208,9 +208,9 @@ static int Open(vlc_object_t *p_this)
}
/*****************************************************************************
* Close: decoder destruction
* Close
Decoder
: decoder destruction
*****************************************************************************/
static
void
Close
(
vlc_object_t
*
p_this
)
static
void
Close
Decoder
(
vlc_object_t
*
p_this
)
{
decoder_t
*
dec
=
(
decoder_t
*
)
p_this
;
decoder_sys_t
*
sys
=
dec
->
p_sys
;
...
...
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