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
6064cdb5
Commit
6064cdb5
authored
Sep 27, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ts.c: print Stream Identifier descriptor information
parent
d650d36b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
modules/demux/ts.c
modules/demux/ts.c
+20
-4
No files found.
modules/demux/ts.c
View file @
6064cdb5
...
...
@@ -1065,6 +1065,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
double
f
,
*
pf
;
int64_t
i64
;
int64_t
*
pi64
;
int
i_int
;
if
(
p_sys
->
b_file_out
)
...
...
@@ -1116,6 +1117,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
*pi64 = 0;
return VLC_EGENERIC;
#else
case
DEMUX_GET_TIME
:
case
DEMUX_GET_LENGTH
:
pi64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi64
=
0
;
return
VLC_SUCCESS
;
#endif
case
DEMUX_SET_GROUP
:
{
...
...
@@ -2882,23 +2889,32 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
else
if
(
p_dr
->
i_tag
==
0x73
)
{
/* DTS audio descriptor (ETSI TS 101 154 Annex F) */
msg_Dbg
(
p_demux
,
" * DTS audio descriptor not decoded"
);
msg_Dbg
(
p_demux
,
"
* DTS audio descriptor not decoded"
);
pid
->
es
->
fmt
.
i_cat
=
AUDIO_ES
;
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
'd'
,
't'
,
's'
,
' '
);
}
else
if
(
p_dr
->
i_tag
==
0x45
)
{
msg_Dbg
(
p_demux
,
" * VBI Data descriptor"
);
msg_Dbg
(
p_demux
,
"
* VBI Data descriptor"
);
/* FIXME : store the information somewhere */
}
else
if
(
p_dr
->
i_tag
==
0x46
)
{
msg_Dbg
(
p_demux
,
" * VBI Teletext descriptor"
);
msg_Dbg
(
p_demux
,
"
* VBI Teletext descriptor"
);
/* FIXME : store the information somewhere */
}
#ifdef _DVBPSI_DR_52_H_
else
if
(
p_dr
->
i_tag
==
0x52
)
{
dvbpsi_stream_identifier_dr_t
*
si
;
si
=
dvbpsi_DecodeStreamIdentifierDr
(
p_dr
);
msg_Dbg
(
p_demux
,
" * Stream Component Identifier: %d"
,
si
->
i_component_tag
);
}
#endif
else
if
(
p_dr
->
i_tag
==
0x56
)
{
msg_Dbg
(
p_demux
,
" * EBU Teletext descriptor"
);
msg_Dbg
(
p_demux
,
"
* EBU Teletext descriptor"
);
pid
->
es
->
fmt
.
i_cat
=
SPU_ES
;
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
't'
,
'e'
,
'l'
,
'x'
);
pid
->
es
->
fmt
.
psz_description
=
strdup
(
"Teletext"
);
...
...
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