diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-01-12 19:41:27 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-01-12 19:41:27 +0100 |
commit | 9164c7e5fd57ed4f5d503c96c97125a90c335b00 (patch) | |
tree | 55a71e5aa5fdb4af558c1ba98bab6d69eabec4f6 /src/DabMux.cpp | |
parent | c004b44ad7d0dba8e602875e8a367cd7c4008df1 (diff) | |
download | dabmux-9164c7e5fd57ed4f5d503c96c97125a90c335b00.tar.gz dabmux-9164c7e5fd57ed4f5d503c96c97125a90c335b00.tar.bz2 dabmux-9164c7e5fd57ed4f5d503c96c97125a90c335b00.zip |
Define User Application Type in configuration file
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r-- | src/DabMux.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 4d3af58..1853da1 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -1672,7 +1672,8 @@ int main(int argc, char *argv[]) } if ( transmitFIG0_13programme && - (*subchannel)->type == Audio) { // audio + (*subchannel)->type == Audio && + (*componentFIG0_13)->audio.uaType != 0xffff) { if (fig0 == NULL) { fig0 = (FIGtype0*)&etiFrame[index]; fig0->FIGtypeNumber = 0; @@ -1699,7 +1700,7 @@ int main(int argc, char *argv[]) fig0->Length += 3; FIG0_13_app* app = (FIG0_13_app*)&etiFrame[index]; - app->setType(FIG0_13_APPTYPE_SLIDESHOW); + app->setType((*componentFIG0_13)->audio.uaType); app->length = 4; app->xpad = htonl(0x0cbc0000); /* xpad meaning |