<div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div></div></div></div><div class="gmail_quote"><div dir="ltr">Trying to build gstreamer from git tags/1.20.0 and am running into the following error, is there a way to just disable gsttextwap? <div><br></div><div>   Compiling gstreamer-base v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br>   Compiling gstreamer-rtp v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br>   Compiling gstreamer-video v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br>   Compiling gstreamer-audio v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br>   Compiling gstreamer-net v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br>error[E0308]: mismatched types<br>   --> text/wrap/src/gsttextwrap/imp.rs:414:13<br>    |<br>413 |         match query.view_mut() {<br>    |               ---------------- this expression has type `QueryViewMut<'_>`<br>414 |             QueryView::Latency(ref mut q) => {<br>    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>For more information about this error, try `rustc --explain E0308`.<br>error: could not compile `gst-plugin-textwrap` due to previous error<br>warning: build failed, waiting for other jobs to finish...<br>error[E0599]: no method named `get` found for reference `&gstreamer::event::Seek<&EventRef>` in the current scope<br>   --> text/json/src/jsongstparse/imp.rs:694:71<br>    |<br>694 |         let (rate, flags, start_type, start, stop_type, stop) = event.get();<br>    |                                                                       ^^^ method not found in `&gstreamer::event::Seek<&EventRef>`<br><br>error[E0599]: no method named `seqnum` found for reference `&gstreamer::event::Seek<&EventRef>` in the current scope<br>   --> text/json/src/jsongstparse/imp.rs:722:33<br>    |<br>722 |         let seek_seqnum = event.seqnum();<br>    |                                 ^^^^^^ method not found in `&gstreamer::event::Seek<&EventRef>`<br><br>error[E0308]: mismatched types<br>   --> video/flavors/src/flvdemux/imp.rs:412:13<br>    |<br>411 |         match query.view_mut() {<br>    |               ---------------- this expression has type `QueryViewMut<'_>`<br>412 |             QueryView::Position(ref mut q) => {<br>    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>error[E0308]: mismatched types<br>   --> video/flavors/src/flvdemux/imp.rs:431:13<br>    |<br>411 |         match query.view_mut() {<br>    |               ---------------- this expression has type `QueryViewMut<'_>`<br>...<br>431 |             QueryView::Duration(ref mut q) => {<br>    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>error[E0308]: mismatched types<br>   --> text/json/src/jsongstparse/imp.rs:786:53<br>    |<br>786 |             EventView::Seek(e) => self.perform_seek(&e, element),<br>    |                                                     ^^ expected struct `gstreamer::event::Seek`, found reference<br>    |<br>    = note: expected reference `&gstreamer::event::Seek<&EventRef>`<br>               found reference `&&gstreamer::event::Seek`<br><br>error[E0308]: mismatched types<br>   --> text/json/src/jsongstparse/imp.rs:802:13<br>    |<br>801 |         match query.view_mut() {<br>    |               ---------------- this expression has type `QueryViewMut<'_>`<br>802 |             QueryView::Seeking(mut q) => {<br>    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>error[E0308]: mismatched types<br>   --> text/json/src/jsongstparse/imp.rs:822:13<br>    |<br>801 |         match query.view_mut() {<br>    |               ---------------- this expression has type `QueryViewMut<'_>`<br>...<br>822 |             QueryView::Position(ref mut q) => {<br>    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>error[E0308]: mismatched types<br>   --> text/json/src/jsongstparse/imp.rs:832:13<br>    |<br>801 |         match query.view_mut() {<br>    |               ---------------- this expression has type `QueryViewMut<'_>`<br>...<br>832 |             QueryView::Duration(ref mut q) => {<br>    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>error[E0308]: mismatched types<br>    --> net/reqwest/src/reqwesthttpsrc/imp.rs:1083:13<br>     |<br>1082 |         match query.view_mut() {<br>     |               ---------------- this expression has type `QueryViewMut<'_>`<br>1083 |             QueryView::Scheduling(ref mut q) => {<br>     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>Some errors have detailed explanations: E0308, E0599.<br>For more information about an error, try `rustc --explain E0308`.<br>error[E0308]: mismatched types<br>   --> utils/uriplaylistbin/src/uriplaylistbin/imp.rs:830:72<br>    |<br>830 |                 if let Err(e) = self.handle_stream_collection(element, stream_collection_msg) {<br>    |                                                                        ^^^^^^^^^^^^^^^^^^^^^ expected struct `gstreamer::message::StreamCollection`, found reference<br>    |<br>    = note: expected struct `gstreamer::message::StreamCollection`<br>            found reference `&gstreamer::message::StreamCollection`<br><br>error[E0308]: mismatched types<br>   --> utils/uriplaylistbin/src/uriplaylistbin/imp.rs:837:58<br>    |<br>837 |                 if !self.handle_stream_selected(element, stream_selected) {<br>    |                                                          ^^^^^^^^^^^^^^^ expected struct `gstreamer::message::StreamsSelected`, found reference<br>    |<br>    = note: expected struct `gstreamer::message::StreamsSelected`<br>            found reference `&gstreamer::message::StreamsSelected`<br><br>error[E0308]: mismatched types<br>    --> audio/audiofx/src/audioloudnorm/imp.rs:1696:13<br>     |<br>1695 |         match query.view_mut() {<br>     |               ---------------- this expression has type `QueryViewMut<'_>`<br>1696 |             QueryView::Latency(ref mut q) => {<br>     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br><br>error[E0308]: mismatched types<br>   --> audio/audiofx/src/audiornnoise/imp.rs:355:20<br>    |<br>355 |             if let gst::QueryView::Latency(ref mut q) = query.view_mut() {<br>    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   ---------------- this expression has type `QueryViewMut<'_>`<br>    |                    |<br>    |                    expected enum `QueryViewMut`, found enum `QueryView`<br><br>Error: CliError { error: Some(build failed), exit_code: 101 }<br><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>><></div><div>Nathan Stratton</div><div>Founder, CTO</div><div>Vocinity, Inc. </div></div></div></div></div></div></div></div></div></div>
</div></div>