Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4448f16e
Commit
4448f16e
authored
Jun 14, 2016
by
Aman Gupta
Committed by
Michael Niedermayer
Jun 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/ccaption_dec: implement tab offset commands
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
0a72b698
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ccaption_dec.c
libavcodec/ccaption_dec.c
+5
-0
No files found.
libavcodec/ccaption_dec.c
View file @
4448f16e
...
...
@@ -713,6 +713,11 @@ static void process_cc608(CCaptionSubContext *ctx, int64_t pts, uint8_t hi, uint
/* Standard characters (always in pairs) */
handle_char
(
ctx
,
hi
,
lo
,
pts
);
ctx
->
prev_cmd
[
0
]
=
ctx
->
prev_cmd
[
1
]
=
0
;
}
else
if
(
hi
==
0x17
&&
lo
>=
0x21
&&
lo
<=
0x23
)
{
/* Tab offsets (spacing) */
for
(
int
i
=
0
;
i
<
lo
-
0x20
;
i
++
)
{
handle_char
(
ctx
,
' '
,
0
,
pts
);
}
}
else
{
/* Ignoring all other non data code */
ff_dlog
(
ctx
,
"Unknown command 0x%hhx 0x%hhx
\n
"
,
hi
,
lo
);
...
...
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