diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-04-28 15:02:41 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-04-28 22:14:48 +0400 |
commit | 4b0521eca9647a092388c44186ea07b3d4416cdb (patch) | |
tree | 3eec1df527c3088dd4f950fcead7326ec334c5e6 /libavcodec/options.c | |
parent | 82c71913e46552f9b41ed3f63571b7777a999f68 (diff) |
lavc: add a channel_layout field to AVFrame.
The field is filled with the codec context information.
FIXME need a minor version bump.
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index ef598d5871..173729cbc2 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -239,6 +239,7 @@ static const AVOption frame_options[]={ {"width", "", FOFFSET(width), AV_OPT_TYPE_INT, {.dbl = 0 }, 0, INT_MAX, 0}, {"height", "", FOFFSET(height), AV_OPT_TYPE_INT, {.dbl = 0 }, 0, INT_MAX, 0}, {"format", "", FOFFSET(format), AV_OPT_TYPE_INT, {.dbl = -1 }, 0, INT_MAX, 0}, +{"channel_layout", "", FOFFSET(channel_layout), AV_OPT_TYPE_INT64, {.dbl = 0 }, 0, INT64_MAX, 0}, {NULL}, }; |