Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
5661c871
Commit
5661c871
authored
Oct 31, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/src_movie: support unknown channel layouts
parent
95386b7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src_movie.c
libavfilter/src_movie.c
+2
-2
No files found.
libavfilter/src_movie.c
View file @
5661c871
...
...
@@ -196,11 +196,11 @@ static int guess_channel_layout(MovieStream *st, int st_index, void *log_ctx)
av_channel_layout_default
(
&
chl
,
dec_par
->
ch_layout
.
nb_channels
);
if
(
!
KNOWN
(
&
chl
))
{
av_log
(
log_ctx
,
AV_LOG_
ERROR
,
av_log
(
log_ctx
,
AV_LOG_
WARNING
,
"Channel layout is not set in stream %d, and could not "
"be guessed from the number of channels (%d)
\n
"
,
st_index
,
dec_par
->
ch_layout
.
nb_channels
);
return
AVERROR
(
EINVAL
);
return
av_channel_layout_copy
(
&
dec_par
->
ch_layout
,
&
chl
);
}
av_channel_layout_describe
(
&
chl
,
buf
,
sizeof
(
buf
));
...
...
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