You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user