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
60e59d2e
Commit
60e59d2e
authored
Aug 26, 2015
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mediacodec: init i_csd_sent in CSDDup
parent
dc7eb981
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/codec/omxil/mediacodec.c
modules/codec/omxil/mediacodec.c
+2
-3
No files found.
modules/codec/omxil/mediacodec.c
View file @
60e59d2e
...
...
@@ -210,6 +210,8 @@ static int CSDDup(decoder_t *p_dec, const struct csd *p_csd, size_t i_count)
memcpy
(
p_sys
->
pp_csd
[
i
]
->
p_buffer
,
p_csd
[
i
].
p_buf
,
p_csd
[
i
].
i_size
);
p_sys
->
i_csd_count
++
;
}
p_sys
->
i_csd_send
=
0
;
return
VLC_SUCCESS
;
}
...
...
@@ -276,7 +278,6 @@ static int H264SetCSD(decoder_t *p_dec, void *p_buf, size_t i_size,
*
p_size_changed
=
(
sps
.
i_width
!=
p_sys
->
u
.
video
.
i_width
||
sps
.
i_height
!=
p_sys
->
u
.
video
.
i_height
);
p_sys
->
i_csd_send
=
0
;
p_sys
->
u
.
video
.
i_width
=
sps
.
i_width
;
p_sys
->
u
.
video
.
i_height
=
sps
.
i_height
;
return
VLC_SUCCESS
;
...
...
@@ -355,8 +356,6 @@ static int StartMediaCodec(decoder_t *p_dec)
csd
.
i_size
=
p_dec
->
fmt_in
.
i_extra
;
CSDDup
(
p_dec
,
&
csd
,
1
);
}
p_sys
->
i_csd_send
=
0
;
}
if
(
p_dec
->
fmt_in
.
i_cat
==
VIDEO_ES
)
...
...
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