Fixed SDL capitalization

pull/9803/head
Sam Lantinga 2024-05-15 14:53:52 -07:00
parent 0ee874f02d
commit fd678ff50f
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ static void collect_rates(CameraFormatAddData *data, struct param *p, const Uint
SPA_FALLTHROUGH;
case SPA_CHOICE_Enum:
for (i = 0; i < n_vals; i++) {
// denom and num are switched, because sdl expects an interval, while pw provides a rate
// denom and num are switched, because SDL expects an interval, while pw provides a rate
if (SDL_AddCameraFormat(data, sdlfmt, size->width, size->height,
rates[i].denom, rates[i].num) == -1) {
return; // Probably out of memory; we'll go with what we have, if anything.