diff options
author | waker <wakeroid@gmail.com> | 2013-08-17 22:26:02 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2013-08-17 22:26:02 +0200 |
commit | 6f76b72db553b69048c7aaf562e1f2425d018d3c (patch) | |
tree | d47a0823b4164d3393e12ebfb1eb0cc94cf62132 /streamer.c | |
parent | 610339056ac671a491371be8f02b40f72f8ee874 (diff) |
update ctmapping in streamer when GUI changes it
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -843,6 +843,7 @@ streamer_set_current (playItem_t *it) { *sc = 0; } + // FIXME: can be race condition if config changes during this ctmap = streamer_ctmap; while (ctmap) { if (!strcmp (cct, ctmap->ct)) { @@ -2333,6 +2334,9 @@ streamer_configchanged (void) { formatchanged = 1; streamer_reset (1); } + + // FIXME: only if changed (can compare strings) + ctmap_init (); } void |