[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] /srv/bzr/gnash/trunk r9929: call gst_init in VideoDec
Re: [Gnash-commit] /srv/bzr/gnash/trunk r9929: call gst_init in VideoDecoderGst constructor (for consistency with AudioDecoderGst) -- I thikn this may be saner to do in MediaHandlerGst ctor btw...
Mon, 6 Oct 2008 13:05:12 +0200
On Mon, Oct 06, 2008 at 03:48:34AM -0700, Bastiaan Jacques wrote:
> As long as MediaHandlerGst is the only class which can construct a
> *DecoderGst, then that would be good. (Perhaps this can be enforced
> by making the constructors private and making MediaHandlerGst a
> friend class, or something along those lines.)
By design, that's the way it is.
Decoders constructors should only be used by their corresponding
MediaHandler (beside the generic ones..).