threadshare: Remove unnecessary call to default()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1273>
This commit is contained in:
Sebastian Dröge 2023-07-11 10:09:22 +03:00
parent ee4aca3010
commit c2201480cf

View file

@ -1298,7 +1298,7 @@ impl ObjectSubclass for JitterBuffer {
fn with_class(klass: &Self::Class) -> Self { fn with_class(klass: &Self::Class) -> Self {
let sink_pad_handler = SinkHandler::default(); let sink_pad_handler = SinkHandler::default();
let src_pad_handler = SrcHandler::default(); let src_pad_handler = SrcHandler;
Self { Self {
sink_pad: PadSink::new( sink_pad: PadSink::new(