v4l2videoenc: demote per frame message to LOG

The "Handling frame" message with the frame number is printed on every buffer.
Therefore, it should have log level LOG instead of DEBUG.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7543>
This commit is contained in:
Michael Tretter 2024-09-12 16:44:23 +02:00 committed by Nicolas Dufresne
parent 5d310062e8
commit fd165528d2

View file

@ -751,7 +751,7 @@ gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
GstTaskState task_state; GstTaskState task_state;
gboolean active; gboolean active;
GST_DEBUG_OBJECT (self, "Handling frame %d", frame->system_frame_number); GST_LOG_OBJECT (self, "Handling frame %d", frame->system_frame_number);
if (G_UNLIKELY (!g_atomic_int_get (&self->active))) if (G_UNLIKELY (!g_atomic_int_get (&self->active)))
goto flushing; goto flushing;