summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-03-12 12:47:34 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-12 12:47:34 +0100
commita04ef276e58523f0193c3d2a8cc75a2741324f6a (patch)
treee77b2a54b4377f473c61270abfc4c8a5e082050e
parent6bf4d9a498ca163a0c431e8a864658922a8bab1f (diff)
omx: Rename function from _4_ to _for_ for clarity
-rw-r--r--omx/gstomxvideo.c2
-rw-r--r--omx/gstomxvideo.h2
-rw-r--r--omx/gstomxvideodec.c2
-rw-r--r--omx/gstomxvideoenc.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/omx/gstomxvideo.c b/omx/gstomxvideo.c
index c282fd2..f48900c 100644
--- a/omx/gstomxvideo.c
+++ b/omx/gstomxvideo.c
@@ -94,7 +94,7 @@ gst_omx_video_get_supported_colorformats (GstOMXPort * port,
}
GstCaps *
-gst_omx_video_get_caps_4_map (GList * map)
+gst_omx_video_get_caps_for_map (GList * map)
{
GstCaps *caps = gst_caps_new_empty ();
GList *l;
diff --git a/omx/gstomxvideo.h b/omx/gstomxvideo.h
index df81654..6ab1b49 100644
--- a/omx/gstomxvideo.h
+++ b/omx/gstomxvideo.h
@@ -42,7 +42,7 @@ GList *
gst_omx_video_get_supported_colorformats (GstOMXPort * port,
GstVideoCodecState * state);
-GstCaps * gst_omx_video_get_caps_4_map(GList * map);
+GstCaps * gst_omx_video_get_caps_for_map(GList * map);
void
gst_omx_video_negotiation_map_free (GstOMXVideoNegotiationMap * m);
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index af93aba..a24282a 100644
--- a/omx/gstomxvideodec.c
+++ b/omx/gstomxvideodec.c
@@ -1634,7 +1634,7 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self)
gst_omx_video_get_supported_colorformats (self->dec_out_port,
self->input_state);
- comp_supported_caps = gst_omx_video_get_caps_4_map (negotiation_map);
+ comp_supported_caps = gst_omx_video_get_caps_for_map (negotiation_map);
if (!gst_caps_is_empty (comp_supported_caps)) {
GstCaps *tmp;
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c
index 9dcbbd1..d1bd3fc 100644
--- a/omx/gstomxvideoenc.c
+++ b/omx/gstomxvideoenc.c
@@ -1680,7 +1680,7 @@ gst_omx_video_enc_getcaps (GstVideoEncoder * encoder, GstCaps * filter)
negotiation_map =
gst_omx_video_get_supported_colorformats (self->enc_in_port,
self->input_state);
- comp_supported_caps = gst_omx_video_get_caps_4_map (negotiation_map);
+ comp_supported_caps = gst_omx_video_get_caps_for_map (negotiation_map);
g_list_free_full (negotiation_map,
(GDestroyNotify) gst_omx_video_negotiation_map_free);