mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
amc: Fix matrix constness in _get_transform_matrix()
This commit is contained in:
parent
ad7c4f5f27
commit
50cdaf1036
3 changed files with 4 additions and 4 deletions
|
@ -78,7 +78,7 @@ gst_amc_surface_texture_attach_to_gl_context (GstAmcSurfaceTexture * self,
|
|||
|
||||
gboolean
|
||||
gst_amc_surface_texture_get_transform_matrix (GstAmcSurfaceTexture * self,
|
||||
const gfloat * matrix, GError ** err)
|
||||
gfloat * matrix, GError ** err)
|
||||
{
|
||||
GstAmcSurfaceTextureClass *klass;
|
||||
klass = GST_AMC_SURFACE_TEXTURE_GET_CLASS (self);
|
||||
|
|
|
@ -54,7 +54,7 @@ struct _GstAmcSurfaceTextureClass
|
|||
GError ** err);
|
||||
|
||||
gboolean (* get_transform_matrix) (GstAmcSurfaceTexture *texture,
|
||||
const gfloat *matrix,
|
||||
gfloat *matrix,
|
||||
GError ** err);
|
||||
|
||||
gboolean (* get_timestamp) (GstAmcSurfaceTexture *texture,
|
||||
|
@ -88,7 +88,7 @@ gboolean gst_amc_surface_texture_attach_to_gl_context (GstAmcSurfaceTexture *
|
|||
GError ** err);
|
||||
|
||||
gboolean gst_amc_surface_texture_get_transform_matrix (GstAmcSurfaceTexture *texture,
|
||||
const gfloat *matrix,
|
||||
gfloat *matrix,
|
||||
GError ** err);
|
||||
|
||||
gboolean gst_amc_surface_texture_get_timestamp (GstAmcSurfaceTexture *texture,
|
||||
|
|
|
@ -210,7 +210,7 @@ gst_amc_surface_texture_jni_attach_to_gl_context (GstAmcSurfaceTexture * base,
|
|||
|
||||
static gboolean
|
||||
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);
|
||||
JNIEnv *env;
|
||||
|
|
Loading…
Reference in a new issue