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
dfa988ee
Commit
dfa988ee
authored
May 17, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavfilter: src_buffer: add time_base for audio
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
aa69db3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src_buffer.c
libavfilter/src_buffer.c
+2
-0
No files found.
libavfilter/src_buffer.c
View file @
dfa988ee
...
...
@@ -430,6 +430,7 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args0, void *opa
if (*args) \
arg = av_strtok(NULL, ":", &ptr)
ADD_FORMAT
(
time_base
);
ADD_FORMAT
(
sample_rate
);
ADD_FORMAT
(
sample_format
);
ADD_FORMAT
(
channel_layout
);
...
...
@@ -516,6 +517,7 @@ static int config_output_audio(AVFilterLink *outlink)
{
BufferSourceContext
*
abuffer
=
outlink
->
src
->
priv
;
outlink
->
sample_rate
=
abuffer
->
sample_rate
;
outlink
->
time_base
=
abuffer
->
time_base
;
return
0
;
}
...
...
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