Commit 7e13d9c4 authored by aurel's avatar aurel

copy language information from input stream to output

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9797 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c167e566
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment