parent
eec4f96293
commit
459eede174
|
@ -111,7 +111,8 @@ pub fn extract(
|
|||
|
||||
#[cfg(feature = "extractors-audio")]
|
||||
{
|
||||
entry_count += audio::ID3Extractor.insert_info(address, connection, job_container.clone())?;
|
||||
entry_count +=
|
||||
audio::ID3Extractor.insert_info(address, connection, job_container.clone())?;
|
||||
}
|
||||
|
||||
#[cfg(feature = "extractors-photo")]
|
||||
|
|
|
@ -34,7 +34,7 @@ impl<'a> Previewable for ImagePath<'a> {
|
|||
Some(3) => image.rotate180(),
|
||||
Some(6) => image.rotate90(),
|
||||
Some(8) => image.rotate270(),
|
||||
_ => image
|
||||
_ => image,
|
||||
};
|
||||
let (w, h) = image.dimensions();
|
||||
if cmp::max(w, h) > 1024 {
|
||||
|
|
Loading…
Reference in New Issue