gnash-commit
[Top][All Lists]
Advanced

[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


From: Sandro Santilli
Subject: 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...
Date: 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..).

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]