[FFmpeg-devel] [PATCH] Make a clear distinction between an unsupported codec and an unknown one
Stefano Sabatini
stefano.sabatini-lala
Tue Sep 2 00:38:39 CEST 2008
On date Monday 2008-09-01 23:41:28 +0200, Stefano Sabatini encoded:
> On date Monday 2008-09-01 23:28:52 +0200, Stefano Sabatini encoded:
> [...]
> > We could have a structure named which could specify the *specific*
> > formats supported by the codec, which could support a subset/superset
> > of the referenced stream format, and could be done like this:
> >
> > typedef struct {
> > AVCodec *codec; ///< codec owner
> > AVStreamFormat *format; ///< format referenced
> > int capabilities; ///< specific capabilities supported by the codec
> > constraints ...
> > } AVCodecStreamFormat;
> >
> > Then every codec could have a list of supported AVCodecStreamFormats
> > in decoding and in encoding, each one referencing to a specific
> > AVStreamFormat.
>
> OK maybe this isn't a good idea and could result messy, would be
> simpler having just one codec per format.
Err.. I meant "just one format per codec", sorry for the noise...
Regards.
--
FFmpeg = Fiendish Frightening Majestic Pitiful Ecletic Gem
More information about the ffmpeg-devel
mailing list