metadata: Merge memory_format correctly
This commit is contained in:
parent
8ddaf34e87
commit
7e227097ef
2 changed files with 5 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ impl Metadata {
|
|||
if self.frame_info.is_none() {
|
||||
self.frame_info = other.frame_info;
|
||||
}
|
||||
if self.memory_format.is_none() {
|
||||
self.memory_format = other.memory_format;
|
||||
}
|
||||
}
|
||||
|
||||
pub fn mime_type(&self) -> Option<String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue