summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/emotion/src/lib/emotion_smart.c')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 48eafdacc7..8a80f838db 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -999,6 +999,29 @@ emotion_object_video_mute_get(const Evas_Object *obj)
999 return sd->module->video_channel_mute_get(sd->video_data); 999 return sd->module->video_channel_mute_get(sd->video_data);
1000} 1000}
1001 1001
1002EAPI void
1003emotion_object_video_subtitle_file_set(Evas_Object *obj, const char *filepath)
1004{
1005 Smart_Data *sd;
1006
1007 E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
1008 DBG("subtitle=%s", filepath);
1009 if (!sd->module) return;
1010 if (!sd->video_data) return;
1011 sd->module->video_subtitle_file_set(sd->video_data, filepath);
1012}
1013
1014EAPI const char *
1015emotion_object_video_subtitle_file_get(const Evas_Object *obj)
1016{
1017 Smart_Data *sd;
1018
1019 E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0);
1020 if (!sd->module) return EINA_FALSE;
1021 if (!sd->video_data) return EINA_FALSE;
1022 return sd->module->video_subtitle_file_get(sd->video_data);
1023}
1024
1002EAPI int 1025EAPI int
1003emotion_object_video_channel_count(const Evas_Object *obj) 1026emotion_object_video_channel_count(const Evas_Object *obj)
1004{ 1027{