Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
fea2b345
Commit
fea2b345
authored
Jul 24, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless pre render callback in ssa decoder.
parent
5cb92e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
modules/codec/libass.c
modules/codec/libass.c
+0
-21
No files found.
modules/codec/libass.c
View file @
fea2b345
...
...
@@ -67,7 +67,6 @@ vlc_module_end ()
*****************************************************************************/
static
subpicture_t
*
DecodeBlock
(
decoder_t
*
,
block_t
**
);
static
void
DestroySubpicture
(
subpicture_t
*
);
static
void
PreRender
(
spu_t
*
,
subpicture_t
*
,
const
video_format_t
*
);
static
void
UpdateRegions
(
spu_t
*
,
subpicture_t
*
,
const
video_format_t
*
,
mtime_t
);
...
...
@@ -98,9 +97,6 @@ struct decoder_sys_t
/* */
ass_track_t
*
p_track
;
/* */
subpicture_t
*
p_spu_final
;
};
static
void
DecSysRelease
(
decoder_sys_t
*
p_sys
);
static
void
DecSysHold
(
decoder_sys_t
*
p_sys
);
...
...
@@ -286,7 +282,6 @@ static subpicture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
}
vlc_mutex_unlock
(
&
libass_lock
);
p_spu
->
pf_pre_render
=
PreRender
;
p_spu
->
pf_update_regions
=
UpdateRegions
;
p_spu
->
pf_destroy
=
DestroySubpicture
;
p_spu
->
p_sys
->
p_dec_sys
=
p_sys
;
...
...
@@ -309,16 +304,6 @@ static void DestroySubpicture( subpicture_t *p_subpic )
free
(
p_subpic
->
p_sys
);
}
static
void
PreRender
(
spu_t
*
p_spu
,
subpicture_t
*
p_subpic
,
const
video_format_t
*
p_fmt
)
{
decoder_sys_t
*
p_dec_sys
=
p_subpic
->
p_sys
->
p_dec_sys
;
p_dec_sys
->
p_spu_final
=
p_subpic
;
VLC_UNUSED
(
p_fmt
);
VLC_UNUSED
(
p_spu
);
}
static
void
UpdateRegions
(
spu_t
*
p_spu
,
subpicture_t
*
p_subpic
,
const
video_format_t
*
p_fmt
,
mtime_t
i_ts
)
{
...
...
@@ -328,12 +313,6 @@ static void UpdateRegions( spu_t *p_spu, subpicture_t *p_subpic,
video_format_t
fmt
;
bool
b_fmt_changed
;
if
(
p_subpic
!=
p_sys
->
p_spu_final
)
{
SubpictureReleaseRegions
(
p_spu
,
p_subpic
);
return
;
}
vlc_mutex_lock
(
&
libass_lock
);
/* */
...
...
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