From ceb28187caee46848a11e4ef9f641c20a2dd39bb Mon Sep 17 00:00:00 2001 From: Nickiel Date: Tue, 12 Nov 2024 19:14:59 -0800 Subject: [PATCH] removed some debug statements --- src/main.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.zig b/src/main.zig index 1d2cae5..45de154 100644 --- a/src/main.zig +++ b/src/main.zig @@ -214,14 +214,13 @@ pub fn main() !void { const ret = pipeline.as(gst.Element).setState(gst.State.playing); if (ret == gst.StateChangeReturn.failure) { pipeline.unref(); - std.debug.print("Could not start pipeline! Aboring\n", .{}); + std.debug.print("Could not start pipeline! Aborting\n", .{}); break :gst_block; } const bus: *gst.Bus = pipeline.getBus(); - std.debug.print("Getting vstream info\n", .{}); var stream_info: hlo.hailo_vstream_info_t = undefined; status = hlo.hailo_get_input_vstream_info(input_vstreams[0], &stream_info); assert(status == hlo.HAILO_SUCCESS); @@ -229,7 +228,6 @@ pub fn main() !void { var output_info: hlo.hailo_vstream_info_t = undefined; status = hlo.hailo_get_output_vstream_info(output_vstreams[0], &output_info); assert(status == hlo.HAILO_SUCCESS); - std.debug.print("\nOutput info: {any}\n\n", .{ output_info }); var input_frame_size: usize = 0; @@ -244,7 +242,6 @@ pub fn main() !void { var output_frame_size: usize = 0; status = hlo.hailo_get_output_vstream_frame_size(output_vstreams[0], &output_frame_size); assert(status == hlo.HAILO_SUCCESS); - std.debug.print("output frame size is: {d}\n", .{ output_frame_size }); const output_frame_count = output_frame_size / @sizeOf(f32); const output_data: [:0]f32 = try alloc.allocSentinel(f32, output_frame_count, 0);