Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP Server: use ths_raw_service instead ths_service
  • Loading branch information
perexg committed Mar 24, 2015
1 parent b941aed commit a1fd6ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/satip/rtsp.c
Expand Up @@ -359,7 +359,7 @@ rtsp_clean(session_t *rs)
}
if (rs->subs) {
while ((sub = LIST_FIRST(&rs->slaves)) != NULL)
rtsp_slave_remove(rs, (mpegts_service_t *)rs->subs->ths_service,
rtsp_slave_remove(rs, (mpegts_service_t *)rs->subs->ths_raw_service,
sub->service);
subscription_unsubscribe(rs->subs, 0);
rs->subs = NULL;
Expand Down Expand Up @@ -407,7 +407,7 @@ rtsp_manage_descramble(session_t *rs)
{
idnode_set_t *found;
mpegts_service_t *s, *snext;
mpegts_service_t *master = (mpegts_service_t *)rs->subs->ths_service;
mpegts_service_t *master = (mpegts_service_t *)rs->subs->ths_raw_service;
size_t si;
int i, used = 0;

Expand Down Expand Up @@ -530,7 +530,7 @@ rtsp_start
pids:
if (!rs->subs)
goto endclean;
svc = (mpegts_service_t *)rs->subs->ths_service;
svc = (mpegts_service_t *)rs->subs->ths_raw_service;
svc->s_update_pids(svc, &rs->pids);
satip_rtp_update_pids((void *)(intptr_t)rs->stream, &rs->pids);
}
Expand All @@ -543,7 +543,7 @@ rtsp_start
rs->udp_rtp->fd, rs->udp_rtcp->fd,
rs->frontend, rs->findex, &rs->mux->lm_tuning,
&rs->pids);
svc = (mpegts_service_t *)rs->subs->ths_service;
svc = (mpegts_service_t *)rs->subs->ths_raw_service;
svc->s_update_pids(svc, &rs->pids);
rs->state = STATE_PLAY;
}
Expand Down

0 comments on commit a1fd6ad

Please sign in to comment.