mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
v4l2: Fix glib warning emitted when attribute query fails
The v4l2object is not a GstObject. Logging has to go through its dbg_obj specially meant for this. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/959>
This commit is contained in:
parent
36b794f9ff
commit
a2c16ec632
1 changed files with 1 additions and 1 deletions
|
@ -926,7 +926,7 @@ gst_v4l2_get_attribute (GstV4l2Object * v4l2object,
|
|||
/* ERRORS */
|
||||
ctrl_failed:
|
||||
{
|
||||
GST_WARNING_OBJECT (v4l2object,
|
||||
GST_WARNING_OBJECT (v4l2object->dbg_obj,
|
||||
_("Failed to get value for control %d on device '%s'."),
|
||||
attribute_num, v4l2object->videodev);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue