store stream language in pvr output files
This commit is contained in:
parent
b58371f4e8
commit
d79bbe3a55
1 changed files with 1 additions and 0 deletions
1
pvr.c
1
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++;
|
||||
|
|
Loading…
Add table
Reference in a new issue