]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Allow MUX retune after editing when tune_failed
authorTrujulu <trujulu@gmail.com>
Tue, 6 Jan 2026 11:41:48 +0000 (12:41 +0100)
committerFlole <Flole998@users.noreply.github.com>
Fri, 9 Jan 2026 23:39:35 +0000 (00:39 +0100)
commit02e7fdfd8723ed95df7a68b4da12c8d63230fd58
tree48226546263359924f3480d462795cd9e601500e
parent4980ee4c9ea2ca5fd829ed5953278e27ef1029e3
Allow MUX retune after editing when tune_failed

Currently, when a MUX instance is marked as mmi_tune_failed, it is not being reset. Because of this, after editing the MUX and correcting its parameters, the MUX cannot be used anymore unless the system is restarted. This issue is addressed by setting mmi->mmi_tune_failed to 0 whenever the MUX is saved.

This can be easily reproduced by setting an out-of-range frequency on any Linux DVB tuner and then trying to play with the MUX settings.
src/input/mpegts/mpegts_mux.c