Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP: always add pids 0,21 for broken devices like Fritz!
  • Loading branch information
perexg committed Nov 3, 2016
1 parent 3fc3547 commit 203af79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -695,6 +695,10 @@ satip_frontend_update_pids
mpegts_pid_add(&tr->sf_pids, mp->mp_pid, mps->mps_weight);
}
}
if (lfe->sf_device->sd_pids0)
mpegts_pid_add(&tr->sf_pids, 0, MPS_WEIGHT_PMT_SCAN);
if (lfe->sf_device->sd_pids21)
mpegts_pid_add(&tr->sf_pids, 21, MPS_WEIGHT_PMT_SCAN);
}
pthread_mutex_unlock(&lfe->sf_dvr_lock);

Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/satip/satip_rtsp.c
Expand Up @@ -232,7 +232,7 @@ satip_rtsp_setup( http_client_t *hc, int src, int fe,
if (flags & SATIP_SETUP_PIDS21)
strcat(buf, ",21");
} else if (flags & SATIP_SETUP_PIDS21)
strcat(buf, "&pids=21");
strcat(buf, "&pids=21");
tvhtrace(LS_SATIP, "setup params - %s", buf);
if (hc->hc_rtsp_stream_id >= 0)
snprintf(stream = _stream, sizeof(_stream), "/stream=%li",
Expand Down

0 comments on commit 203af79

Please sign in to comment.