Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
bcc064f2
Commit
bcc064f2
authored
Jan 31, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more providers using broken encoding for SDT/EIT (ts).
parent
e4980db2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
modules/demux/ts.c
modules/demux/ts.c
+16
-3
No files found.
modules/demux/ts.c
View file @
bcc064f2
...
...
@@ -2830,9 +2830,22 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
if
(
p_sdt
->
i_network_id
==
133
)
p_sys
->
b_broken_charset
=
true
;
/* SKY DE & BetaDigital use ISO8859-1 */
else
if
(
(
pD
->
i_service_provider_name_length
==
4
)
&&
!
strncmp
(
pD
->
i_service_provider_name
,
"CSAT"
,
4
)
)
p_sys
->
b_broken_charset
=
true
;
/* CanalSat FR uses ISO8859-1 */
/* List of providers using ISO8859-1 */
static
const
char
ppsz_broken_providers
[][
8
]
=
{
"CSAT"
,
/* CanalSat FR */
"GR1"
,
/* France televisions */
"MULTI4"
,
/* NT1 */
"MR5"
,
/* France 2/M6 HD */
""
};
for
(
int
i
=
0
;
*
ppsz_broken_providers
[
i
];
i
++
)
{
const
size_t
i_length
=
strlen
(
ppsz_broken_providers
[
i
]);
if
(
pD
->
i_service_provider_name_length
==
i_length
&&
!
strncmp
(
pD
->
i_service_provider_name
,
ppsz_broken_providers
[
i
],
i_length
)
)
p_sys
->
b_broken_charset
=
true
;
}
/* FIXME: Digital+ ES also uses ISO8859-1 */
...
...
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