diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2008-03-07 19:25:09 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2008-03-07 19:25:09 +0000 |
commit | 90c2295b24e9fa0c857e459088d18945a6681ef0 (patch) | |
tree | 682f689f79fb24ab9cf3277aadaf71c8af625231 /ffmpeg.c | |
parent | b049ad505478a099535a796306f619a4365ee707 (diff) | |
download | ffmpeg-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |