Mercurial > libavformat.hg
changeset 1198:228e2357ff93 libavformat
add some debug infos
author | bcoudurier |
---|---|
date | Sat, 29 Jul 2006 13:18:24 +0000 |
parents | 75bfe00a5d30 |
children | 49d1cf75bb81 |
files | mxf.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mxf.c Sat Jul 29 13:13:08 2006 +0000 +++ b/mxf.c Sat Jul 29 13:18:24 2006 +0000 @@ -221,6 +221,9 @@ av_log(s, AV_LOG_ERROR, "error reading KLV packet\n"); return -1; } +#ifdef DEBUG + PRINT_KEY(klv.key); +#endif if (IS_KLV_KEY(klv.key, mxf_essence_element_key)) { av_get_packet(&s->pb, pkt, klv.length); pkt->stream_index = mxf_get_stream_index(s, &klv); @@ -816,6 +819,9 @@ av_log(s, AV_LOG_ERROR, "error reading KLV packet\n"); return -1; } +#ifdef DEBUG + PRINT_KEY(klv.key); +#endif if (IS_KLV_KEY(klv.key, mxf_metadata_track_key)) ret = mxf_read_metadata_track(mxf, &klv); else if (IS_KLV_KEY(klv.key, mxf_metadata_static_track_key))