summaryrefslogtreecommitdiff
path: root/src/modules/ethumb
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-06-20 15:31:31 +0100
committerTom Hacohen <tom@stosb.com>2016-06-20 18:02:00 +0100
commit6202cc7485a54dea6f02a2668e7c907247902dd1 (patch)
tree7a1fa2b61175b1ef75a9bff7299a0ce3daa45216 /src/modules/ethumb
parentd648eb5311585f7392d0290640ba133814b52589 (diff)
Adjust the code according to the eo event stop changes.
This was changed in the previous commit.
Diffstat (limited to 'src/modules/ethumb')
-rw-r--r--src/modules/ethumb/emotion/emotion.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/modules/ethumb/emotion/emotion.c b/src/modules/ethumb/emotion/emotion.c
index e9a9eeee67..8fe042409a 100644
--- a/src/modules/ethumb/emotion/emotion.c
+++ b/src/modules/ethumb/emotion/emotion.c
@@ -80,7 +80,7 @@ _resize_movie(struct _emotion_plugin *_plugin)
80 emotion_object_audio_mute_set(_plugin->video, 1); 80 emotion_object_audio_mute_set(_plugin->video, 1);
81} 81}
82 82
83static Eina_Bool 83static void
84_frame_decode_cb(void *data, const Eo_Event *event EINA_UNUSED) 84_frame_decode_cb(void *data, const Eo_Event *event EINA_UNUSED)
85{ 85{
86 struct _emotion_plugin *_plugin = data; 86 struct _emotion_plugin *_plugin = data;
@@ -90,18 +90,16 @@ _frame_decode_cb(void *data, const Eo_Event *event EINA_UNUSED)
90 else 90 else
91 _frame_grab_single(data); 91 _frame_grab_single(data);
92 92
93 return EINA_TRUE; 93 return;
94 } 94 }
95 95
96static Eina_Bool 96static void
97_frame_resized_cb(void *data, const Eo_Event *event EINA_UNUSED) 97_frame_resized_cb(void *data, const Eo_Event *event EINA_UNUSED)
98{ 98{
99 _resize_movie(data); 99 _resize_movie(data);
100
101 return EINA_TRUE;
102} 100}
103 101
104static Eina_Bool 102static void
105_video_stopped_cb(void *data, const Eo_Event *event EINA_UNUSED) 103_video_stopped_cb(void *data, const Eo_Event *event EINA_UNUSED)
106{ 104{
107 struct _emotion_plugin *_plugin = data; 105 struct _emotion_plugin *_plugin = data;
@@ -111,8 +109,6 @@ _video_stopped_cb(void *data, const Eo_Event *event EINA_UNUSED)
111 _plugin->ptotal = 0; 109 _plugin->ptotal = 0;
112 _plugin->first = EINA_FALSE; 110 _plugin->first = EINA_FALSE;
113 _plugin->total_time = _plugin->tmp_time; 111 _plugin->total_time = _plugin->tmp_time;
114
115 return EINA_TRUE;
116} 112}
117 113
118static void 114static void