Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a02a027f
Commit
a02a027f
authored
Sep 21, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/spudec/spudec.c: packetizer needs to duplicate the input es_format_t.
parent
1d545957
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
modules/codec/spudec/parse.c
modules/codec/spudec/parse.c
+4
-2
modules/codec/spudec/spudec.c
modules/codec/spudec/spudec.c
+2
-0
No files found.
modules/codec/spudec/parse.c
View file @
a02a027f
...
...
@@ -90,8 +90,10 @@ subpicture_t * E_(ParsePacket)( decoder_t *p_dec )
/* Get display time now. If we do it later, we may miss the PTS. */
p_spu_data
->
i_pts
=
p_sys
->
i_pts
;
p_spu
->
i_original_picture_width
=
p_dec
->
fmt_in
.
subs
.
spu
.
i_original_frame_width
;
p_spu
->
i_original_picture_height
=
p_dec
->
fmt_in
.
subs
.
spu
.
i_original_frame_height
;
p_spu
->
i_original_picture_width
=
p_dec
->
fmt_in
.
subs
.
spu
.
i_original_frame_width
;
p_spu
->
i_original_picture_height
=
p_dec
->
fmt_in
.
subs
.
spu
.
i_original_frame_height
;
/* Getting the control part */
if
(
ParseControlSeq
(
p_dec
,
p_spu
,
p_spu_data
)
)
...
...
modules/codec/spudec/spudec.c
View file @
a02a027f
...
...
@@ -102,6 +102,8 @@ static int PacketizerOpen( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
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'
,
' '
);
return
VLC_SUCCESS
;
}
...
...
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