]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
store stream language in pvr output files
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 10 Feb 2008 20:08:55 +0000 (20:08 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 10 Feb 2008 20:08:55 +0000 (20:08 +0000)
pvr.c

diff --git a/pvr.c b/pvr.c
index 8b2cd569639fc1389fda1971703859ae95fc9160..8317e4577a5feb8da8b161541b39c5fb6fd3bfb8 100644 (file)
--- a/pvr.c
+++ b/pvr.c
@@ -780,6 +780,7 @@ pvrr_transport_available(pvr_rec_t *pvrr, th_transport_t *t)
     tms->tms_avstream = av_mallocz(sizeof(AVStream));
     tms->tms_avstream->codec = ctx;
 
+    memcpy(tms->tms_avstream->language, tms->tms_stream->st_lang, 4);
     tms->tms_index = fctx->nb_streams;
     tm->tm_avfctx->streams[fctx->nb_streams] = tms->tms_avstream;
     fctx->nb_streams++;