[FFmpeg-devel] [RFC] The Big Bump
Justin Ruggles
justin.ruggles
Thu Feb 3 22:35:19 CET 2011
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?
-Justin
More information about the ffmpeg-devel
mailing list