mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
demux: propagate hls_bitrate and program_id in generated caption tracks
This commit is contained in:
parent
c39e332e50
commit
ad60753bce
@ -1277,6 +1277,8 @@ static struct sh_stream *demuxer_get_cc_track_locked(struct sh_stream *stream)
|
||||
return NULL;
|
||||
sh->codec->codec = "eia_608";
|
||||
sh->default_track = true;
|
||||
sh->hls_bitrate = stream->hls_bitrate;
|
||||
sh->program_id = stream->program_id;
|
||||
stream->ds->cc = sh;
|
||||
demux_add_sh_stream_locked(stream->ds->in, sh);
|
||||
sh->ds->ignore_eof = true;
|
||||
|
Loading…
Reference in New Issue
Block a user