kopia lustrzana https://github.com/kierank/libmpegts
Expose lowlatency to API
rodzic
0e03d83428
commit
43f4dd76b0
|
@ -886,6 +886,7 @@ static void update_ts_params( ts_writer_t *w, ts_main_t *params )
|
||||||
w->ts_muxrate = params->muxrate;
|
w->ts_muxrate = params->muxrate;
|
||||||
w->cbr = params->cbr;
|
w->cbr = params->cbr;
|
||||||
w->legacy_constraints = params->legacy_constraints;
|
w->legacy_constraints = params->legacy_constraints;
|
||||||
|
w->lowlatency = params->lowlatency;
|
||||||
|
|
||||||
w->pcr_period = params->pcr_period ? params->pcr_period : PCR_MAX_RETRANS_TIME;
|
w->pcr_period = params->pcr_period ? params->pcr_period : PCR_MAX_RETRANS_TIME;
|
||||||
w->pat_period = params->pat_period ? params->pat_period : PAT_MAX_RETRANS_TIME;
|
w->pat_period = params->pat_period ? params->pat_period : PAT_MAX_RETRANS_TIME;
|
||||||
|
|
|
@ -315,6 +315,7 @@ typedef struct ts_main_t
|
||||||
int muxrate;
|
int muxrate;
|
||||||
int cbr;
|
int cbr;
|
||||||
int ts_type;
|
int ts_type;
|
||||||
|
int lowlatency;
|
||||||
|
|
||||||
int network_pid;
|
int network_pid;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue