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
87323d5c
Commit
87323d5c
authored
Sep 25, 2009
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t140: fill in missing PTS/DTS information
parent
a1561802
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/codec/subtitles/t140.c
modules/codec/subtitles/t140.c
+4
-0
No files found.
modules/codec/subtitles/t140.c
View file @
87323d5c
...
@@ -101,5 +101,9 @@ static block_t *Encode( encoder_t *p_enc, subpicture_t *p_spu )
...
@@ -101,5 +101,9 @@ static block_t *Encode( encoder_t *p_enc, subpicture_t *p_spu )
p_block
=
block_New
(
p_enc
,
len
);
p_block
=
block_New
(
p_enc
,
len
);
memcpy
(
p_block
->
p_buffer
,
p_region
->
psz_text
,
len
);
memcpy
(
p_block
->
p_buffer
,
p_region
->
psz_text
,
len
);
p_block
->
i_pts
=
p_block
->
i_dts
=
p_spu
->
i_start
;
if
(
!
p_spu
->
b_ephemer
&&
(
p_spu
->
i_stop
>
p_spu
->
i_start
)
)
p_block
->
i_length
=
p_spu
->
i_stop
-
p_spu
->
i_start
;
return
p_block
;
return
p_block
;
}
}
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