Re: [FFmpeg-devel] [PATCH] Media 100i decoder

2022-09-23 Thread Paul B Mahol
On 9/22/22, Andreas Rheinhardt wrote: > Paul B Mahol: >> On 9/22/22, Anton Khirnov wrote: >>> Should be straightforward to forward get_buffer2() and support >>> AV_CODEC_CAP_DR1. >> >> How ? >> > > You copy the get_buffer2 callback as well as AVCodecContext.opaque to > the subdecoder. Still tri

Re: [FFmpeg-devel] [PATCH] Media 100i decoder

2022-09-22 Thread Andreas Rheinhardt
Paul B Mahol: > On 9/22/22, Anton Khirnov wrote: >> Should be straightforward to forward get_buffer2() and support >> AV_CODEC_CAP_DR1. > > How ? > You copy the get_buffer2 callback as well as AVCodecContext.opaque to the subdecoder. - Andreas ___ ff

Re: [FFmpeg-devel] [PATCH] Media 100i decoder

2022-09-22 Thread Paul B Mahol
On 9/22/22, Anton Khirnov wrote: > Should be straightforward to forward get_buffer2() and support > AV_CODEC_CAP_DR1. How ? > > -- > Anton Khirnov > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-

Re: [FFmpeg-devel] [PATCH] Media 100i decoder

2022-09-22 Thread Anton Khirnov
Should be straightforward to forward get_buffer2() and support AV_CODEC_CAP_DR1. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-d

Re: [FFmpeg-devel] [PATCH] Media 100i decoder

2022-09-22 Thread Paul B Mahol
On 9/22/22, Andreas Rheinhardt wrote: > Paul B Mahol: >> Subject: [PATCH] avcodec: add Media 100i decoder >> >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/Makefile | 1 + >> libavcodec/allcodecs.c | 1 + >> libavcodec/codec_desc.c | 7 ++ >> libavcodec/codec_id.h | 1 + >> l

Re: [FFmpeg-devel] [PATCH] Media 100i decoder

2022-09-21 Thread Andreas Rheinhardt
Paul B Mahol: > Subject: [PATCH] avcodec: add Media 100i decoder > > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/codec_id.h | 1 + > libavcodec/media100.c | 216

[FFmpeg-devel] [PATCH] Media 100i decoder

2022-09-21 Thread Paul B Mahol
Patch attached. From 05c426fe110d788830ab322433ed12319a921b05 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 21 Sep 2022 18:22:33 +0200 Subject: [PATCH] avcodec: add Media 100i decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + liba