omx: Rename function from _4_ to _for_ for clarity

This commit is contained in:
Sebastian Dröge 2014-03-12 12:47:34 +01:00
parent 6bf4d9a498
commit a04ef276e5
4 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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