Skip to content
Snippets Groups Projects
Commit 4edb34f6 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

segment: Pass the interrupt callback on to the chained AVFormatContext, too


This might not be needed at the moment, but it's good practice to
pass it to all chained AVFormatContexts, if it would happen to be
used there at a later point.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 1ca3b62b
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,7 @@ static int seg_write_header(AVFormatContext *s)
goto fail;
}
oc->interrupt_callback = s->interrupt_callback;
seg->avf = oc;
oc->streams = s->streams;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment