diff options
Diffstat (limited to 'text')
-rw-r--r-- | text/json/src/jsongstparse/imp.rs | 6 |
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 |