summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-06-20 17:36:13 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-06-20 17:36:13 +0000
commitc1f20d3e6b8fccf66b133049f806fca0c512664e (patch)
treec00cf5f8b97d58e488c6d76ba55ba752ca474bc2 /legacy/emotion/src/lib
parent2a93705baf38f2a9885225d28c08d2e97e8ef02b (diff)
emotion: add a gstreamer sink.
This work was first started by Vincent Torri and Nicolas Aguirre. I took the necessary time to make it work and included inside emotion with Samsung sponsorship. This code is not yet completly clean and fast, but it work and make it possible to add more speed improvement later. This was a needed infrastructure work. SVN revision: 60532
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_private.h1
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_private.h b/legacy/emotion/src/lib/emotion_private.h
index 65ea4c7ed4..3fae9684b2 100644
--- a/legacy/emotion/src/lib/emotion_private.h
+++ b/legacy/emotion/src/lib/emotion_private.h
@@ -113,6 +113,7 @@ struct _Emotion_Video_Module
113 Eina_Emotion_Plugins *plugin; 113 Eina_Emotion_Plugins *plugin;
114}; 114};
115 115
116EAPI Evas_Object *_emotion_image_get(const Evas_Object *obj);
116EAPI void *_emotion_video_get(const Evas_Object *obj); 117EAPI void *_emotion_video_get(const Evas_Object *obj);
117EAPI void _emotion_frame_new(Evas_Object *obj); 118EAPI void _emotion_frame_new(Evas_Object *obj);
118EAPI void _emotion_video_pos_update(Evas_Object *obj, double pos, double len); 119EAPI void _emotion_video_pos_update(Evas_Object *obj, double pos, double len);
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 395649c7e2..5fdbc33319 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -1547,3 +1547,13 @@ _smart_clip_unset(Evas_Object * obj)
1547 if (!sd) return; 1547 if (!sd) return;
1548 evas_object_clip_unset(sd->obj); 1548 evas_object_clip_unset(sd->obj);
1549} 1549}
1550
1551EAPI Evas_Object *
1552_emotion_image_get(const Evas_Object *obj)
1553{
1554 Smart_Data *sd;
1555
1556 sd = evas_object_smart_data_get(obj);
1557 if (!sd) return NULL;
1558 return sd->obj;
1559}