androidmedia: Place some const keywords in a few places

This commit is contained in:
Sebastian Dröge 2014-05-26 16:31:11 +02:00
parent 8e0bbc9e32
commit 3078b3a34c
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 (GstAmcColorFormatInfo * cinfo,
gst_amc_color_format_copy (const GstAmcColorFormatInfo * cinfo,
GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info,
GstVideoInfo * vinfo, GstBuffer * vbuffer,
const GstVideoInfo * vinfo, GstBuffer * vbuffer,
GstAmcColorFormatCopyDirection direction)
{
gboolean ret = FALSE;

View file

@ -143,8 +143,8 @@ typedef enum
} GstAmcColorFormatCopyDirection;
gboolean gst_amc_color_format_copy (
GstAmcColorFormatInfo * cinfo, GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info,
GstVideoInfo * vinfo, GstBuffer * vbuffer, GstAmcColorFormatCopyDirection direction);
const GstAmcColorFormatInfo * cinfo, GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info,
const 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);