summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJaslo Ziska <jaslo@ziska.de>2023-11-22 20:15:47 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-11-23 10:10:04 +0200
commit62e5289819789e37cb169af94869fea0c86c8e9c (patch)
tree84d6d14f2e55a14d3be7f464555a6de69b05af34 /package
parent2fae9603e6cc483d9d0d74868721b272776513cf (diff)
gstreamer: Fix unused variable error
Commit fd84180d7a09 ("gstreamer: Implement element EOS handling") has introduced a compilation warning with clang: ../../src/gstreamer/gstlibcamerasrc.cpp:768:23: error: unused variable 'oldEvent' [-Werror,-Wunused-variable] g_autoptr(GstEvent) oldEvent = self->pending_eos.exchange(event); ^ This seems to be a false positive, but nonetheless breaks the build. Fix it. Fixes: fd84180d7a09 ("gstreamer: Implement element EOS handling") Signed-off-by: Jaslo Ziska <jaslo@ziska.de> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions