Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ccc3bc5e
Commit
ccc3bc5e
authored
Sep 08, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS demux: cleanup some of the dvb and telx track descriptions.
Few people will likely care about the AR of their subs.
parent
1fc9c9a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
33 deletions
+15
-33
modules/demux/ts.c
modules/demux/ts.c
+15
-33
No files found.
modules/demux/ts.c
View file @
ccc3bc5e
...
...
@@ -189,9 +189,9 @@ static const char *const ppsz_teletext_type[] = {
""
,
N_
(
"Teletext"
),
N_
(
"Teletext subtitles"
),
N_
(
"Teletext additional information"
),
N_
(
"Teletext program schedule"
),
N_
(
"Teletext
hearing impaired subtitles
"
)
N_
(
"Teletext
:
additional information"
),
N_
(
"Teletext
:
program schedule"
),
N_
(
"Teletext
subtitles: hearing impaired
"
)
};
typedef
struct
...
...
@@ -3475,7 +3475,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
#endif
/* defined _DVBPSI_DR_56_H_ && DVBPSI_VERSION(0,1,6) */
{
pid
->
es
->
fmt
.
subs
.
dvb
.
i_id
=
-
1
;
pid
->
es
->
fmt
.
psz_description
=
strdup
(
"Teletext"
);
pid
->
es
->
fmt
.
psz_description
=
strdup
(
_
(
ppsz_teletext_type
[
1
])
);
}
}
else
if
(
p_dr
->
i_tag
==
0x59
)
...
...
@@ -3540,37 +3540,19 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
switch
(
p_sub
->
i_subtitling_type
)
{
case
0x10
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"subtitles"
));
break
;
case
0x11
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"4:3 subtitles"
));
break
;
case
0x12
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"16:9 subtitles"
));
break
;
case
0x13
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"2.21:1 subtitles"
));
break
;
case
0x20
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"hearing impaired"
));
break
;
case
0x21
:
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"4:3 hearing impaired"
));
break
;
case
0x22
:
case
0x10
:
/* unspec. */
case
0x11
:
/* 4:3 */
case
0x12
:
/* 16:9 */
case
0x13
:
/* 2.21:1 */
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"
16:9 hearing impaired
"
));
strdup
(
_
(
"
DVB subtitles
"
));
break
;
case
0x23
:
case
0x20
:
/* Hearing impaired unspec. */
case
0x21
:
/* h.i. 4:3 */
case
0x22
:
/* h.i. 16:9 */
case
0x23
:
/* h.i. 2.21:1 */
p_es
->
fmt
.
psz_description
=
strdup
(
_
(
"
2.21:1
hearing impaired"
));
strdup
(
_
(
"
DVB subtitles:
hearing impaired"
));
break
;
default:
break
;
...
...
@@ -3592,7 +3574,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
#endif
/* _DVBPSI_DR_59_H_ */
{
pid
->
es
->
fmt
.
subs
.
dvb
.
i_id
=
-
1
;
pid
->
es
->
fmt
.
psz_description
=
strdup
(
"DVB subtitles"
);
pid
->
es
->
fmt
.
psz_description
=
strdup
(
_
(
"DVB subtitles"
)
);
}
}
}
...
...
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