Skip to content
Snippets Groups Projects
Commit 627982fe authored by Philippe Gorley's avatar Philippe Gorley Committed by Philippe Gorley
Browse files

media_stream: set time base for audio on update

Time base for audio should always be the inverse of the sampling rate.

Change-Id: I335a4bab1c29b5f0411dcb38a3bab379b48fa433
parent cfe20821
Branches
Tags
No related merge requests found
......@@ -126,6 +126,7 @@ struct MediaStream {
} else {
sampleRate = f->sample_rate;
nbChannels = f->channels;
timeBase = rational<int>(1, f->sample_rate);
}
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment