diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-03-16 15:43:38 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-16 15:43:38 +0000 |
| commit | 9b12a73dc3e4f6cf9ba26b74b8a963a103e42d61 (patch) | |
| tree | 0d145f8333a4ab3f2b1c895751d7291ccb3c3663 /src/video.zig | |
| parent | drop libyaml, configure via args (diff) | |
| download | glsl-view-9b12a73dc3e4f6cf9ba26b74b8a963a103e42d61.tar.gz glsl-view-9b12a73dc3e4f6cf9ba26b74b8a963a103e42d61.zip | |
formatting
Diffstat (limited to 'src/video.zig')
| -rw-r--r-- | src/video.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video.zig b/src/video.zig index 9cf50eb..d93a444 100644 --- a/src/video.zig +++ b/src/video.zig @@ -27,14 +27,14 @@ pub fn loadVideo(progress_root: std.Progress.Node, filename: [*:0]const u8, text } else unreachable; const codec_par = video_stream.codecpar.*; - std.debug.print("loading codec, size {}x{}, ~{} frames\n", .{ codec_par.width, codec_par.height, video_stream.nb_frames }); var packet = c.av_packet_alloc(); defer c.av_packet_free(&packet); const allocator = std.heap.c_allocator; - const is_hap = codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '1') or codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '5'); + const is_hap = codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '1') or + codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '5'); const decoder = if (is_hap and build_config.have_hap) try hap.HAPDecoder.init(allocator, codec_par) else |
