File tree Expand file tree Collapse file tree
crates/renderide/src/assets/video Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,36 +34,29 @@ impl VideoPlayer {
3434 }
3535
3636 /// No-op stand-in for the GStreamer-backed implementation.
37- pub fn handle_update ( & self , _u : VideoTextureUpdate ) {
38- match self { }
39- }
37+ pub fn handle_update ( & self , _u : VideoTextureUpdate ) { }
4038
4139 /// No-op stand-in for the GStreamer-backed implementation.
42- pub fn handle_start_audio_track ( & self , _s : VideoTextureStartAudioTrack ) {
43- match self { }
44- }
40+ pub fn handle_start_audio_track ( & self , _s : VideoTextureStartAudioTrack ) { }
4541
4642 /// No-op stand-in for the GStreamer-backed implementation.
4743 pub fn process_events (
4844 & self ,
4945 _frame_sink : & mut impl Sized ,
5046 _ipc : & mut Option < & mut DualQueueIpc > ,
5147 ) {
52- match self { }
5348 }
5449
5550 /// No-op stand-in for starting cooperative shutdown.
56- pub fn begin_shutdown ( & self ) {
57- match self { }
58- }
51+ pub fn begin_shutdown ( & self ) { }
5952
6053 /// No-op stand-in for polling cooperative shutdown completion.
6154 pub fn poll_shutdown_complete ( & self ) -> bool {
62- match self { }
55+ true
6356 }
6457
6558 /// No-op stand-in for the GStreamer-backed implementation. The stub never produces samples.
6659 pub fn sample_clock_error ( & self ) -> Option < VideoTextureClockErrorState > {
67- match self { }
60+ None
6861 }
6962}
You can’t perform that action at this time.
0 commit comments