Skip to content

Commit

Permalink
hls: Add some more debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed May 26, 2015
1 parent 2f28857 commit 58cfc41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/hls/hls.c
Expand Up @@ -547,6 +547,7 @@ hls_segment_open(hls_segment_t *hs)
case HLS_CRYPTO_AES128:

if(!rstr_eq(hs->hs_key_url, hv->hv_key_url)) {
HLS_TRACE(h, "Loading key %s", rstr_get(hs->hs_key_url));
buf_release(hv->hv_key);
hv->hv_key = fa_load(rstr_get(hs->hs_key_url),
FA_LOAD_ERRBUF(errbuf, sizeof(errbuf)),
Expand Down
1 change: 1 addition & 0 deletions src/backend/hls/hls_ts.c
Expand Up @@ -1161,6 +1161,7 @@ hls_ts_demuxer_read(hls_demuxer_t *hd)
if(i != sizeof(td->td_buf) - 188 * 2) {

td->td_mux_mode = TD_MUX_MODE_TS;
HLS_TRACE(h, "Variant %s is a transport stream", hv->hv_name);

while(i <= sizeof(td->td_buf) - 188) {
process_tsb(td, td->td_buf + i, hs);
Expand Down

0 comments on commit 58cfc41

Please sign in to comment.