mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-01 09:13:48 +00:00
json: Fix Nightly mismatched_lifetime_syntaxes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2291>
This commit is contained in:
parent
0bdf3c1b87
commit
eb91bd7bf4
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ enum Line<'a> {
|
|||
}
|
||||
|
||||
impl State {
|
||||
fn line(&mut self, drain: bool) -> Result<Option<Line>, (&[u8], serde_json::Error)> {
|
||||
fn line(&mut self, drain: bool) -> Result<Option<Line<'_>>, (&[u8], serde_json::Error)> {
|
||||
let line = if self.replay_last_line {
|
||||
self.replay_last_line = false;
|
||||
&self.last_raw_line
|
||||
|
@ -320,7 +320,7 @@ impl JsonGstParse {
|
|||
&self,
|
||||
pts: impl Into<Option<gst::ClockTime>>,
|
||||
mut state: MutexGuard<State>,
|
||||
) -> MutexGuard<State> {
|
||||
) -> MutexGuard<'_, State> {
|
||||
if pts.into().opt_ge(state.segment.start()).unwrap_or(false) {
|
||||
state.seeking = false;
|
||||
state.discont = true;
|
||||
|
|
Loading…
Reference in a new issue