Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
30d70e79
Commit
30d70e79
authored
Dec 11, 2013
by
Tim Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dcadec: set AV_FRAME_DATA_MATRIXENCODING side data.
parent
6bfdb2de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
dcadec.c
libavcodec/dcadec.c
+9
-0
No files found.
libavcodec/dcadec.c
View file @
30d70e79
...
...
@@ -2001,6 +2001,15 @@ FF_ENABLE_DEPRECATION_WARNINGS
for
(
i
=
0
;
i
<
2
*
s
->
lfe
*
4
;
i
++
)
s
->
lfe_data
[
i
]
=
s
->
lfe_data
[
i
+
lfe_samples
];
/* AVMatrixEncoding
*
* DCA_STEREO_TOTAL (Lt/Rt) is equivalent to Dolby Surround */
ret
=
ff_side_data_update_matrix_encoding
(
frame
,
(
s
->
output
&
~
DCA_LFE
)
==
DCA_STEREO_TOTAL
?
AV_MATRIX_ENCODING_DOLBY
:
AV_MATRIX_ENCODING_NONE
);
if
(
ret
<
0
)
return
ret
;
*
got_frame_ptr
=
1
;
return
buf_size
;
...
...
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