Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c2e4f7c6
Commit
c2e4f7c6
authored
Sep 22, 2013
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faad: try to guess channel count if we can, and don't set it to 0 in Open
Ref #9200
parent
a3a150b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/codec/faad.c
modules/codec/faad.c
+3
-1
No files found.
modules/codec/faad.c
View file @
c2e4f7c6
...
...
@@ -179,7 +179,9 @@ static int Open( vlc_object_t *p_this )
{
/* Will be initalised from first frame */
p_dec
->
fmt_out
.
audio
.
i_rate
=
0
;
p_dec
->
fmt_out
.
audio
.
i_channels
=
0
;
/*FIXME: Try to guess channel count, so transcode module doesn't burb and do funny stuff
Revert back to 0 when transcode module/audio encoders can reinit stuff after Open()*/
p_dec
->
fmt_out
.
audio
.
i_channels
=
p_dec
->
fmt_in
.
audio
.
i_channels
;
}
/* Set the faad config */
...
...
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