Commit a547a961 authored by Ludovic Fauvet's avatar Ludovic Fauvet

playback service: change spu functions name to be consistent

parent 71f43f76
......@@ -682,7 +682,7 @@ playback_service_list_get_item_at(playback_service *p_ps, unsigned int i_index)
}
Eina_List*
playback_service_spu_get_list(playback_service *p_ps)
playback_service_spu_channel_get_list(playback_service *p_ps)
{
Eina_List *list = NULL;
int count = emotion_object_spu_channel_count(p_ps->p_e);
......@@ -696,7 +696,7 @@ playback_service_spu_get_list(playback_service *p_ps)
}
void
playback_service_spu_set(playback_service *p_ps, int spu)
playback_service_spu_channel_set(playback_service *p_ps, int spu)
{
emotion_object_spu_channel_set(p_ps->p_e, spu);
}
......
......@@ -155,10 +155,10 @@ media_item *
playback_service_list_get_item_at(playback_service *p_ps, unsigned int i_index);
Eina_List*
playback_service_spu_get_list(playback_service *p_ps);
playback_service_spu_channel_get_list(playback_service *p_ps);
void
playback_service_spu_set(playback_service *p_ps, int spu);
playback_service_spu_channel_set(playback_service *p_ps, int spu);
Eina_List*
playback_service_audio_channel_get_list(playback_service *p_ps);
......
......@@ -108,7 +108,7 @@ spu_selected(void *data, Evas_Object *obj, void *event_info)
int index = elm_genlist_item_index_get(it_parent);
// Disable subtitles is -1, first is 0 so index -2.
playback_service_spu_set(p_sys->p_ps, index - 2);
playback_service_spu_channel_set(p_sys->p_ps, index - 2);
evas_object_del(obj);
}
......@@ -139,7 +139,7 @@ clicked_spu(void *data, Evas_Object *obj, void *event_info)
evas_object_del(p_sys->p_current_popup);
// Get the list of spu
spu_list = playback_service_spu_get_list(p_sys->p_ps);
spu_list = playback_service_spu_channel_get_list(p_sys->p_ps);
// Prepend the "disable subtitles"
spu_list = eina_list_prepend(spu_list, "Disable subtitles");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment