Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP server: improve descramble service selection (pmt based)
  • Loading branch information
perexg committed Feb 18, 2016
1 parent f2b741c commit 9e3e949
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/satip/rtsp.c
Expand Up @@ -402,7 +402,9 @@ rtsp_validate_service(mpegts_service_t *s, mpegts_apids_t *pids)
av = 1;
}
pthread_mutex_unlock(&s->s_stream_mutex);
return enc && av;
if (enc == 0 || av == 0)
return 0;
return pids == NULL || mpegts_pid_wexists(pids, s->s_pmt_pid, MPS_WEIGHT_RAW);
}

/*
Expand Down

0 comments on commit 9e3e949

Please sign in to comment.