mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-21 07:06:19 +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 {
|
||||
flavors::ScriptDataValue::Object(ref objects) |
|
||||
flavors::ScriptDataValue::ECMAArray(ref objects) |
|
||||
flavors::ScriptDataValue::StrictArray(ref objects) => objects,
|
||||
flavors::ScriptDataValue::ECMAArray(ref objects) => objects,
|
||||
_ => return metadata,
|
||||
};
|
||||
|
||||
|
@ -925,7 +924,7 @@ impl FlvDemux {
|
|||
|
||||
let res = match tag_header.tag_type {
|
||||
flavors::TagType::Script => {
|
||||
trace!(self.logger, "Found sript tag");
|
||||
trace!(self.logger, "Found script tag");
|
||||
|
||||
self.handle_script_tag(&tag_header)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue