Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
cb8d0ff8
Commit
cb8d0ff8
authored
Oct 31, 2004
by
Jean-Paul Saman
Browse files
Logical fix: add packetizer in PackitizerOpen()
parent
ded94d78
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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