mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
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:
parent
397928714d
commit
81716909fe
2 changed files with 4 additions and 4 deletions
|
@ -2393,9 +2393,9 @@ gst_amc_color_format_info_set (GstAmcColorFormatInfo * color_format_info,
|
||||||
* platform/frameworks/media/libstagefright/colorconversion/ColorConversion.cpp
|
* platform/frameworks/media/libstagefright/colorconversion/ColorConversion.cpp
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
gst_amc_color_format_copy (const GstAmcColorFormatInfo * cinfo,
|
gst_amc_color_format_copy (GstAmcColorFormatInfo * cinfo,
|
||||||
GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info,
|
GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info,
|
||||||
const GstVideoInfo * vinfo, GstBuffer * vbuffer,
|
GstVideoInfo * vinfo, GstBuffer * vbuffer,
|
||||||
GstAmcColorFormatCopyDirection direction)
|
GstAmcColorFormatCopyDirection direction)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
|
|
|
@ -143,8 +143,8 @@ typedef enum
|
||||||
} GstAmcColorFormatCopyDirection;
|
} GstAmcColorFormatCopyDirection;
|
||||||
|
|
||||||
gboolean gst_amc_color_format_copy (
|
gboolean gst_amc_color_format_copy (
|
||||||
const GstAmcColorFormatInfo * cinfo, GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info,
|
GstAmcColorFormatInfo * cinfo, GstAmcBuffer * cbuffer, const GstAmcBufferInfo * cbuffer_info,
|
||||||
const GstVideoInfo * vinfo, GstBuffer * vbuffer, GstAmcColorFormatCopyDirection direction);
|
GstVideoInfo * vinfo, GstBuffer * vbuffer, GstAmcColorFormatCopyDirection direction);
|
||||||
|
|
||||||
const gchar * gst_amc_avc_profile_to_string (gint profile, const gchar **alternative);
|
const gchar * gst_amc_avc_profile_to_string (gint profile, const gchar **alternative);
|
||||||
gint gst_amc_avc_profile_from_string (const gchar *profile);
|
gint gst_amc_avc_profile_from_string (const gchar *profile);
|
||||||
|
|
Loading…
Reference in a new issue