OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca3b62
)
segment: Pass the interrupt callback on to the chained AVFormatContext, too
author
Martin Storsjö
<martin@martin.st>
Sat, 25 Feb 2012 23:35:13 +0000
(
01:35
+0200)
committer
Martin Storsjö
<martin@martin.st>
Tue, 2 Oct 2012 20:14:07 +0000
(22:14 +0200)
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>
libavformat/segment.c
patch
|
blob
|
history
diff --git
a/libavformat/segment.c
b/libavformat/segment.c
index
88d80a4
..
0c644d4
100644
(file)
--- a/
libavformat/segment.c
+++ b/
libavformat/segment.c
@@
-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;