mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +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/2331>
This commit is contained in:
parent
5294a720f8
commit
acfc9ae216
1 changed files with 4 additions and 0 deletions
|
@ -671,6 +671,10 @@ checked:
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (found_framerate) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!found_format) {
|
||||
|
|
Loading…
Reference in a new issue