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
218f8cec
Commit
218f8cec
authored
Mar 21, 2014
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fdkaac: output length is constant and doesn't vary from input pts jitter
parent
9d4539fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/codec/fdkaac.c
modules/codec/fdkaac.c
+3
-3
No files found.
modules/codec/fdkaac.c
View file @
218f8cec
...
...
@@ -503,9 +503,9 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
(
double
)
p_enc
->
fmt_in
.
audio
.
i_channels
;
i_pts_out
-=
(
mtime_t
)((
double
)
CLOCK_FREQ
*
d_samples_delay
/
(
double
)
p_enc
->
fmt_out
.
audio
.
i_rate
);
//p_block->i_length = (mtime_t)((double)CLOCK_FREQ * (double)p_sys->i_frame_size /
//
(double)p_enc->fmt_out.audio.i_rate);
p_block
->
i_length
=
i_pts_out
-
p_sys
->
i_pts_last
;
p_block
->
i_length
=
(
mtime_t
)((
double
)
CLOCK_FREQ
*
(
double
)
p_sys
->
i_frame_size
/
(
double
)
p_enc
->
fmt_out
.
audio
.
i_rate
);
//
p_block->i_length = i_pts_out - p_sys->i_pts_last;
}
else
{
...
...
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