From 81716909fe34804655a7e962dce55f7fbf60cb66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 27 May 2014 08:51:09 +0200 Subject: [PATCH] Revert "androidmedia: Place some const keywords in a few places" This reverts commit 3078b3a34c1f75b86bd629df1cd7c089a0f69999. gst_video_frame_map() doesn't take a const GstVideoInfo*, so all this is rather useless. --- sys/androidmedia/gstamc.c | 4 ++-- sys/androidmedia/gstamc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/androidmedia/gstamc.c b/sys/androidmedia/gstamc.c index c1d23d4200..0c81533417 100644 --- a/sys/androidmedia/gstamc.c +++ b/sys/androidmedia/gstamc.c @@ -2393,9 +2393,9 @@ gst_amc_color_format_info_set (GstAmcColorFormatInfo * color_format_info, * platform/frameworks/media/libstagefright/colorconversion/ColorConversion.cpp */ gboolean -gst_amc_color_format_copy (const GstAmcColorFormatInfo * cinfo, +gst_amc_color_format_copy (GstAmcColorFormatInfo * cinfo, GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info, - const GstVideoInfo * vinfo, GstBuffer * vbuffer, + GstVideoInfo * vinfo, GstBuffer * vbuffer, GstAmcColorFormatCopyDirection direction) { gboolean ret = FALSE; diff --git a/sys/androidmedia/gstamc.h b/sys/androidmedia/gstamc.h index afddbc56ff..aa0ff4648f 100644 --- a/sys/androidmedia/gstamc.h +++ b/sys/androidmedia/gstamc.h @@ -143,8 +143,8 @@ typedef enum } GstAmcColorFormatCopyDirection; gboolean gst_amc_color_format_copy ( - const GstAmcColorFormatInfo * cinfo, GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info, - const GstVideoInfo * vinfo, GstBuffer * vbuffer, GstAmcColorFormatCopyDirection direction); + GstAmcColorFormatInfo * cinfo, GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info, + GstVideoInfo * vinfo, GstBuffer * vbuffer, GstAmcColorFormatCopyDirection direction); const gchar * gst_amc_avc_profile_to_string (gint profile, const gchar **alternative); gint gst_amc_avc_profile_from_string (const gchar *profile);