Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts: PID handling - fix thinkos (used wrong field for psi_tables_i…
…nstall
  • Loading branch information
perexg committed May 5, 2015
1 parent 22392fa commit f5fd889
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -541,7 +541,7 @@ linuxdvb_frontend_monitor ( void *aux )

/* Table handlers */
psi_tables_install((mpegts_input_t *)lfe, mm,
((dvb_mux_t *)mm)->lm_tuning.dmc_fe_type);
((dvb_mux_t *)mm)->lm_tuning.dmc_fe_delsys);

/* Re-arm (quick) */
} else {
Expand Down
1 change: 1 addition & 0 deletions src/input/mpegts/mpegts_mux.c
Expand Up @@ -788,6 +788,7 @@ mpegts_mux_update_pids_cb ( void *aux )
mi = mm->mm_active->mmi_input;
if (mi) {
pthread_mutex_lock(&mi->mi_output_lock);
mm->mm_update_pids_flag = 0;
mi->mi_update_pids(mi, mm);
pthread_mutex_unlock(&mi->mi_output_lock);
}
Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -65,7 +65,7 @@ satip_frontend_signal_cb( void *aux )
return;
if (!lfe->sf_tables) {
psi_tables_install(mmi->mmi_input, mmi->mmi_mux,
((dvb_mux_t *)mmi->mmi_mux)->lm_tuning.dmc_fe_type);
((dvb_mux_t *)mmi->mmi_mux)->lm_tuning.dmc_fe_delsys);
lfe->sf_tables = 1;
}
sigstat.status_text = signal2str(lfe->sf_status);
Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c
Expand Up @@ -260,7 +260,7 @@ tvhdhomerun_frontend_monitor_cb( void *aux )

/* install table handlers */
psi_tables_install(mmi->mmi_input, mm,
((dvb_mux_t *)mm)->lm_tuning.dmc_fe_type);
((dvb_mux_t *)mm)->lm_tuning.dmc_fe_delsys);

} else { // quick re-arm the timer to wait for signal lock
gtimer_arm_ms(&hfe->hf_monitor_timer, tvhdhomerun_frontend_monitor_cb, hfe, 50);
Expand Down

0 comments on commit f5fd889

Please sign in to comment.