jpegdec: add debug to notify when skipping to jpeg header
This commit is contained in:
parent
04fae48d1d
commit
9ee2e9ede5
@ -368,8 +368,11 @@ gst_jpeg_dec_ensure_header (GstJpegDec * dec)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (offset > 0) {
|
||||
GST_LOG_OBJECT (dec, "Skipping %u bytes.", offset);
|
||||
gst_adapter_flush (dec->adapter, offset);
|
||||
}
|
||||
GST_DEBUG_OBJECT (dec, "Found JPEG header");
|
||||
gst_adapter_flush (dec->adapter, offset);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user