mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
jpegparse: demote and promote log messages level
Before those levels where when implementing the plugin. Now these levels are for reporting issues from users. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4130>
This commit is contained in:
parent
7af495072a
commit
7e2aec1219
1 changed files with 3 additions and 3 deletions
|
@ -717,7 +717,7 @@ gst_jpeg_parse_handle_frame (GstBaseParse * bparse, GstBaseParseFrame * frame,
|
|||
|
||||
/* check if the whole segment is available */
|
||||
if (offset + seg.size > mapinfo.size) {
|
||||
GST_INFO_OBJECT (parse, "incomplete segment: %x [offset %d]", marker,
|
||||
GST_DEBUG_OBJECT (parse, "incomplete segment: %x [offset %d]", marker,
|
||||
offset);
|
||||
parse->last_offset = offset - 2;
|
||||
goto beach;
|
||||
|
@ -725,7 +725,7 @@ gst_jpeg_parse_handle_frame (GstBaseParse * bparse, GstBaseParseFrame * frame,
|
|||
|
||||
offset += seg.size;
|
||||
|
||||
GST_INFO_OBJECT (parse, "marker found: %x [offset %d / size %"
|
||||
GST_LOG_OBJECT (parse, "marker found: %x [offset %d / size %"
|
||||
G_GSSIZE_FORMAT "]", marker, seg.offset, seg.size);
|
||||
|
||||
switch (marker) {
|
||||
|
@ -741,7 +741,7 @@ gst_jpeg_parse_handle_frame (GstBaseParse * bparse, GstBaseParseFrame * frame,
|
|||
GST_MINI_OBJECT_FLAGS (frame->out_buffer) |=
|
||||
GST_BUFFER_FLAG_CORRUPTED;
|
||||
|
||||
GST_DEBUG_OBJECT (parse, "Push a frame without EOI, size %d",
|
||||
GST_WARNING_OBJECT (parse, "Push a frame without EOI, size %d",
|
||||
seg.offset - 2);
|
||||
return gst_jpeg_parse_finish_frame (parse, frame, seg.offset - 2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue