PHP-FFmpeg-video-streaming icon indicating copy to clipboard operation
PHP-FFmpeg-video-streaming copied to clipboard

Also filter bitrates

Open crishoj opened this issue 2 years ago • 0 comments

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #79
License MIT

What's in this PR?

This changes the filtering in AutoReps->sides() to also remove corresponding bitrates, in case a size is rejected.

Why?

This fixes the issue where autoGenerateRepresentations() would fail with The count of side value array must be the same as the count of kilo bitrate array in cases where both sizes and bitrates are provided, and filtering rejects some of the sizes.

crishoj avatar Sep 29 '23 16:09 crishoj