amc: Fix matrix constness in _get_transform_matrix()

This commit is contained in:
Xavier Claessens 2019-04-25 14:50:43 -04:00
parent ad7c4f5f27
commit 50cdaf1036
3 changed files with 4 additions and 4 deletions

View file

@ -78,7 +78,7 @@ gst_amc_surface_texture_attach_to_gl_context (GstAmcSurfaceTexture * self,
gboolean gboolean
gst_amc_surface_texture_get_transform_matrix (GstAmcSurfaceTexture * self, gst_amc_surface_texture_get_transform_matrix (GstAmcSurfaceTexture * self,
const gfloat * matrix, GError ** err) gfloat * matrix, GError ** err)
{ {
GstAmcSurfaceTextureClass *klass; GstAmcSurfaceTextureClass *klass;
klass = GST_AMC_SURFACE_TEXTURE_GET_CLASS (self); klass = GST_AMC_SURFACE_TEXTURE_GET_CLASS (self);

View file

@ -54,7 +54,7 @@ struct _GstAmcSurfaceTextureClass
GError ** err); GError ** err);
gboolean (* get_transform_matrix) (GstAmcSurfaceTexture *texture, gboolean (* get_transform_matrix) (GstAmcSurfaceTexture *texture,
const gfloat *matrix, gfloat *matrix,
GError ** err); GError ** err);
gboolean (* get_timestamp) (GstAmcSurfaceTexture *texture, gboolean (* get_timestamp) (GstAmcSurfaceTexture *texture,
@ -88,7 +88,7 @@ gboolean gst_amc_surface_texture_attach_to_gl_context (GstAmcSurfaceTexture *
GError ** err); GError ** err);
gboolean gst_amc_surface_texture_get_transform_matrix (GstAmcSurfaceTexture *texture, gboolean gst_amc_surface_texture_get_transform_matrix (GstAmcSurfaceTexture *texture,
const gfloat *matrix, gfloat *matrix,
GError ** err); GError ** err);
gboolean gst_amc_surface_texture_get_timestamp (GstAmcSurfaceTexture *texture, gboolean gst_amc_surface_texture_get_timestamp (GstAmcSurfaceTexture *texture,

View file

@ -210,7 +210,7 @@ gst_amc_surface_texture_jni_attach_to_gl_context (GstAmcSurfaceTexture * base,
static gboolean static gboolean
gst_amc_surface_texture_jni_get_transform_matrix (GstAmcSurfaceTexture * base, gst_amc_surface_texture_jni_get_transform_matrix (GstAmcSurfaceTexture * base,
const gfloat * matrix, GError ** err) gfloat * matrix, GError ** err)
{ {
GstAmcSurfaceTextureJNI *self = GST_AMC_SURFACE_TEXTURE_JNI (base); GstAmcSurfaceTextureJNI *self = GST_AMC_SURFACE_TEXTURE_JNI (base);
JNIEnv *env; JNIEnv *env;