mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
jpegparse: dump whole failed app marker
Instead of just log the parsed string. It's better for debugging. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5838>
This commit is contained in:
parent
658b5b4399
commit
367deef132
1 changed files with 4 additions and 2 deletions
|
@ -521,7 +521,8 @@ gst_jpeg_parse_app0 (GstJpegParse * parse, GstJpegSegment * seg)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (parse, "Unhandled app0: %s", id_str);
|
||||
GST_MEMDUMP_OBJECT (parse, "Unhandled app0", seg->data + seg->offset,
|
||||
seg->size);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -594,7 +595,8 @@ gst_jpeg_parse_app1 (GstJpegParse * parse, GstJpegSegment * seg)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (parse, "Unhandled app1: %s", id_str);
|
||||
GST_MEMDUMP_OBJECT (parse, "Unhandled app1", seg->data + seg->offset,
|
||||
seg->size);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue