Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb_psi: log ATSC extended channel name
  • Loading branch information
laurimyllari authored and perexg committed Oct 22, 2015
1 parent f8c5e46 commit 04cc31b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/input/mpegts/dvb_psi.c
Expand Up @@ -1701,8 +1701,9 @@ atsc_vct_callback
tag = ptr[32+j];
len = ptr[33+j];
if (tag == ATSC_DESC_EXT_CHANNEL_NAME) {
tvhdebug("vct", " extended channel name, len %d", len);
atsc_get_string(NULL, 0, &ptr[34+j], len, " ");
char extname[512];
atsc_get_string(extname, sizeof(extname), &ptr[34+j], len, "eng");
tvhdebug("vct", " extended channel name: '%s' (%d bytes)", extname, len);
} else {
tvhdebug("vct", " tag 0x%02x, len %d", tag, len);
}
Expand Down

0 comments on commit 04cc31b

Please sign in to comment.