Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Laignel <fengalin@free.fr>2022-10-08 19:29:10 +0300
committerFrançois Laignel <fengalin@free.fr>2022-10-08 19:29:10 +0300
commit7818ac658b02417fda071ce025b6d6a7fdb54a76 (patch)
tree81a171d5f7e5482d6874be18387a695e339d5e45 /utils/togglerecord
parent4c57a97d4d6057bdd1c4b58b256cd153d21d7d3f (diff)
Use `GFV::none_for_format` where applicable
Diffstat (limited to 'utils/togglerecord')
-rw-r--r--utils/togglerecord/src/togglerecord/imp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/togglerecord/src/togglerecord/imp.rs b/utils/togglerecord/src/togglerecord/imp.rs
index 5ebfb80d..51ffeabe 100644
--- a/utils/togglerecord/src/togglerecord/imp.rs
+++ b/utils/togglerecord/src/togglerecord/imp.rs
@@ -1620,8 +1620,8 @@ impl ToggleRecord {
let format = q.format();
q.set(
false,
- gst::GenericFormattedValue::new(format, -1),
- gst::GenericFormattedValue::new(format, -1),
+ gst::GenericFormattedValue::none_for_format(format),
+ gst::GenericFormattedValue::none_for_format(format),
);
gst::log!(CAT, obj: pad, "Returning {:?}", q.query_mut());