camerabin: improve image capture debug
This commit is contained in:
parent
95fd9cd277
commit
acc48b7833
@ -253,8 +253,8 @@ gst_wrapper_camera_bin_src_imgsrc_probe (GstPad * pad, GstPadProbeInfo * info,
|
|||||||
GstBuffer *buffer = GST_BUFFER (info->data);
|
GstBuffer *buffer = GST_BUFFER (info->data);
|
||||||
GstPadProbeReturn ret = GST_PAD_PROBE_DROP;
|
GstPadProbeReturn ret = GST_PAD_PROBE_DROP;
|
||||||
|
|
||||||
GST_LOG_OBJECT (self, "Image probe, mode %d, capture count %d",
|
GST_LOG_OBJECT (self, "Image probe, mode %d, capture count %d bufsize: %u",
|
||||||
camerasrc->mode, self->image_capture_count);
|
camerasrc->mode, self->image_capture_count, gst_buffer_get_size (buffer));
|
||||||
|
|
||||||
g_mutex_lock (&camerasrc->capturing_mutex);
|
g_mutex_lock (&camerasrc->capturing_mutex);
|
||||||
if (self->image_capture_count > 0) {
|
if (self->image_capture_count > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user