projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03d59b
)
copy language information from input stream to output
author
Aurelien Jacobs
<aurel@gnuage.org>
Wed, 25 Jul 2007 19:39:27 +0000
(19:39 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Wed, 25 Jul 2007 19:39:27 +0000
(19:39 +0000)
Originally committed as revision 9797 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
d09bf32
..
cb1d045
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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;