Commit 86d8c816 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

v4l2sink: fix another unused-but-set-variable warning

parent f3259353
......@@ -658,7 +658,7 @@ gst_v4l2sink_get_caps (GstBaseSink * bsink)
ret = gst_caps_new_empty ();
for (walk = v4l2sink->v4l2object->formats; walk; walk = walk->next) {
for (walk = formats; walk; walk = walk->next) {
struct v4l2_fmtdesc *format;
GstStructure *template;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment