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
f6dba4e6
Commit
f6dba4e6
authored
Jun 04, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for old revision of SCT20 closed caption.
parent
3bc7c39c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/codec/cc.h
modules/codec/cc.h
+3
-1
No files found.
modules/codec/cc.h
View file @
f6dba4e6
...
@@ -86,6 +86,7 @@ static inline void cc_Extract( cc_data_t *c, const uint8_t *p_src, int i_src )
...
@@ -86,6 +86,7 @@ static inline void cc_Extract( cc_data_t *c, const uint8_t *p_src, int i_src )
static
const
uint8_t
p_cc_replaytv5a
[
2
]
=
{
0x99
,
0x02
};
static
const
uint8_t
p_cc_replaytv5a
[
2
]
=
{
0x99
,
0x02
};
static
const
uint8_t
p_cc_replaytv5b
[
2
]
=
{
0xaa
,
0x02
};
static
const
uint8_t
p_cc_replaytv5b
[
2
]
=
{
0xaa
,
0x02
};
static
const
uint8_t
p_cc_scte20
[
2
]
=
{
0x03
,
0x81
};
static
const
uint8_t
p_cc_scte20
[
2
]
=
{
0x03
,
0x81
};
static
const
uint8_t
p_cc_scte20_old
[
2
]
=
{
0x03
,
0x01
};
//static const uint8_t p_afd_start[4] = { 0x44, 0x54, 0x47, 0x31 };
//static const uint8_t p_afd_start[4] = { 0x44, 0x54, 0x47, 0x31 };
if
(
i_src
<
4
)
if
(
i_src
<
4
)
...
@@ -190,7 +191,8 @@ static inline void cc_Extract( cc_data_t *c, const uint8_t *p_src, int i_src )
...
@@ -190,7 +191,8 @@ static inline void cc_Extract( cc_data_t *c, const uint8_t *p_src, int i_src )
}
}
c
->
b_reorder
=
false
;
c
->
b_reorder
=
false
;
}
}
else
if
(
!
memcmp
(
p_cc_scte20
,
p_src
,
2
)
&&
i_src
>
2
)
else
if
(
(
!
memcmp
(
p_cc_scte20
,
p_src
,
2
)
||
!
memcmp
(
p_cc_scte20_old
,
p_src
,
2
)
)
&&
i_src
>
2
)
{
{
/* SCTE-20 CC */
/* SCTE-20 CC */
bs_t
s
;
bs_t
s
;
...
...
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