Run OpenGl plugin

Matthew Waters ystreet00 at gmail.com
Wed Jul 6 13:53:49 UTC 2016


On 06/07/16 22:00, Potoman wrote:
> Yes yes, I have change all name :
>
> GstGlVideoMixer, by GstGlTestVideoMixer.
>
> And all of the define.
>
> Like :
>
> #define GST_TYPE_GL_TEST_VIDEO_MIXER           
> (gst_gl_TestVideoMixer_get_type())
> #define GST_GL_TEST_VIDEO_MIXER(obj)           
> (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GL_TEST_VIDEO_MIXER,GstGLTestVideoMixer))
> #define GST_IS_GL_TEST_VIDEO_MIXER(obj)        
> (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GL_TEST_VIDEO_MIXER))
> #define GST_GL_TEST_VIDEO_MIXER_CLASS(klass)   
> (G_TYPE_CHECK_CLASS_CAST((klass)
> ,GST_TYPE_GL_TEST_VIDEO_MIXER,GstGLTestVideoMixerClass))
> #define GST_IS_GL_TEST_VIDEO_MIXER_CLASS(klass)
> (G_TYPE_CHECK_CLASS_TYPE((klass) ,GST_TYPE_GL_TEST_VIDEO_MIXER))
> #define GST_GL_TEST_VIDEO_MIXER_GET_CLASS(obj) 
> (G_TYPE_INSTANCE_GET_CLASS((obj)
> ,GST_TYPE_GL_TEST_VIDEO_MIXER,GstGLTestVideoMixerClass))
>
> The thing you're going to say is, 
>
> In addition to modify the name into gstglvideomixer.c (which become
> gstgltestvideomiver.c),
>
> I have to modify gstglbasemixer.c to gstgltestbasemixer.c and change
> everithing into ?
>
> I have to do the same for the other two file ?

Yes, that's the only way if you want to keep your plugin separate.

Ideally those classes should be moved into the libgstgl library however
that's waiting on GstAggregator/GstVideoAggregator moving to -base.

Cheers
-Matt

> Thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160706/862a8aa6/attachment.sig>


More information about the gstreamer-devel mailing list