Skip to content
Snippets Groups Projects
Commit 6f06545b authored by Marton Balint's avatar Marton Balint
Browse files

ffplay: use swr_set_compensation for audio synchronization


Also change synchronize_audio to only calculate the wanted number of samples
instead of doing the actual synchronization, and make swr_convert handle the
sample addition or deletion.

This new method replaces the old buggy way which simply deleted or
multiplied samples.

Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
parent 5387f991
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment