From 19c6d5ff2421a5ff38f55cf720a1e65514972372 Mon Sep 17 00:00:00 2001 From: Nicholas Young Date: Fri, 18 Oct 2024 23:04:28 -0700 Subject: [PATCH] commented out dead code --- src/main.zig | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main.zig b/src/main.zig index 6e4c557..b2a6f49 100644 --- a/src/main.zig +++ b/src/main.zig @@ -6,6 +6,7 @@ const hlo = @cImport({ const gst = @cImport({ // glib-object for g_object_* functions @cInclude("glib-object.h"); @cInclude("gst.h"); + @cInclude("gstappsrc.h"); @cInclude("glib.h"); // and glib for other g_* functions }); @@ -127,12 +128,12 @@ pub fn main() !void { std.debug.panic("Could not start pipeline", .{}); } - const bus: *gst.GstBus = gst.gst_element_get_bus(pipeline); - const msg: *gst.GstMessage = gst.gst_bus_timed_pop_filtered( // This call holds until there is a valid message - bus, - gst.GST_CLOCK_TIME_NONE, - gst.GST_MESSAGE_ERROR | gst.GST_MESSAGE_EOS, - ); + // const bus: *gst.GstBus = gst.gst_element_get_bus(pipeline); + // const msg: *gst.GstMessage = gst.gst_bus_timed_pop_filtered( // This call holds until there is a valid message + // bus, + // gst.GST_CLOCK_TIME_NONE, + // gst.GST_MESSAGE_ERROR | gst.GST_MESSAGE_EOS, + //);