Rename VideoPlayer to VideoStreamPlayer for consistency

It's a player for `VideoStream` resources, just like `AudioStreamPlayer` is a
player for `AudioStream` resources.

Closes https://github.com/godotengine/godot-proposals/issues/3624.
This commit is contained in:
Rémi Verschelde 2021-12-06 17:24:45 +01:00
parent 75ac048e4b
commit 7ac9ea75cc
No known key found for this signature in database
GPG key ID: C3336907360768E1
7 changed files with 85 additions and 85 deletions

View file

@ -43,7 +43,7 @@ int AudioRBResampler::get_channel_count() const {
// Linear interpolation based sample rate conversion (low quality)
// Note that AudioStreamPlaybackResampled::mix has better algorithm,
// but it wasn't obvious to integrate that with VideoPlayer
// but it wasn't obvious to integrate that with VideoStreamPlayer
template <int C>
uint32_t AudioRBResampler::_resample(AudioFrame *p_dest, int p_todo, int32_t p_increment) {
uint32_t read = offset & MIX_FRAC_MASK;