summaryrefslogtreecommitdiff
path: root/test/v4l2_subdevice/list_formats.cpp
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2021-03-11 15:52:54 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-12 00:40:05 +0200
commit488bbe40a9183a6061e4e3fc975d8e289c6f75ac (patch)
tree99d1511f16dc7241416c3785eebae1dd06511a76 /test/v4l2_subdevice/list_formats.cpp
parente32d33b11d6a20d6b8f5ddd102c9083b42f15d55 (diff)
gst: provider: Fix crash in finalize
Both the DeviceProvider and Device classes had the same mistake, calling G_OBJECT_GET_CLASS() instead of G_OBJECT_CLASS() when chaining their finalize call to their base class. This would crash at destruction, which was causing gst-device-monitor-1.0 tool to crash and application using that API to crash too. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_subdevice/list_formats.cpp')
0 files changed, 0 insertions, 0 deletions