kopia lustrzana https://github.com/kierank/libmpegts
Set ts_type early otherwise it isn't used in the stream_type decision
rodzic
ca811b4ea8
commit
5956e30f56
|
@ -911,6 +911,7 @@ int ts_setup_transport_stream( ts_writer_t *w, ts_main_t *params )
|
|||
return -1;
|
||||
}
|
||||
|
||||
w->ts_type = params->ts_type;
|
||||
w->num_programs = 1;
|
||||
w->programs[0] = cur_program;
|
||||
|
||||
|
@ -1052,7 +1053,6 @@ int ts_setup_transport_stream( ts_writer_t *w, ts_main_t *params )
|
|||
w->ts_id = params->ts_id;
|
||||
w->ts_muxrate = params->muxrate;
|
||||
w->cbr = params->cbr;
|
||||
w->ts_type = params->ts_type;
|
||||
w->network_pid = params->network_pid;
|
||||
w->legacy_constraints = params->legacy_constraints;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue