Revert "androidmedia: Place some const keywords in a few places"

This reverts commit 3078b3a34c.

gst_video_frame_map() doesn't take a const GstVideoInfo*, so
all this is rather useless.
This commit is contained in:
Sebastian Dröge 2014-05-27 08:51:09 +02:00
parent 397928714d
commit 81716909fe
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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);