mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
v4l2: set debug messages according to device type and IO mode
https://bugzilla.gnome.org/show_bug.cgi?id=733616
This commit is contained in:
parent
e196906b99
commit
57ae11ac6f
2 changed files with 3 additions and 2 deletions
|
@ -2248,7 +2248,8 @@ gst_v4l2_object_setup_pool (GstV4l2Object * v4l2object, GstCaps * caps)
|
|||
{
|
||||
GstV4l2IOMode mode;
|
||||
|
||||
GST_DEBUG_OBJECT (v4l2object->element, "initializing the capture system");
|
||||
GST_DEBUG_OBJECT (v4l2object->element, "initializing the %s system",
|
||||
V4L2_TYPE_IS_OUTPUT (v4l2object->type) ? "output" : "capture");
|
||||
|
||||
GST_V4L2_CHECK_OPEN (v4l2object);
|
||||
GST_V4L2_CHECK_NOT_ACTIVE (v4l2object);
|
||||
|
|
|
@ -504,7 +504,7 @@ gst_v4l2sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
|
|||
gst_v4l2sink_sync_overlay_fields (v4l2sink);
|
||||
gst_v4l2sink_sync_crop_fields (v4l2sink);
|
||||
|
||||
GST_INFO_OBJECT (v4l2sink, "outputting buffers via mmap()");
|
||||
GST_INFO_OBJECT (v4l2sink, "outputting buffers via mode %u", obj->mode);
|
||||
|
||||
v4l2sink->video_width = GST_V4L2_WIDTH (v4l2sink->v4l2object);
|
||||
v4l2sink->video_height = GST_V4L2_HEIGHT (v4l2sink->v4l2object);
|
||||
|
|
Loading…
Reference in a new issue