[FFmpeg-devel] [PATCH/RFC] Per-codec option system
Wed Sep 30 10:17:19 CEST 2009
On Tue, Sep 29, 2009 at 05:13:24PM -0700, Jason Garrett-Glaser wrote:
> > As Mans noted maybe this is not necessary.
> How are we supposed to know whether to set the per-codec defaults, or
> whether to use the avcodec global defaults?
The obvious way is to use per codec defaults where available and global
defaults where not.
avcodec_get_context_defaults2() could trvially do that if it was given the
codec id, that is no matter which APIs and implementations are used ...
> We need some way of signalling which API we are using.
there should be just one API
Note, ive not read the other replies in this thread, this one just looked
small and easy to awnser
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel