pro = profile_find_by_list(htsp->htsp_granted_access->aa_profiles, profile_id,
"htsp", SUBSCRIPTION_PACKET | SUBSCRIPTION_HTSP);
profile_chain_init(&hs->hs_prch, pro, ch, 1);
- if (profile_chain_work(&hs->hs_prch, &hs->hs_input, timeshiftPeriod, 0)) {
+ if (profile_chain_work(&hs->hs_prch, &hs->hs_input, timeshiftPeriod)) {
tvherror(LS_HTSP, "unable to create profile chain '%s'", profile_get_name(pro));
profile_chain_close(&hs->hs_prch);
free(hs);
*/
int
profile_chain_work(profile_chain_t *prch, struct streaming_target *dst,
- uint32_t timeshift_period, profile_work_flags_t flags)
+ uint32_t timeshift_period)
{
profile_t *pro = prch->prch_pro;
if (pro && pro->pro_work)
- return pro->pro_work(prch, dst, timeshift_period, flags);
+ return pro->pro_work(prch, dst, timeshift_period);
return -1;
}
static int
profile_htsp_work(profile_chain_t *prch,
streaming_target_t *dst,
- uint32_t timeshift_period, profile_work_flags_t flags)
+ uint32_t timeshift_period)
{
profile_sharer_t *prsh;
prch->prch_flags = SUBSCRIPTION_PACKET;
prch->prch_sq.sq_maxsize = qsize;
- r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0, 0);
+ r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0);
if (r) {
profile_chain_close(prch);
return r;
prch->prch_flags = SUBSCRIPTION_PACKET;
prch->prch_sq.sq_maxsize = qsize;
- r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0, 0);
+ r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0);
if (r) {
profile_chain_close(prch);
return r;
prch->prch_flags = SUBSCRIPTION_PACKET;
prch->prch_sq.sq_maxsize = qsize;
- r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0, 0);
+ r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0);
if (r) {
profile_chain_close(prch);
return r;
prch->prch_flags = SUBSCRIPTION_PACKET;
prch->prch_sq.sq_maxsize = qsize;
- r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0, 0);
+ r = profile_htsp_work(prch, &prch->prch_sq.sq_st, 0);
if (r) {
profile_chain_close(prch);
return r;
static int
profile_transcode_work(profile_chain_t *prch,
streaming_target_t *dst,
- uint32_t timeshift_period, profile_work_flags_t flags)
+ uint32_t timeshift_period)
{
profile_sharer_t *prsh;
profile_transcode_t *pro = (profile_transcode_t *)prch->prch_pro;
prch->prch_flags = SUBSCRIPTION_PACKET;
prch->prch_sq.sq_maxsize = qsize;
- r = profile_transcode_work(prch, &prch->prch_sq.sq_st, 0, 0);
+ r = profile_transcode_work(prch, &prch->prch_sq.sq_st, 0);
if (r) {
profile_chain_close(prch);
return r;
PROFILE_SVF_UHD
} profile_svfilter_t;
-typedef enum {
- PROFILE_WORK_NONE = 0
-} profile_work_flags_t;
+
struct profile;
struct muxer;
void (*pro_conf_changed)(struct profile *pro);
int (*pro_work)(profile_chain_t *prch, struct streaming_target *dst,
- uint32_t timeshift_period, profile_work_flags_t flags);
+ uint32_t timeshift_period);
int (*pro_reopen)(profile_chain_t *prch, muxer_config_t *m_cfg,
muxer_hints_t *hints, int flags);
int (*pro_open)(profile_chain_t *prch, muxer_config_t *m_cfg,
}
int profile_chain_work(profile_chain_t *prch, struct streaming_target *dst,
- uint32_t timeshift_period, profile_work_flags_t flags);
+ uint32_t timeshift_period);
int profile_chain_reopen(profile_chain_t *prch,
muxer_config_t *m_cfg,
muxer_hints_t *hints, int flags);