summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-05-27 08:51:09 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-05-27 08:51:39 +0200
commit81716909fe34804655a7e962dce55f7fbf60cb66 (patch)
tree33bd9c5cfa32abcbd6bfea600beb663c0e2aa016 /sys
parent397928714dbc6c8d70d2c56deeed1802a0020252 (diff)
downloadgstreamer-plugins-bad-81716909fe34804655a7e962dce55f7fbf60cb66.tar.gz
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/androidmedia/gstamc.c4
-rw-r--r--sys/androidmedia/gstamc.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/androidmedia/gstamc.c b/sys/androidmedia/gstamc.c
index c1d23d420..0c8153341 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 afddbc56f..aa0ff4648 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);