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
bf328243
Commit
bf328243
authored
Jul 20, 2010
by
Blake Livingston
Committed by
Laurent Aimar
Jul 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setting b_subtitle on subpictures during transcode, and applying correct timing.
Signed-off-by:
Laurent Aimar
<
fenrir@videolan.org
>
parent
bdb9f0c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
modules/stream_out/transcode/spu.c
modules/stream_out/transcode/spu.c
+3
-1
modules/stream_out/transcode/video.c
modules/stream_out/transcode/video.c
+1
-2
No files found.
modules/stream_out/transcode/spu.c
View file @
bf328243
...
...
@@ -38,7 +38,9 @@ static subpicture_t *spu_new_buffer( decoder_t *p_dec,
const
subpicture_updater_t
*
p_upd
)
{
VLC_UNUSED
(
p_dec
);
return
subpicture_New
(
p_upd
);
subpicture_t
*
p_subpicture
=
subpicture_New
(
p_upd
);
p_subpicture
->
b_subtitle
=
true
;
return
p_subpicture
;
}
static
void
spu_del_buffer
(
decoder_t
*
p_dec
,
subpicture_t
*
p_subpic
)
...
...
modules/stream_out/transcode/video.c
View file @
bf328243
...
...
@@ -716,9 +716,8 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
else
fmt
=
id
->
p_decoder
->
fmt_out
.
video
;
/* FIXME the mdate() seems highly suspicious */
spu_RenderSubpictures
(
p_sys
->
p_spu
,
p_pic
,
&
fmt
,
p_subpic
,
&
id
->
p_decoder
->
fmt_out
.
video
,
mdate
()
);
p_subpic
,
&
id
->
p_decoder
->
fmt_out
.
video
,
p_pic
->
date
);
}
/* Run user specified filter chain */
...
...
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