changeset 1521:55599fd64a23 libavformat

parse video frame headers to get key flag
author bcoudurier
date Thu, 16 Nov 2006 15:49:54 +0000
parents fe46e04555a5
children 68620a6be643
files mxf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Thu Nov 16 12:27:43 2006 +0000
+++ b/mxf.c	Thu Nov 16 15:49:54 2006 +0000
@@ -896,6 +896,7 @@
             st->codec->width = descriptor->width;
             st->codec->height = descriptor->height;
             st->codec->bits_per_sample = descriptor->bits_per_sample; /* Uncompressed */
+            st->need_parsing = 2; /* only parse headers */
         } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
             container_ul = mxf_get_codec_ul(mxf_sound_essence_container_uls, &descriptor->essence_container_ul);
             if (st->codec->codec_id == CODEC_ID_NONE)