mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
jpegdec: add debug to notify when skipping to jpeg header
This commit is contained in:
parent
04fae48d1d
commit
9ee2e9ede5
1 changed files with 4 additions and 1 deletions
|
@ -368,8 +368,11 @@ gst_jpeg_dec_ensure_header (GstJpegDec * dec)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (dec, "Found JPEG header");
|
||||
if (offset > 0) {
|
||||
GST_LOG_OBJECT (dec, "Skipping %u bytes.", offset);
|
||||
gst_adapter_flush (dec->adapter, offset);
|
||||
}
|
||||
GST_DEBUG_OBJECT (dec, "Found JPEG header");
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue