Skip to content

Commit

Permalink
ARRISEOS-43952: Remove draining of appsrc
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-mielczarczyk-red authored and jaroslaw-bojko-red committed Apr 12, 2023
1 parent a94c92a commit 475190c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -969,11 +969,12 @@ void AppendPipeline::abort()
}
// Drain samples before source buffer state is reset
if (m_appendState == AppendState::Sampling) {
GRefPtr<GstPad> appsrcPad = adoptGRef(gst_element_get_static_pad(m_appsrc.get(), "src"));
GST_DEBUG("ARRISEOS-43952");
/* GRefPtr<GstPad> appsrcPad = adoptGRef(gst_element_get_static_pad(m_appsrc.get(), "src"));
if (appsrcPad) {
GRefPtr<GstQuery> query = adoptGRef(gst_query_new_drain());
gst_pad_peer_query(appsrcPad.get(), query.get());
}
}*/
drainBusIfNeeded();
}
}
Expand Down

0 comments on commit 475190c

Please sign in to comment.