mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
omx: Rename function from _4_ to _for_ for clarity
This commit is contained in:
parent
6bf4d9a498
commit
a04ef276e5
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue