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
48efd637
Commit
48efd637
authored
Nov 04, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix the psz_description of telx and vbi streams
parent
42135f8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/demux/ts.c
modules/demux/ts.c
+6
-3
No files found.
modules/demux/ts.c
View file @
48efd637
...
@@ -2233,6 +2233,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
...
@@ -2233,6 +2233,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
msg_Dbg
(
p_demux
,
" * VBI Data descriptor"
);
msg_Dbg
(
p_demux
,
" * VBI Data descriptor"
);
pid
->
es
->
fmt
.
i_cat
=
SPU_ES
;
pid
->
es
->
fmt
.
i_cat
=
SPU_ES
;
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
'v'
,
'b'
,
'i'
,
'd'
);
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
'v'
,
'b'
,
'i'
,
'd'
);
pid
->
es
->
fmt
.
psz_description
=
strdup
(
"VBI Data"
);
pid
->
es
->
fmt
.
i_extra
=
p_dr
->
i_length
;
pid
->
es
->
fmt
.
i_extra
=
p_dr
->
i_length
;
pid
->
es
->
fmt
.
p_extra
=
malloc
(
p_dr
->
i_length
);
pid
->
es
->
fmt
.
p_extra
=
malloc
(
p_dr
->
i_length
);
memcpy
(
pid
->
es
->
fmt
.
p_extra
,
p_dr
->
p_data
,
memcpy
(
pid
->
es
->
fmt
.
p_extra
,
p_dr
->
p_data
,
...
@@ -2243,6 +2244,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
...
@@ -2243,6 +2244,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
msg_Dbg
(
p_demux
,
" * VBI Teletext descriptor"
);
msg_Dbg
(
p_demux
,
" * VBI Teletext descriptor"
);
pid
->
es
->
fmt
.
i_cat
=
SPU_ES
;
pid
->
es
->
fmt
.
i_cat
=
SPU_ES
;
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
'v'
,
'b'
,
'i'
,
't'
);
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
'v'
,
'b'
,
'i'
,
't'
);
pid
->
es
->
fmt
.
psz_description
=
strdup
(
"VBI Teletext"
);
pid
->
es
->
fmt
.
i_extra
=
p_dr
->
i_length
;
pid
->
es
->
fmt
.
i_extra
=
p_dr
->
i_length
;
pid
->
es
->
fmt
.
p_extra
=
malloc
(
p_dr
->
i_length
);
pid
->
es
->
fmt
.
p_extra
=
malloc
(
p_dr
->
i_length
);
memcpy
(
pid
->
es
->
fmt
.
p_extra
,
p_dr
->
p_data
,
memcpy
(
pid
->
es
->
fmt
.
p_extra
,
p_dr
->
p_data
,
...
@@ -2253,6 +2255,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
...
@@ -2253,6 +2255,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
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_cat
=
SPU_ES
;
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
't'
,
'e'
,
'l'
,
'x'
);
pid
->
es
->
fmt
.
i_codec
=
VLC_FOURCC
(
't'
,
'e'
,
'l'
,
'x'
);
pid
->
es
->
fmt
.
psz_description
=
strdup
(
"Teletext"
);
pid
->
es
->
fmt
.
i_extra
=
p_dr
->
i_length
;
pid
->
es
->
fmt
.
i_extra
=
p_dr
->
i_length
;
pid
->
es
->
fmt
.
p_extra
=
malloc
(
p_dr
->
i_length
);
pid
->
es
->
fmt
.
p_extra
=
malloc
(
p_dr
->
i_length
);
memcpy
(
pid
->
es
->
fmt
.
p_extra
,
p_dr
->
p_data
,
memcpy
(
pid
->
es
->
fmt
.
p_extra
,
p_dr
->
p_data
,
...
...
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