mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
v4l2src: Address unused but set variable
The v4l2object formats list was being obtained into a local variable and then still used from the context. Make use of the local variable.
This commit is contained in:
parent
75886ba63d
commit
e02b7e7fdf
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ gst_v4l2src_get_caps (GstBaseSrc * src)
|
|||
|
||||
ret = gst_caps_new_empty ();
|
||||
|
||||
for (walk = v4l2src->v4l2object->formats; walk; walk = walk->next) {
|
||||
for (walk = formats; walk; walk = walk->next) {
|
||||
struct v4l2_fmtdesc *format;
|
||||
|
||||
GstStructure *template;
|
||||
|
|
Loading…
Reference in a new issue