diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-07-25 19:39:27 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-07-25 19:39:27 +0000 |
commit | 8e0d882b49de7dbbf4accd93a7477ddcc530c02a (patch) | |
tree | c0d3bcc6a421ba3d1bd1a3e3ca61a7ce0592b561 /ffmpeg.c | |
parent | a03d59b7209171d8aa8099452c3096ae987eb8ef (diff) | |
download | ffmpeg-8e0d882b49de7dbbf4accd93a7477ddcc530c02a.tar.gz |
copy language information from input stream to output
Originally committed as revision 9797 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1507,6 +1507,10 @@ static int av_encode(AVFormatContext **output_files, codec = ost->st->codec; icodec = ist->st->codec; + if (!ost->st->language[0]) + av_strlcpy(ost->st->language, ist->st->language, + sizeof(ost->st->language)); + if (ost->st->stream_copy) { /* if stream_copy is selected, no need to decode or encode */ codec->codec_id = icodec->codec_id; |