summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/gstreamer/emotion_fakeeos.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-10-04 22:46:54 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-10-04 22:46:54 +0000
commita3d4b58959a15a106f51a78fbd7af1cbafdea259 (patch)
treeb71995fdf08096d13ac23fbe813df46d8ce912b9 /legacy/emotion/src/modules/gstreamer/emotion_fakeeos.c
parenta4b22379b00ee8468d877c642a55f5b01a870de1 (diff)
emotion: forgotten svn add...
SVN revision: 63816
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_fakeeos.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_fakeeos.c b/legacy/emotion/src/modules/gstreamer/emotion_fakeeos.c
new file mode 100644
index 0000000000..f5831871a7
--- /dev/null
+++ b/legacy/emotion/src/modules/gstreamer/emotion_fakeeos.c
@@ -0,0 +1,50 @@
1#include "emotion_gstreamer.h"
2
3typedef struct _FakeEOSBin
4{
5 GstBin parent;
6} FakeEOSBin;
7
8typedef struct _FakeEOSBinClass
9{
10 GstBinClass parent;
11} FakeEOSBinClass;
12
13GST_BOILERPLATE(FakeEOSBin, fakeeos_bin, GstBin,
14 GST_TYPE_BIN);
15
16static void
17fakeeos_bin_handle_message(GstBin * bin, GstMessage * message)
18{
19 FakeEOSBin *fakeeos = (FakeEOSBin *)(bin);
20
21 switch (GST_MESSAGE_TYPE(message)) {
22 case GST_MESSAGE_EOS:
23 /* what to do here ? just returning at the moment */
24 return ;
25 default:
26 break;
27 }
28
29 GST_BIN_CLASS(parent_class)->handle_message(bin, message);
30}
31
32static void
33fakeeos_bin_base_init(gpointer g_class __UNUSED__)
34{
35}
36
37static void
38fakeeos_bin_class_init(FakeEOSBinClass * klass)
39{
40 GstBinClass *gstbin_class = GST_BIN_CLASS(klass);
41
42 gstbin_class->handle_message =
43 GST_DEBUG_FUNCPTR (fakeeos_bin_handle_message);
44}
45
46static void
47fakeeos_bin_init(FakeEOSBin *src __UNUSED__,
48 FakeEOSBinClass *klass __UNUSED__)
49{
50}