File tree Expand file tree Collapse file tree 2 files changed +175
-333
lines changed
Expand file tree Collapse file tree 2 files changed +175
-333
lines changed Original file line number Diff line number Diff line change @@ -344,10 +344,6 @@ impl DisplayLayer {
344344 )
345345 } ;
346346
347- if let Err ( e) = device. poll ( wgpu:: PollType :: Wait ) {
348- tracing:: warn!( error = ?e, "Failed to poll device after NV12 conversion" ) ;
349- }
350-
351347 match convert_result {
352348 Ok ( _) => {
353349 tracing:: debug!( "NV12 conversion succeeded" ) ;
@@ -409,10 +405,6 @@ impl DisplayLayer {
409405 )
410406 } ;
411407
412- if let Err ( e) = device. poll ( wgpu:: PollType :: Wait ) {
413- tracing:: warn!( error = ?e, "Failed to poll device after NV12 conversion" ) ;
414- }
415-
416408 match convert_result {
417409 Ok ( _) => {
418410 if self . yuv_converter . output_texture ( ) . is_some ( ) {
@@ -466,10 +458,6 @@ impl DisplayLayer {
466458 )
467459 } ;
468460
469- if let Err ( e) = device. poll ( wgpu:: PollType :: Wait ) {
470- tracing:: warn!( error = ?e, "Failed to poll device after YUV420P conversion" ) ;
471- }
472-
473461 match convert_result {
474462 Ok ( _) => {
475463 if self . yuv_converter . output_texture ( ) . is_some ( ) {
You can’t perform that action at this time.
0 commit comments