tor 2021-09-23 klockan 00:02 +0200 skrev Marton Balint:
On Fri, 17 Sep 2021, Marc-Antoine Arnaud wrote:
> ---
> libavformat/mxf.h | 1 +
> libavformat/mxfdec.c | 277
> ++-
> 2 files changed, 272 insertions(+), 6 deletions(-)
I guess the questionable
On Fri, 17 Sep 2021, Marc-Antoine Arnaud wrote:
---
libavformat/mxf.h| 1 +
libavformat/mxfdec.c | 277 ++-
2 files changed, 272 insertions(+), 6 deletions(-)
I guess the questionable part of this patch is the internal reordering of
audio
---
libavformat/mxf.h| 1 +
libavformat/mxfdec.c | 277 ++-
2 files changed, 272 insertions(+), 6 deletions(-)
diff --git a/libavformat/mxf.h b/libavformat/mxf.h
index fe9c52732c..cddbcb13c9 100644
--- a/libavformat/mxf.h
+++ b/libavformat/mxf.h
@@
ons 2021-09-15 klockan 12:14 +0200 skrev Marc-Antoine Arnaud:
+static int mxf_read_mca_sub_descriptor(void *arg, AVIOContext *pb, int
tag, int size, UID uid, int64_t klv_offset)
+{
+ MXFMCASubDescriptor *mca_sub_descriptor = arg;
+
+ if (IS_KLV_KEY(uid, mxf_mca_prefix)) {
+ if
---
libavformat/mxf.h| 1 +
libavformat/mxfdec.c | 280 ++-
2 files changed, 275 insertions(+), 6 deletions(-)
diff --git a/libavformat/mxf.h b/libavformat/mxf.h
index fe9c52732c..cddbcb13c9 100644
--- a/libavformat/mxf.h
+++ b/libavformat/mxf.h
@@
@@ -2681,6 +2845,88 @@ static int
mxf_parse_structural_metadata(MXFContext *mxf)
st->internal->need_parsing = AVSTREAM_PARSE_FULL;
}
st->codecpar->bits_per_coded_sample =
av_get_bits_per_sample(st->codecpar->codec_id);
+
+ current_channel = 0;
tis 2021-08-24 klockan 13:18 +0200 skrev Marc-Antoine Arnaud:
---
libavformat/mxf.h | 1 +
libavformat/mxfdec.c | 283 ++-
2 files changed, 278 insertions(+), 6 deletions(-)
diff --git a/libavformat/mxf.h b/libavformat/mxf.h
index
---
libavformat/mxf.h| 1 +
libavformat/mxfdec.c | 283 ++-
2 files changed, 278 insertions(+), 6 deletions(-)
diff --git a/libavformat/mxf.h b/libavformat/mxf.h
index fe9c52732c..cddbcb13c9 100644
--- a/libavformat/mxf.h
+++ b/libavformat/mxf.h
@@
---
libavformat/mxf.h| 1 +
libavformat/mxfdec.c | 363 ++-
2 files changed, 358 insertions(+), 6 deletions(-)
diff --git a/libavformat/mxf.h b/libavformat/mxf.h
index fe9c52732c..cddbcb13c9 100644
--- a/libavformat/mxf.h
+++ b/libavformat/mxf.h
@@