Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts input: fix compilation error for ENABLE_TSDEBUG
  • Loading branch information
perexg committed Mar 11, 2016
1 parent 55db3a5 commit e8d27ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input/mpegts/mpegts_input.c
Expand Up @@ -841,12 +841,12 @@ mpegts_input_started_mux
if (tvheadend_tsdebug) {
mpegts_mux_nice_name(mmi->mmi_mux, buf, sizeof(buf));
snprintf(path, sizeof(path), "%s/%s-%li-%p-mux.ts", tvheadend_tsdebug,
buf, (long)dispatch_clock, mi);
buf, (long)mono2sec(mclk()), mi);
mmi->mmi_mux->mm_tsdebug_fd = tvh_open(path, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR);
if (mmi->mmi_mux->mm_tsdebug_fd < 0)
tvherror("tsdebug", "unable to create file '%s' (%i)", path, errno);
snprintf(path, sizeof(path), "%s/%s-%li-%p-input.ts", tvheadend_tsdebug,
buf, (long)dispatch_clock, mi);
buf, (long)mono2sec(mclk()), mi);
mmi->mmi_mux->mm_tsdebug_fd2 = tvh_open(path, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR);
if (mmi->mmi_mux->mm_tsdebug_fd2 < 0)
tvherror("tsdebug", "unable to create file '%s' (%i)", path, errno);
Expand Down

0 comments on commit e8d27ca

Please sign in to comment.