diff options
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 |