mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 07:58:30 +00:00
Fixed SDL capitalization
This commit is contained in:
@@ -621,7 +621,7 @@ static void collect_rates(CameraFormatAddData *data, struct param *p, const Uint
|
|||||||
SPA_FALLTHROUGH;
|
SPA_FALLTHROUGH;
|
||||||
case SPA_CHOICE_Enum:
|
case SPA_CHOICE_Enum:
|
||||||
for (i = 0; i < n_vals; i++) {
|
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,
|
if (SDL_AddCameraFormat(data, sdlfmt, size->width, size->height,
|
||||||
rates[i].denom, rates[i].num) == -1) {
|
rates[i].denom, rates[i].num) == -1) {
|
||||||
return; // Probably out of memory; we'll go with what we have, if anything.
|
return; // Probably out of memory; we'll go with what we have, if anything.
|
||||||
|
Reference in New Issue
Block a user