mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-22 15:46:20 +00:00
Fix for flavors API fixups related to strict arrays
This commit is contained in:
parent
e9cf54d43b
commit
fc7116c4e1
1 changed files with 2 additions and 3 deletions
|
@ -389,8 +389,7 @@ impl Metadata {
|
||||||
|
|
||||||
let args = match script_data.arguments {
|
let args = match script_data.arguments {
|
||||||
flavors::ScriptDataValue::Object(ref objects) |
|
flavors::ScriptDataValue::Object(ref objects) |
|
||||||
flavors::ScriptDataValue::ECMAArray(ref objects) |
|
flavors::ScriptDataValue::ECMAArray(ref objects) => objects,
|
||||||
flavors::ScriptDataValue::StrictArray(ref objects) => objects,
|
|
||||||
_ => return metadata,
|
_ => return metadata,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -925,7 +924,7 @@ impl FlvDemux {
|
||||||
|
|
||||||
let res = match tag_header.tag_type {
|
let res = match tag_header.tag_type {
|
||||||
flavors::TagType::Script => {
|
flavors::TagType::Script => {
|
||||||
trace!(self.logger, "Found sript tag");
|
trace!(self.logger, "Found script tag");
|
||||||
|
|
||||||
self.handle_script_tag(&tag_header)
|
self.handle_script_tag(&tag_header)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue