Commit d98fbee6 authored by Aaron Boxer's avatar Aaron Boxer
Browse files

pipeline: support comments in text file (must begin with #)

parent 378a9550
Pipeline #20828 failed with stage
in 5 minutes and 25 seconds
......@@ -185,7 +185,8 @@ main (int argc, char *argv[])
pipe[0] = 0;
size_t len = 0;
while ((getline(&line, &len, fp)) != -1) {
strcat(pipe, line);
if (line != nullptr && line[0] != '#')
strcat(pipe, line);
}
fclose(fp);
} else {
......
# video test source pipeline
matroskamux name=mux !
filesink name=sink location="/tmp/capture.mkv"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment