aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2008-03-07 19:25:09 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2008-03-07 19:25:09 +0000
commit90c2295b24e9fa0c857e459088d18945a6681ef0 (patch)
tree682f689f79fb24ab9cf3277aadaf71c8af625231 /ffmpeg.c
parentb049ad505478a099535a796306f619a4365ee707 (diff)
downloadffmpeg-90c2295b24e9fa0c857e459088d18945a6681ef0.tar.gz
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut. Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index dc1c66b45d..cd04727f94 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1592,6 +1592,8 @@ static int av_encode(AVFormatContext **output_files,
av_strlcpy(ost->st->language, ist->st->language,
sizeof(ost->st->language));
+ ost->st->disposition = ist->st->disposition;
+
if (ost->st->stream_copy) {
/* if stream_copy is selected, no need to decode or encode */
codec->codec_id = icodec->codec_id;