videoplayer: print hurry up mode
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 26 Aug 2023 15:46:56 +0000 (17:46 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 26 Aug 2023 15:46:56 +0000 (17:46 +0200)
videoplayer/src/videodec.rs

index d385e68a591a6bd5983a3f4e1a88cb4ff20ac56e..7ebf17710fb7e2c38efacfbd18487920b74a3304 100644 (file)
@@ -274,6 +274,7 @@ fn start_video_decoding(width: usize, height: usize, tb_num: u32, tb_den: u32, v
                     Ok(PktSendEvent::HurryUp) => {
                         skip_mode = skip_mode.advance();
                         if let DecoderType::Video(ref mut dec, ref mut _reord) = vdec.dec.dec {
+                            println!("setting hurry up mode to {}", skip_mode.to_string());
                             dec.set_options(&[NAOption{
                                 name: FRAME_SKIP_OPTION,
                                 value: NAValue::String(skip_mode.to_string()),