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
cb8d0ff8
Commit
cb8d0ff8
authored
Oct 31, 2004
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Logical fix: add packetizer in PackitizerOpen()
parent
ded94d78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/codec/spudec/spudec.c
modules/codec/spudec/spudec.c
+2
-1
No files found.
modules/codec/spudec/spudec.c
View file @
cb8d0ff8
...
...
@@ -82,7 +82,7 @@ static int DecoderOpen( vlc_object_t *p_this )
es_format_Init
(
&
p_dec
->
fmt_out
,
SPU_ES
,
VLC_FOURCC
(
's'
,
'p'
,
'u'
,
' '
)
);
p_dec
->
pf_decode_sub
=
Decode
;
p_dec
->
pf_packetize
=
Packetize
;
p_dec
->
pf_packetize
=
NULL
;
return
VLC_SUCCESS
;
}
...
...
@@ -101,6 +101,7 @@ static int PacketizerOpen( vlc_object_t *p_this )
{
return
VLC_EGENERIC
;
}
p_dec
->
pf_packetize
=
Packetize
;
p_dec
->
p_sys
->
b_packetizer
=
VLC_TRUE
;
es_format_Copy
(
&
p_dec
->
fmt_out
,
&
p_dec
->
fmt_in
);
p_dec
->
fmt_out
.
i_codec
=
VLC_FOURCC
(
's'
,
'p'
,
'u'
,
' '
);
...
...
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