File tree 3 files changed +3
-3
lines changed
store/re_video/src/decode
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ pub enum Error {
110
110
111
111
#[ cfg( target_arch = "wasm32" ) ]
112
112
#[ error( transparent) ]
113
- WebDecoderError ( #[ from] webcodecs:: Error ) ,
113
+ WebDecoder ( #[ from] webcodecs:: Error ) ,
114
114
115
115
#[ error( "Unsupported bits per component: {0}" ) ]
116
116
BadBitsPerComponent ( usize ) ,
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ fn init_video_decoder(
190
190
} ;
191
191
192
192
let on_error = Closure :: wrap ( Box :: new ( move |err : js_sys:: Error | {
193
- on_output_callback ( Err ( super :: Error :: WebDecoderError ( Error :: Decoding (
193
+ on_output_callback ( Err ( super :: Error :: WebDecoder ( Error :: Decoding (
194
194
js_error_to_string ( & err) ,
195
195
) ) ) ) ;
196
196
} ) as Box < dyn Fn ( js_sys:: Error ) > ) ;
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ pub fn url_to_receiver(
143
143
re_rrdp_comms:: stream_recording ( url, Some ( ui_waker) ) . map_err ( |err| err. into ( ) )
144
144
}
145
145
#[ cfg( not( feature = "rrdp" ) ) ]
146
- EndpointCategory :: DataPlatform ( url ) => {
146
+ EndpointCategory :: DataPlatform ( _url ) => {
147
147
anyhow:: bail!( "Missing 'rrdp' feature flag" ) ;
148
148
}
149
149
EndpointCategory :: WebEventListener ( url) => {
You can’t perform that action at this time.
0 commit comments