PHP-FFmpeg-video-streaming
PHP-FFmpeg-video-streaming copied to clipboard
Also filter bitrates
| 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.