Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
3cd34263
Commit
3cd34263
authored
Mar 14, 2013
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/buffersrc: set channel layout if it is known.
Introduced in
01649c79
, lost in the API change.
parent
9f95e355
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
buffersrc.c
libavfilter/buffersrc.c
+3
-0
No files found.
libavfilter/buffersrc.c
View file @
3cd34263
...
...
@@ -134,6 +134,9 @@ static int attribute_align_arg av_buffersrc_add_frame_internal(AVFilterContext *
frame
->
format
);
break
;
case
AVMEDIA_TYPE_AUDIO
:
/* For layouts unknown on input but known on link after negotiation. */
if
(
!
frame
->
channel_layout
)
frame
->
channel_layout
=
s
->
channel_layout
;
CHECK_AUDIO_PARAM_CHANGE
(
ctx
,
s
,
frame
->
sample_rate
,
frame
->
channel_layout
,
frame
->
format
);
break
;
...
...
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