Skip to content

Commit

Permalink
record hdmi in with ts only
Browse files Browse the repository at this point in the history
  • Loading branch information
ligenxxxx committed Feb 8, 2025
1 parent 155431a commit 847310b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void dvr_star() {
}

static void dvr_update_record_conf() {
if (g_setting.record.format_ts)
if (g_setting.record.format_ts || (g_source_info.source == SOURCE_HDMI_IN))
ini_puts("record", "type", "ts", REC_CONF);
else
ini_puts("record", "type", "mp4", REC_CONF);
Expand Down

0 comments on commit 847310b

Please sign in to comment.