diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-07-29 13:18:24 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-07-29 13:18:24 +0000 |
commit | 6d0c3bebc733d16d4fb4112a1d39d2aee431f43a (patch) | |
tree | f860dc878bd47e3739c52bb4ba92956de5181065 /libavformat/mxf.c | |
parent | f03b6426dfa3bda6c52c9f7450600dbf0357587c (diff) | |
download | ffmpeg-6d0c3bebc733d16d4fb4112a1d39d2aee431f43a.tar.gz |
add some debug infos
Originally committed as revision 5849 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r-- | libavformat/mxf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index 31b1323939..2032fce324 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -221,6 +221,9 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt) 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 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap) 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)) |