Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: signal channel layouts using the new channel layout api

2024-03-16 Thread Marton Balint
On Thu, 14 Mar 2024, Tomas Härdin wrote: fre 2024-03-08 klockan 21:13 +0100 skrev Marton Balint: Signed-off-by: Marton Balint ---  libavformat/mxfdec.c | 129 ++--- --  1 file changed, 53 insertions(+), 76 deletions(-) No idea how the new API works, but

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: signal channel layouts using the new channel layout api

2024-03-14 Thread Tomas Härdin
fre 2024-03-08 klockan 21:13 +0100 skrev Marton Balint: > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 129 ++--- > -- >  1 file changed, 53 insertions(+), 76 deletions(-) No idea how the new API works, but it's less code which seems nice.

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: signal channel layouts using the new channel layout api

2024-03-08 Thread Anton Khirnov
Quoting Marton Balint (2024-03-08 21:13:59) > +ret = av_channel_layout_retype(ch_layout, AV_CHANNEL_ORDER_NATIVE, > AV_CHANNEL_LAYOUT_RETYPE_FLAG_LOSSLESS); > +if (ret == AVERROR(ENOSYS)) > +ret = av_channel_layout_retype(ch_layout, AV_CHANNEL_ORDER_UNSPEC, >

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: signal channel layouts using the new channel layout api

2024-03-08 Thread Marton Balint
On Fri, 8 Mar 2024, James Almer wrote: On 3/8/2024 5:13 PM, Marton Balint wrote: Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 129 ++- 1 file changed, 53 insertions(+), 76 deletions(-) diff --git a/libavformat/mxfdec.c

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: signal channel layouts using the new channel layout api

2024-03-08 Thread James Almer
On 3/8/2024 5:13 PM, Marton Balint wrote: Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 129 ++- 1 file changed, 53 insertions(+), 76 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 289db9833c..e2f4a22983 100644

[FFmpeg-devel] [PATCH] avformat/mxfdec: signal channel layouts using the new channel layout api

2024-03-08 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 129 ++- 1 file changed, 53 insertions(+), 76 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 289db9833c..e2f4a22983 100644 --- a/libavformat/mxfdec.c +++