diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-05-24 23:42:35 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-05-24 23:42:35 +0200 |
commit | f470de09c4215c39387fbe6d85330c90fecea10d (patch) | |
tree | 31dbb58ab8864cbb3029e92e0ae029565f2cbee2 /src/DabMux.cpp | |
parent | 2391d2a38ff9d85f802f2453ffe20fb58915c097 (diff) | |
download | dabmux-f470de09c4215c39387fbe6d85330c90fecea10d.tar.gz dabmux-f470de09c4215c39387fbe6d85330c90fecea10d.tar.bz2 dabmux-f470de09c4215c39387fbe6d85330c90fecea10d.zip |
Labels: use spaces instead of NULs for trailing padding
The NULs ATM used for trailing label padding are not defined in the EBU Latin
based charset we use. As all 16 label bytes must be used, use spaces instead,
like real-world broadcasters do.
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r-- | src/DabMux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 7f946d5..ecbedc4 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -1909,7 +1909,7 @@ int main(int argc, char *argv[]) subchannel = getSubchannel(ensemble->subchannels, (*component)->subchId); - if ((*component)->label.text()[0] != 0) { + if (!((*component)->label.long_label().empty())) { if ((*service)->getType(ensemble) == 0) { // Programme FIGtype1_4_programme *fig1_4; fig1_4 = (FIGtype1_4_programme*)&etiFrame[index]; |