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:
eeb975f
)
lavd/lavfi: support unknown channel layouts.
author
Nicolas George
<george@nsup.org>
Mon, 28 Oct 2013 10:50:09 +0000
(11:50 +0100)
committer
Nicolas George
<george@nsup.org>
Sun, 3 Nov 2013 09:29:53 +0000
(10:29 +0100)
libavdevice/lavfi.c
patch
|
blob
|
history
diff --git
a/libavdevice/lavfi.c
b/libavdevice/lavfi.c
index
559f721
..
a177ad0
100644
(file)
--- a/
libavdevice/lavfi.c
+++ b/
libavdevice/lavfi.c
@@
-248,6
+248,10
@@
av_cold static int lavfi_read_header(AVFormatContext *avctx)
ret = av_opt_set_int_list(sink, "sample_fmts", sample_fmts, AV_SAMPLE_FMT_NONE, AV_OPT_SEARCH_CHILDREN);
if (ret < 0)
goto end;
+ ret = av_opt_set_int(sink, "all_channel_counts", 1,
+ AV_OPT_SEARCH_CHILDREN);
+ if (ret < 0)
+ goto end;
}
lavfi->sinks[i] = sink;