From c1cb78d574c0429aa5e3ff3a2b3886e4bc153212 Mon Sep 17 00:00:00 2001 From: bbergeron Date: Wed, 3 Apr 2024 17:32:01 -0400 Subject: Reset Git repo and use a pseudonym to sign commits I used to sign my commits with my real name and my personal email address, which I wanted scrubbed off the "B." pseudosphere. Re-creating a new git repository was safer than simpler than re-writing the history (although the latter could've also worked but, oh well). --- testmuxer.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testmuxer.c (limited to 'testmuxer.c') diff --git a/testmuxer.c b/testmuxer.c new file mode 100644 index 0000000..69b693c --- /dev/null +++ b/testmuxer.c @@ -0,0 +1,21 @@ +#include "common.h" +#include "transmuxer.h" +#include +#include + +int main(int argc, char **argv) +{ + struct StreamerOpt opts = { + .filename = "test/stream.m3u8" + }; + + if (argc != 2) { + fprintf(stderr, "usage: %s FILE\n", argv[0]); + return EXIT_FAILURE; + } + + HLSRemuxer *remuxer = hls_remuxer_init(&opts); + hls_remuxer_play(remuxer, argv[1]); + + return EXIT_SUCCESS; +} -- cgit v1.2.3