mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
avfvideosrc: fix wrong framerate selected for caps
This fix solves an issue where a format that doesn't support the requested framerate would be selected. It ensures that we use the first format and framerate pair that supports the requested caps. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2418>
This commit is contained in:
parent
5a6a6ae871
commit
6706e5b382
1 changed files with 4 additions and 0 deletions
|
@ -671,6 +671,10 @@ checked:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (found_framerate) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!found_format) {
|
if (!found_format) {
|
||||||
|
|
Loading…
Reference in a new issue