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

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'text/json/src/jsongstparse/imp.rs')
-rw-r--r--text/json/src/jsongstparse/imp.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs
index f561223ad..92d0378a9 100644
--- a/text/json/src/jsongstparse/imp.rs
+++ b/text/json/src/jsongstparse/imp.rs
@@ -801,11 +801,7 @@ impl JsonGstParse {
if fmt == gst::Format::Time {
if let Some(pull) = state.pull.as_ref() {
- q.set(
- true,
- gst::GenericFormattedValue::Time(Some(gst::ClockTime::ZERO)),
- gst::GenericFormattedValue::Time(pull.duration),
- );
+ q.set(true, gst::ClockTime::ZERO, pull.duration);
true
} else {
false