[FFmpeg-devel] [RFC] The Big Bump

Jason Garrett-Glaser jason
Thu Feb 3 22:43:38 CET 2011

On Thu, Feb 3, 2011 at 1:35 PM, Justin Ruggles <justin.ruggles at gmail.com> wrote:
> On 02/03/2011 04:32 PM, Justin Ruggles wrote:
>> On 02/03/2011 03:24 PM, Jason Garrett-Glaser wrote:
>>> We should definitely remove all codec-specific options in
>>> AVCodecContext. ?We should also reorder the options to work with
>>> ffmpeg-mt, like x264 does -- so that copying a codec state to a thread
>>> can be done with a memcpy instead of explicitly copying every option.
>>> That is, make a section of the struct for things that need to be thread-synced.
>> Why would we remove all codec-specific options? ?We only have 1 now, but
>> I want to add some for the AC-3 encoder. ?Or do you just mean we should
>> specify strict requirements for how codec-specific options are used and
>> change our 1 existing option to fit those requirements?
> Oh wait, I realized that I think I misunderstood you as soon as I
> pressed send... ?You mean to remove all fields in AVCodecContext that
> are only used by 1 codec and put them in each corresponding private
> context as a codec-specific AVOption?

Yes.  AVCodeccontext is a gigantic mess.


More information about the ffmpeg-devel mailing list