diff options
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 |
