diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2010-01-04 18:45:40 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2010-01-04 18:45:40 +0000 |
commit | 2a1b159536aa73770a769ee32c06f47515a86b69 (patch) | |
tree | 42874be2b49b0294ef8751c61fedb7419f0ea308 /legacy/emotion/src | |
parent | a4b0afb1e4b467a1ce7c605095b7da5cb01db275 (diff) |
* enable static build of modules
* clean up autotools
* remove some warnings
issues:
* vlc backend can not be built on my computer(API change
in libvlc, it seems)
* when i build xine *and* gstreamer as static, i get a
multiple defined of __eina_module_init and __eina_module_shutdown
SVN revision: 44884
Diffstat (limited to '')
-rw-r--r-- | legacy/emotion/src/bin/Makefile.am | 17 | ||||
-rw-r--r-- | legacy/emotion/src/bin/emotion_test_main.c | 25 | ||||
-rw-r--r-- | legacy/emotion/src/lib/Makefile.am | 62 | ||||
-rw-r--r-- | legacy/emotion/src/lib/emotion_private.h | 15 | ||||
-rw-r--r-- | legacy/emotion/src/lib/emotion_smart.c | 6 | ||||
-rw-r--r-- | legacy/emotion/src/modules/gstreamer/Makefile.am | 15 | ||||
-rw-r--r-- | legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c | 38 | ||||
-rw-r--r-- | legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c | 6 | ||||
-rw-r--r-- | legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline_dvd.c | 6 | ||||
-rw-r--r-- | legacy/emotion/src/modules/vlc/Makefile.am | 15 | ||||
-rw-r--r-- | legacy/emotion/src/modules/vlc/emotion_vlc.c | 7 | ||||
-rw-r--r-- | legacy/emotion/src/modules/xine/Makefile.am | 15 | ||||
-rw-r--r-- | legacy/emotion/src/modules/xine/emotion_xine.c | 18 | ||||
-rw-r--r-- | legacy/emotion/src/modules/xine/emotion_xine_vo_out.c | 12 |
14 files changed, 152 insertions, 105 deletions
diff --git a/legacy/emotion/src/bin/Makefile.am b/legacy/emotion/src/bin/Makefile.am index a90d5987b3..bc016d3ff0 100644 --- a/legacy/emotion/src/bin/Makefile.am +++ b/legacy/emotion/src/bin/Makefile.am | |||
@@ -7,16 +7,13 @@ AM_CPPFLAGS = \ | |||
7 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | 7 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ |
8 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | 8 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ |
9 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | 9 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ |
10 | @EVAS_CFLAGS@ \ | 10 | @EMOTION_CPPFLAGS@ \ |
11 | @ECORE_CFLAGS@ \ | 11 | @EMOTION_BIN_CFLAGS@ \ |
12 | @EDJE_CFLAGS@ | 12 | @ECORE_X_CFLAGS@ \ |
13 | @ECORE_FB_CFLAGS@ | ||
13 | 14 | ||
14 | bin_PROGRAMS = \ | 15 | bin_PROGRAMS = emotion_test |
15 | emotion_test | ||
16 | 16 | ||
17 | emotion_test_SOURCES = \ | 17 | emotion_test_SOURCES = emotion_test_main.c |
18 | emotion_test_main.c | ||
19 | 18 | ||
20 | emotion_test_LDADD = \ | 19 | emotion_test_LDADD = @ECORE_X_CFLAGS@ @ECORE_FB_CFLAGS@ @EMOTION_BIN_LIBS@ $(top_builddir)/src/lib/libemotion.la |
21 | @EVAS_LIBS@ @ECORE_LIBS@ @EDJE_LIBS@ \ | ||
22 | $(top_builddir)/src/lib/libemotion.la | ||
diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c index edccfe6569..c824090e3b 100644 --- a/legacy/emotion/src/bin/emotion_test_main.c +++ b/legacy/emotion/src/bin/emotion_test_main.c | |||
@@ -3,14 +3,14 @@ | |||
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <string.h> | 4 | #include <string.h> |
5 | 5 | ||
6 | #if defined(HAVE_ECORE_X_H) || defined(HAVE_ECORE_FB_H) | 6 | #if defined(EMOTION_HAVE_ECORE_X) || defined(EMOTION_HAVE_ECORE_FB) |
7 | 7 | ||
8 | #include <Evas.h> | 8 | #include <Evas.h> |
9 | #include <Ecore.h> | 9 | #include <Ecore.h> |
10 | #ifndef FB_ONLY | 10 | #ifdef EMOTION_HAVE_ECORE_X |
11 | #include <Ecore_X.h> | 11 | # include <Ecore_X.h> |
12 | #else | 12 | #else |
13 | #include <Ecore_Fb.h> | 13 | # include <Ecore_Fb.h> |
14 | #endif | 14 | #endif |
15 | #include <Ecore_Evas.h> | 15 | #include <Ecore_Evas.h> |
16 | #include <Edje.h> | 16 | #include <Edje.h> |
@@ -64,7 +64,7 @@ main_start(int argc, char **argv) | |||
64 | edje_frametime_set(1.0 / 30.0); | 64 | edje_frametime_set(1.0 / 30.0); |
65 | 65 | ||
66 | if (!ecore_evas_init()) return -1; | 66 | if (!ecore_evas_init()) return -1; |
67 | #ifndef FB_ONLY | 67 | #ifdef EMOTION_HAVE_ECORE_X |
68 | { | 68 | { |
69 | int i; | 69 | int i; |
70 | 70 | ||
@@ -112,20 +112,22 @@ main_start(int argc, char **argv) | |||
112 | } | 112 | } |
113 | if (mode == 4) | 113 | if (mode == 4) |
114 | ecore_evas = ecore_evas_new(NULL, 0, 0, startw, starth, NULL); | 114 | ecore_evas = ecore_evas_new(NULL, 0, 0, startw, starth, NULL); |
115 | #if HAVE_ECORE_EVAS_X | 115 | # if HAVE_EVAS_SOFWARE_X11 |
116 | if (mode == 0) | 116 | if (mode == 0) |
117 | ecore_evas = ecore_evas_software_x11_new(NULL, 0, 0, 0, startw, starth); | 117 | ecore_evas = ecore_evas_software_x11_new(NULL, 0, 0, 0, startw, starth); |
118 | #endif | 118 | # endif |
119 | #if HAVE_ECORE_EVAS_X11_GL | 119 | # if HAVE_EVAS_OPENGL_X11 |
120 | if (mode == 1) | 120 | if (mode == 1) |
121 | ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0, startw, starth); | 121 | ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0, startw, starth); |
122 | #endif | 122 | # endif |
123 | #if HAVE_ECORE_EVAS_FB | 123 | # if HAVE_EVAS_FB |
124 | if (mode == 2) | 124 | if (mode == 2) |
125 | ecore_evas = ecore_evas_fb_new(NULL, 0, startw, starth); | 125 | ecore_evas = ecore_evas_fb_new(NULL, 0, startw, starth); |
126 | #endif | 126 | # endif |
127 | # if HAVE_EVAS_XRENDER_X11 | ||
127 | if (mode == 3) | 128 | if (mode == 3) |
128 | ecore_evas = ecore_evas_xrender_x11_new(NULL, 0, 0, 0, startw, starth); | 129 | ecore_evas = ecore_evas_xrender_x11_new(NULL, 0, 0, 0, startw, starth); |
130 | # endif | ||
129 | 131 | ||
130 | #else | 132 | #else |
131 | startw = 240; | 133 | startw = 240; |
@@ -902,6 +904,7 @@ main(int argc, char **argv) | |||
902 | } | 904 | } |
903 | 905 | ||
904 | #else | 906 | #else |
907 | # warning "EMOTION_HAVE_ECORE_X and EMOTION_HAVE_ECORE_FB not defined !" | ||
905 | int main() | 908 | int main() |
906 | { | 909 | { |
907 | puts("Could not find Ecore_X.h or Ecore_Fb.h so test is disabled"); | 910 | puts("Could not find Ecore_X.h or Ecore_Fb.h so test is disabled"); |
diff --git a/legacy/emotion/src/lib/Makefile.am b/legacy/emotion/src/lib/Makefile.am index d2bb4adc78..76e69ab52f 100644 --- a/legacy/emotion/src/lib/Makefile.am +++ b/legacy/emotion/src/lib/Makefile.am | |||
@@ -7,16 +7,62 @@ AM_CPPFLAGS = \ | |||
7 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | 7 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ |
8 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | 8 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ |
9 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | 9 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ |
10 | @EVAS_CFLAGS@ \ | 10 | @EMOTION_CPPFLAGS@ \ |
11 | @ECORE_CFLAGS@ \ | 11 | @EMOTION_CFLAGS@ \ |
12 | @EFL_EMOTION_BUILD@ | 12 | @EFL_EMOTION_BUILD@ |
13 | 13 | ||
14 | if EMOTION_STATIC_BUILD_XINE | ||
15 | AM_CPPFLAGS += @XINE_CFLAGS@ | ||
16 | endif | ||
17 | |||
18 | if EMOTION_STATIC_BUILD_GSTREAMER | ||
19 | AM_CPPFLAGS += @GSTREAMER_CFLAGS@ | ||
20 | endif | ||
21 | |||
22 | if EMOTION_STATIC_BUILD_VLC | ||
23 | AM_CPPFLAGS += @VLC_CFLAGS@ | ||
24 | endif | ||
25 | |||
14 | lib_LTLIBRARIES = libemotion.la | 26 | lib_LTLIBRARIES = libemotion.la |
15 | include_HEADERS = Emotion.h | 27 | include_HEADERS = Emotion.h |
16 | libemotion_la_SOURCES = \ | 28 | libemotion_la_SOURCES = emotion_smart.c |
17 | emotion_smart.c \ | 29 | |
18 | emotion_private.h | 30 | if EMOTION_STATIC_BUILD_XINE |
31 | libemotion_la_SOURCES += \ | ||
32 | $(top_srcdir)/src/modules/xine/emotion_xine.c \ | ||
33 | $(top_srcdir)/src/modules/xine/emotion_xine_vo_out.c | ||
34 | endif | ||
35 | |||
36 | if EMOTION_STATIC_BUILD_GSTREAMER | ||
37 | libemotion_la_SOURCES += \ | ||
38 | $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer.c \ | ||
39 | $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline.c \ | ||
40 | $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_cdda.c \ | ||
41 | $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_dvd.c \ | ||
42 | $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_file.c \ | ||
43 | $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_uri.c \ | ||
44 | $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_v4l.c | ||
45 | endif | ||
46 | |||
47 | if EMOTION_STATIC_BUILD_VLC | ||
48 | libemotion_la_SOURCES += \ | ||
49 | $(top_srcdir)/src/modules/vlc/emotion_vlc.c | ||
50 | endif | ||
51 | |||
52 | libemotion_la_LIBADD = @EMOTION_LIBS@ | ||
53 | |||
54 | if EMOTION_STATIC_BUILD_XINE | ||
55 | libemotion_la_LIBADD += @XINE_LIBS@ | ||
56 | endif | ||
57 | |||
58 | if EMOTION_STATIC_BUILD_GSTREAMER | ||
59 | libemotion_la_LIBADD += @GSTREAMER_LIBS@ | ||
60 | endif | ||
61 | |||
62 | if EMOTION_STATIC_BUILD_VLC | ||
63 | libemotion_la_LIBADD += @VLC_LIBS@ | ||
64 | endif | ||
65 | |||
66 | libemotion_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ | ||
19 | 67 | ||
20 | libemotion_la_LIBADD = @EVAS_LIBS@ @ECORE_LIBS@ | 68 | EXTRA_DIST = emotion_private.h |
21 | libemotion_la_DEPENDENCIES = $(top_builddir)/config.h | ||
22 | libemotion_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ | ||
diff --git a/legacy/emotion/src/lib/emotion_private.h b/legacy/emotion/src/lib/emotion_private.h index 1fb6166391..adf1f255d2 100644 --- a/legacy/emotion/src/lib/emotion_private.h +++ b/legacy/emotion/src/lib/emotion_private.h | |||
@@ -1,18 +1,19 @@ | |||
1 | #ifndef EMOTION_PRIVATE_H | 1 | #ifndef EMOTION_PRIVATE_H |
2 | #define EMOTION_PRIVATE_H | 2 | #define EMOTION_PRIVATE_H |
3 | 3 | ||
4 | #include <Evas.h> | 4 | #ifdef HAVE_CONFIG_H |
5 | #include <Ecore.h> | 5 | # include "config.h" |
6 | #include <Ecore_Job.h> | 6 | #endif |
7 | #include <Ecore_Data.h> | ||
8 | #include <Ecore_Str.h> | ||
9 | #include <Emotion.h> | ||
10 | 7 | ||
11 | #include <stdlib.h> | 8 | #include <stdlib.h> |
12 | #include <stdio.h> | 9 | #include <stdio.h> |
13 | #include <string.h> | 10 | #include <string.h> |
14 | 11 | ||
15 | #include "config.h" | 12 | #include <Evas.h> |
13 | #include <Ecore.h> | ||
14 | #include <Ecore_Job.h> | ||
15 | #include <Ecore_Str.h> | ||
16 | #include <Emotion.h> | ||
16 | 17 | ||
17 | #define META_TRACK_TITLE 1 | 18 | #define META_TRACK_TITLE 1 |
18 | #define META_TRACK_ARTIST 2 | 19 | #define META_TRACK_ARTIST 2 |
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c index e3c54b417f..ba733f2fbb 100644 --- a/legacy/emotion/src/lib/emotion_smart.c +++ b/legacy/emotion/src/lib/emotion_smart.c | |||
@@ -119,7 +119,7 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module ** | |||
119 | { | 119 | { |
120 | Eina_Emotion_Plugins *plugin; | 120 | Eina_Emotion_Plugins *plugin; |
121 | Smart_Data *sd; | 121 | Smart_Data *sd; |
122 | int index = 0; | 122 | unsigned int index = 0; |
123 | 123 | ||
124 | E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0); | 124 | E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0); |
125 | if (!_backends) | 125 | if (!_backends) |
@@ -1028,7 +1028,7 @@ _emotion_spu_button_set(Evas_Object *obj, int button) | |||
1028 | /****************************/ | 1028 | /****************************/ |
1029 | 1029 | ||
1030 | static void | 1030 | static void |
1031 | _mouse_move(void *data, Evas *ev, Evas_Object *obj, void *event_info) | 1031 | _mouse_move(void *data, Evas *ev __UNUSED__, Evas_Object *obj, void *event_info) |
1032 | { | 1032 | { |
1033 | Evas_Event_Mouse_Move *e; | 1033 | Evas_Event_Mouse_Move *e; |
1034 | Smart_Data *sd; | 1034 | Smart_Data *sd; |
@@ -1048,7 +1048,7 @@ _mouse_move(void *data, Evas *ev, Evas_Object *obj, void *event_info) | |||
1048 | } | 1048 | } |
1049 | 1049 | ||
1050 | static void | 1050 | static void |
1051 | _mouse_down(void *data, Evas *ev, Evas_Object *obj, void *event_info) | 1051 | _mouse_down(void *data, Evas *ev __UNUSED__, Evas_Object *obj, void *event_info) |
1052 | { | 1052 | { |
1053 | Evas_Event_Mouse_Down *e; | 1053 | Evas_Event_Mouse_Down *e; |
1054 | Smart_Data *sd; | 1054 | Smart_Data *sd; |
diff --git a/legacy/emotion/src/modules/gstreamer/Makefile.am b/legacy/emotion/src/modules/gstreamer/Makefile.am index 533ab0c35c..2056ea33af 100644 --- a/legacy/emotion/src/modules/gstreamer/Makefile.am +++ b/legacy/emotion/src/modules/gstreamer/Makefile.am | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | MAINTAINERCLEANFILES = Makefile.in | 1 | MAINTAINERCLEANFILES = Makefile.in |
3 | 2 | ||
4 | AM_CPPFLAGS = \ | 3 | AM_CPPFLAGS = \ |
@@ -7,19 +6,18 @@ AM_CPPFLAGS = \ | |||
7 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | 6 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ |
8 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | 7 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ |
9 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | 8 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ |
9 | @EMOTION_CPPFLAGS@ \ | ||
10 | @EFL_EMOTION_BUILD@ \ | 10 | @EFL_EMOTION_BUILD@ \ |
11 | @EVAS_CFLAGS@ \ | 11 | @GSTREAMER_CFLAGS@ |
12 | @ECORE_CFLAGS@ \ | ||
13 | @GST_CFLAGS@ | ||
14 | 12 | ||
15 | if BUILD_GSTREAMER_MODULE | 13 | if EMOTION_BUILD_GSTREAMER |
14 | if !EMOTION_STATIC_BUILD_GSTREAMER | ||
16 | 15 | ||
17 | pkgdir = $(libdir)/emotion | 16 | pkgdir = $(libdir)/emotion |
18 | 17 | ||
19 | pkg_LTLIBRARIES = gstreamer.la | 18 | pkg_LTLIBRARIES = gstreamer.la |
20 | gstreamer_la_SOURCES = \ | 19 | gstreamer_la_SOURCES = \ |
21 | emotion_gstreamer.c \ | 20 | emotion_gstreamer.c \ |
22 | emotion_gstreamer.h \ | ||
23 | emotion_gstreamer_pipeline.c \ | 21 | emotion_gstreamer_pipeline.c \ |
24 | emotion_gstreamer_pipeline.h \ | 22 | emotion_gstreamer_pipeline.h \ |
25 | emotion_gstreamer_pipeline_cdda.c \ | 23 | emotion_gstreamer_pipeline_cdda.c \ |
@@ -27,9 +25,12 @@ emotion_gstreamer_pipeline_dvd.c \ | |||
27 | emotion_gstreamer_pipeline_file.c \ | 25 | emotion_gstreamer_pipeline_file.c \ |
28 | emotion_gstreamer_pipeline_uri.c \ | 26 | emotion_gstreamer_pipeline_uri.c \ |
29 | emotion_gstreamer_pipeline_v4l.c | 27 | emotion_gstreamer_pipeline_v4l.c |
30 | gstreamer_la_LIBADD = @EVAS_LIBS@ @ECORE_LIBS@ @GST_LIBS@ $(top_builddir)/src/lib/libemotion.la | 28 | gstreamer_la_LIBADD = @GSTREAMER_LIBS@ $(top_builddir)/src/lib/libemotion.la |
31 | gstreamer_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | 29 | gstreamer_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version |
32 | gstreamer_la_LIBTOOLFLAGS = --tag=disable-static | 30 | gstreamer_la_LIBTOOLFLAGS = --tag=disable-static |
33 | gstreamer_la_DEPENDENCIES = $(top_builddir)/config.h | 31 | gstreamer_la_DEPENDENCIES = $(top_builddir)/config.h |
34 | 32 | ||
35 | endif | 33 | endif |
34 | endif | ||
35 | |||
36 | EXTRA_DIST = emotion_gstreamer.h | ||
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c index 0de2cb029d..5340612255 100644 --- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c +++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c | |||
@@ -236,7 +236,7 @@ static Emotion_Video_Module em_module = | |||
236 | static unsigned char | 236 | static unsigned char |
237 | em_init(Evas_Object *obj, | 237 | em_init(Evas_Object *obj, |
238 | void **emotion_video, | 238 | void **emotion_video, |
239 | Emotion_Module_Options *opt) | 239 | Emotion_Module_Options *opt __UNUSED__) |
240 | { | 240 | { |
241 | Emotion_Gstreamer_Video *ev; | 241 | Emotion_Gstreamer_Video *ev; |
242 | GError *error; | 242 | GError *error; |
@@ -494,7 +494,7 @@ em_file_close(void *video) | |||
494 | 494 | ||
495 | static void | 495 | static void |
496 | em_play(void *video, | 496 | em_play(void *video, |
497 | double pos) | 497 | double pos __UNUSED__) |
498 | { | 498 | { |
499 | Emotion_Gstreamer_Video *ev; | 499 | Emotion_Gstreamer_Video *ev; |
500 | 500 | ||
@@ -714,7 +714,7 @@ em_vis_get(void *video) | |||
714 | } | 714 | } |
715 | 715 | ||
716 | static Eina_Bool | 716 | static Eina_Bool |
717 | em_vis_supported(void *ef, Emotion_Vis vis) | 717 | em_vis_supported(void *ef __UNUSED__, Emotion_Vis vis) |
718 | { | 718 | { |
719 | const char *name; | 719 | const char *name; |
720 | GstElementFactory *factory; | 720 | GstElementFactory *factory; |
@@ -899,7 +899,7 @@ em_bgra_data_get(void *video, unsigned char **bgra_data) | |||
899 | } | 899 | } |
900 | 900 | ||
901 | static void | 901 | static void |
902 | em_event_feed(void *video, int event) | 902 | em_event_feed(void *video, int event __UNUSED__) |
903 | { | 903 | { |
904 | Emotion_Gstreamer_Video *ev; | 904 | Emotion_Gstreamer_Video *ev; |
905 | 905 | ||
@@ -907,7 +907,7 @@ em_event_feed(void *video, int event) | |||
907 | } | 907 | } |
908 | 908 | ||
909 | static void | 909 | static void |
910 | em_event_mouse_button_feed(void *video, int button, int x, int y) | 910 | em_event_mouse_button_feed(void *video, int button __UNUSED__, int x __UNUSED__, int y __UNUSED__) |
911 | { | 911 | { |
912 | Emotion_Gstreamer_Video *ev; | 912 | Emotion_Gstreamer_Video *ev; |
913 | 913 | ||
@@ -915,7 +915,7 @@ em_event_mouse_button_feed(void *video, int button, int x, int y) | |||
915 | } | 915 | } |
916 | 916 | ||
917 | static void | 917 | static void |
918 | em_event_mouse_move_feed(void *video, int x, int y) | 918 | em_event_mouse_move_feed(void *video, int x __UNUSED__, int y __UNUSED__) |
919 | { | 919 | { |
920 | Emotion_Gstreamer_Video *ev; | 920 | Emotion_Gstreamer_Video *ev; |
921 | 921 | ||
@@ -957,7 +957,7 @@ em_video_channel_get(void *video) | |||
957 | 957 | ||
958 | static const char * | 958 | static const char * |
959 | em_video_channel_name_get(void *video, | 959 | em_video_channel_name_get(void *video, |
960 | int channel) | 960 | int channel __UNUSED__) |
961 | { | 961 | { |
962 | Emotion_Gstreamer_Video *ev; | 962 | Emotion_Gstreamer_Video *ev; |
963 | 963 | ||
@@ -1023,7 +1023,7 @@ em_audio_channel_get(void *video) | |||
1023 | 1023 | ||
1024 | static const char * | 1024 | static const char * |
1025 | em_audio_channel_name_get(void *video, | 1025 | em_audio_channel_name_get(void *video, |
1026 | int channel) | 1026 | int channel __UNUSED__) |
1027 | { | 1027 | { |
1028 | Emotion_Gstreamer_Video *ev; | 1028 | Emotion_Gstreamer_Video *ev; |
1029 | 1029 | ||
@@ -1109,7 +1109,7 @@ em_spu_channel_count(void *video) | |||
1109 | } | 1109 | } |
1110 | 1110 | ||
1111 | static void | 1111 | static void |
1112 | em_spu_channel_set(void *video, int channel) | 1112 | em_spu_channel_set(void *video, int channel __UNUSED__) |
1113 | { | 1113 | { |
1114 | Emotion_Gstreamer_Video *ev; | 1114 | Emotion_Gstreamer_Video *ev; |
1115 | 1115 | ||
@@ -1127,7 +1127,7 @@ em_spu_channel_get(void *video) | |||
1127 | } | 1127 | } |
1128 | 1128 | ||
1129 | static const char * | 1129 | static const char * |
1130 | em_spu_channel_name_get(void *video, int channel) | 1130 | em_spu_channel_name_get(void *video, int channel __UNUSED__) |
1131 | { | 1131 | { |
1132 | Emotion_Gstreamer_Video *ev; | 1132 | Emotion_Gstreamer_Video *ev; |
1133 | 1133 | ||
@@ -1136,7 +1136,7 @@ em_spu_channel_name_get(void *video, int channel) | |||
1136 | } | 1136 | } |
1137 | 1137 | ||
1138 | static void | 1138 | static void |
1139 | em_spu_channel_mute_set(void *video, int mute) | 1139 | em_spu_channel_mute_set(void *video, int mute __UNUSED__) |
1140 | { | 1140 | { |
1141 | Emotion_Gstreamer_Video *ev; | 1141 | Emotion_Gstreamer_Video *ev; |
1142 | 1142 | ||
@@ -1163,7 +1163,7 @@ em_chapter_count(void *video) | |||
1163 | } | 1163 | } |
1164 | 1164 | ||
1165 | static void | 1165 | static void |
1166 | em_chapter_set(void *video, int chapter) | 1166 | em_chapter_set(void *video, int chapter __UNUSED__) |
1167 | { | 1167 | { |
1168 | Emotion_Gstreamer_Video *ev; | 1168 | Emotion_Gstreamer_Video *ev; |
1169 | 1169 | ||
@@ -1181,7 +1181,7 @@ em_chapter_get(void *video) | |||
1181 | } | 1181 | } |
1182 | 1182 | ||
1183 | static const char * | 1183 | static const char * |
1184 | em_chapter_name_get(void *video, int chapter) | 1184 | em_chapter_name_get(void *video, int chapter __UNUSED__) |
1185 | { | 1185 | { |
1186 | Emotion_Gstreamer_Video *ev; | 1186 | Emotion_Gstreamer_Video *ev; |
1187 | 1187 | ||
@@ -1191,7 +1191,7 @@ em_chapter_name_get(void *video, int chapter) | |||
1191 | } | 1191 | } |
1192 | 1192 | ||
1193 | static void | 1193 | static void |
1194 | em_speed_set(void *video, double speed) | 1194 | em_speed_set(void *video, double speed __UNUSED__) |
1195 | { | 1195 | { |
1196 | Emotion_Gstreamer_Video *ev; | 1196 | Emotion_Gstreamer_Video *ev; |
1197 | 1197 | ||
@@ -1274,7 +1274,7 @@ module_open(Evas_Object *obj, | |||
1274 | } | 1274 | } |
1275 | 1275 | ||
1276 | static void | 1276 | static void |
1277 | module_close(Emotion_Video_Module *module, | 1277 | module_close(Emotion_Video_Module *module __UNUSED__, |
1278 | void *video) | 1278 | void *video) |
1279 | { | 1279 | { |
1280 | em_module.shutdown(video); | 1280 | em_module.shutdown(video); |
@@ -1434,7 +1434,7 @@ _free_metadata(Emotion_Gstreamer_Metadata *m) | |||
1434 | } | 1434 | } |
1435 | 1435 | ||
1436 | static void | 1436 | static void |
1437 | _em_buffer_read(void *data, void *buf, unsigned int nbyte) | 1437 | _em_buffer_read(void *data, void *buf, unsigned int nbyte __UNUSED__) |
1438 | { | 1438 | { |
1439 | Emotion_Gstreamer_Video *ev; | 1439 | Emotion_Gstreamer_Video *ev; |
1440 | Emotion_Video_Sink *vsink; | 1440 | Emotion_Video_Sink *vsink; |
@@ -1444,7 +1444,11 @@ _em_buffer_read(void *data, void *buf, unsigned int nbyte) | |||
1444 | buffer = *((GstBuffer **)buf); | 1444 | buffer = *((GstBuffer **)buf); |
1445 | _emotion_frame_new(ev->obj); | 1445 | _emotion_frame_new(ev->obj); |
1446 | vsink = (Emotion_Video_Sink *)eina_list_nth(ev->video_sinks, ev->video_sink_nbr); | 1446 | vsink = (Emotion_Video_Sink *)eina_list_nth(ev->video_sinks, ev->video_sink_nbr); |
1447 | if (vsink) _emotion_video_pos_update(ev->obj, ev->position, vsink->length_time); | 1447 | if (vsink) |
1448 | { | ||
1449 | _emotion_video_pos_update(ev->obj, ev->position, vsink->length_time); | ||
1450 | _emotion_frame_resize(ev->obj, vsink->width, vsink->height, ev->ratio); | ||
1451 | } | ||
1448 | } | 1452 | } |
1449 | 1453 | ||
1450 | static int | 1454 | static int |
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c index 6513b91c20..ccfe04e3aa 100644 --- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c +++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c | |||
@@ -33,7 +33,7 @@ emotion_pipeline_pause(GstElement *pipeline) | |||
33 | 33 | ||
34 | /* Send the video frame to the evas object */ | 34 | /* Send the video frame to the evas object */ |
35 | void | 35 | void |
36 | cb_handoff(GstElement *fakesrc, | 36 | cb_handoff(GstElement *fakesrc __UNUSED__, |
37 | GstBuffer *buffer, | 37 | GstBuffer *buffer, |
38 | GstPad *pad, | 38 | GstPad *pad, |
39 | gpointer user_data) | 39 | gpointer user_data) |
@@ -74,9 +74,9 @@ cb_handoff(GstElement *fakesrc, | |||
74 | } | 74 | } |
75 | 75 | ||
76 | void | 76 | void |
77 | file_new_decoded_pad_cb(GstElement *decodebin, | 77 | file_new_decoded_pad_cb(GstElement *decodebin __UNUSED__, |
78 | GstPad *new_pad, | 78 | GstPad *new_pad, |
79 | gboolean last, | 79 | gboolean last __UNUSED__, |
80 | gpointer user_data) | 80 | gpointer user_data) |
81 | { | 81 | { |
82 | Emotion_Gstreamer_Video *ev; | 82 | Emotion_Gstreamer_Video *ev; |
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline_dvd.c b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline_dvd.c index 48b9f00dde..465c2bbcb5 100644 --- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline_dvd.c +++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline_dvd.c | |||
@@ -144,7 +144,7 @@ failure_dvdreadsrc: | |||
144 | } | 144 | } |
145 | 145 | ||
146 | static void | 146 | static void |
147 | dvd_pad_added_cb(GstElement *dvddemuxer, | 147 | dvd_pad_added_cb(GstElement *dvddemuxer __UNUSED__, |
148 | GObject *new_pad, | 148 | GObject *new_pad, |
149 | gpointer user_data) | 149 | gpointer user_data) |
150 | { | 150 | { |
@@ -239,8 +239,8 @@ dvd_pad_added_cb(GstElement *dvddemuxer, | |||
239 | } | 239 | } |
240 | 240 | ||
241 | static void | 241 | static void |
242 | dvd_no_more_pads_cb(GstElement *dvddemuxer, | 242 | dvd_no_more_pads_cb(GstElement *dvddemuxer __UNUSED__, |
243 | gpointer user_data) | 243 | gpointer user_data __UNUSED__) |
244 | { | 244 | { |
245 | no_more_pads = 1; | 245 | no_more_pads = 1; |
246 | } | 246 | } |
diff --git a/legacy/emotion/src/modules/vlc/Makefile.am b/legacy/emotion/src/modules/vlc/Makefile.am index f165d684a5..9e706ff4de 100644 --- a/legacy/emotion/src/modules/vlc/Makefile.am +++ b/legacy/emotion/src/modules/vlc/Makefile.am | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | MAINTAINERCLEANFILES = Makefile.in | 1 | MAINTAINERCLEANFILES = Makefile.in |
3 | 2 | ||
4 | AM_CPPFLAGS = \ | 3 | AM_CPPFLAGS = \ |
@@ -8,22 +7,22 @@ AM_CPPFLAGS = \ | |||
8 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | 7 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ |
9 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | 8 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ |
10 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | 9 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ |
11 | @EVAS_CFLAGS@ \ | 10 | @EMOTION_CPPFLAGS@ \ |
12 | @ECORE_CFLAGS@ \ | ||
13 | @VLC_CFLAGS@ | 11 | @VLC_CFLAGS@ |
14 | 12 | ||
15 | if BUILD_VLC_MODULE | 13 | if EMOTION_BUILD_VLC |
14 | if !EMOTION_STATIC_BUILD_VLC | ||
16 | 15 | ||
17 | pkgdir = $(libdir)/emotion | 16 | pkgdir = $(libdir)/emotion |
18 | 17 | ||
19 | pkg_LTLIBRARIES = vlc.la | 18 | pkg_LTLIBRARIES = vlc.la |
20 | 19 | ||
21 | vlc_la_SOURCES = \ | 20 | vlc_la_SOURCES = \ |
22 | emotion_vlc.c \ | 21 | emotion_vlc.c \ |
23 | emotion_vlc.h | 22 | emotion_vlc.h |
24 | vlc_la_LIBADD = @EVAS_LIBS@ @ECORE_LIBS@ @VLC_LIBS@ $(top_builddir)/src/lib/libemotion.la -lpthread | 23 | vlc_la_LIBADD = @VLC_LIBS@ $(top_builddir)/src/lib/libemotion.la -lpthread |
25 | vlc_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | 24 | vlc_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version |
26 | vlc_la_LIBTOOLFLAGS = --tag=disable-static | 25 | vlc_la_LIBTOOLFLAGS = --tag=disable-static |
27 | vlc_la_DEPENDENCIES = $(top_builddir)/config.h | ||
28 | 26 | ||
29 | endif | 27 | endif |
28 | endif | ||
diff --git a/legacy/emotion/src/modules/vlc/emotion_vlc.c b/legacy/emotion/src/modules/vlc/emotion_vlc.c index 7f641802a9..bf0c9ccbad 100644 --- a/legacy/emotion/src/modules/vlc/emotion_vlc.c +++ b/legacy/emotion/src/modules/vlc/emotion_vlc.c | |||
@@ -3,8 +3,8 @@ | |||
3 | * code@ife-sit.info | 3 | * code@ife-sit.info |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef EMOTION_VLC_C | 6 | #include <sys/types.h> |
7 | #define EMOTION_VLC_C | 7 | #include <unistd.h> |
8 | 8 | ||
9 | #include "Emotion.h" | 9 | #include "Emotion.h" |
10 | #include "emotion_private.h" | 10 | #include "emotion_private.h" |
@@ -1241,6 +1241,3 @@ EINA_MODULE_SHUTDOWN(vlc_module_shutdown); | |||
1241 | 1241 | ||
1242 | #endif | 1242 | #endif |
1243 | 1243 | ||
1244 | |||
1245 | #endif /* EMOTION_VLC_C */ | ||
1246 | |||
diff --git a/legacy/emotion/src/modules/xine/Makefile.am b/legacy/emotion/src/modules/xine/Makefile.am index 3dfcba7584..a716243c03 100644 --- a/legacy/emotion/src/modules/xine/Makefile.am +++ b/legacy/emotion/src/modules/xine/Makefile.am | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | MAINTAINERCLEANFILES = Makefile.in | 1 | MAINTAINERCLEANFILES = Makefile.in |
3 | 2 | ||
4 | AM_CPPFLAGS = \ | 3 | AM_CPPFLAGS = \ |
@@ -8,23 +7,23 @@ AM_CPPFLAGS = \ | |||
8 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | 7 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ |
9 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | 8 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ |
10 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | 9 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ |
11 | @EVAS_CFLAGS@ \ | 10 | @EMOTION_CPPFLAGS@ \ |
12 | @ECORE_CFLAGS@ \ | ||
13 | @XINE_CFLAGS@ | 11 | @XINE_CFLAGS@ |
14 | 12 | ||
15 | if BUILD_XINE_MODULE | 13 | if EMOTION_BUILD_XINE |
14 | if !EMOTION_STATIC_BUILD_XINE | ||
16 | 15 | ||
17 | pkgdir = $(libdir)/emotion | 16 | pkgdir = $(libdir)/emotion |
18 | 17 | ||
19 | pkg_LTLIBRARIES = xine.la | 18 | pkg_LTLIBRARIES = xine.la |
20 | 19 | ||
21 | xine_la_SOURCES = \ | 20 | xine_la_SOURCES = \ |
22 | emotion_xine.c \ | 21 | emotion_xine.c \ |
23 | emotion_xine.h \ | 22 | emotion_xine.h \ |
24 | emotion_xine_vo_out.c | 23 | emotion_xine_vo_out.c |
25 | xine_la_LIBADD = @EVAS_LIBS@ @ECORE_LIBS@ @XINE_LIBS@ $(top_builddir)/src/lib/libemotion.la -lpthread | 24 | xine_la_LIBADD = @XINE_LIBS@ $(top_builddir)/src/lib/libemotion.la -lpthread |
26 | xine_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | 25 | xine_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version |
27 | xine_la_LIBTOOLFLAGS = --tag=disable-static | 26 | xine_la_LIBTOOLFLAGS = --tag=disable-static |
28 | xine_la_DEPENDENCIES = $(top_builddir)/config.h | ||
29 | 27 | ||
30 | endif | 28 | endif |
29 | endif | ||
diff --git a/legacy/emotion/src/modules/xine/emotion_xine.c b/legacy/emotion/src/modules/xine/emotion_xine.c index 15d1556843..99b3139c85 100644 --- a/legacy/emotion/src/modules/xine/emotion_xine.c +++ b/legacy/emotion/src/modules/xine/emotion_xine.c | |||
@@ -439,7 +439,7 @@ em_shutdown(void *ef) | |||
439 | } | 439 | } |
440 | 440 | ||
441 | static unsigned char | 441 | static unsigned char |
442 | em_file_open(const char *file, Evas_Object *obj, void *ef) | 442 | em_file_open(const char *file, Evas_Object *obj __UNUSED__, void *ef) |
443 | { | 443 | { |
444 | Emotion_Xine_Video *ev; | 444 | Emotion_Xine_Video *ev; |
445 | 445 | ||
@@ -573,7 +573,7 @@ em_vis_get(void *ef) | |||
573 | } | 573 | } |
574 | 574 | ||
575 | static Eina_Bool | 575 | static Eina_Bool |
576 | em_vis_supported(void *ef, Emotion_Vis vis) | 576 | em_vis_supported(void *ef __UNUSED__, Emotion_Vis vis __UNUSED__) |
577 | { | 577 | { |
578 | return EINA_FALSE; | 578 | return EINA_FALSE; |
579 | } | 579 | } |
@@ -665,7 +665,7 @@ em_video_data_size_get(void *ef, int *w, int *h) | |||
665 | } | 665 | } |
666 | 666 | ||
667 | static int | 667 | static int |
668 | em_yuv_rows_get(void *ef, int w, int h, unsigned char **yrows, unsigned char **urows, unsigned char **vrows) | 668 | em_yuv_rows_get(void *ef, int w __UNUSED__, int h, unsigned char **yrows, unsigned char **urows, unsigned char **vrows) |
669 | { | 669 | { |
670 | Emotion_Xine_Video *ev; | 670 | Emotion_Xine_Video *ev; |
671 | volatile Emotion_Xine_Video_Frame *fr; | 671 | volatile Emotion_Xine_Video_Frame *fr; |
@@ -808,7 +808,7 @@ em_event_feed(void *ef, int event) | |||
808 | } | 808 | } |
809 | 809 | ||
810 | static void | 810 | static void |
811 | em_event_mouse_button_feed(void *ef, int button, int x, int y) | 811 | em_event_mouse_button_feed(void *ef, int button __UNUSED__, int x, int y) |
812 | { | 812 | { |
813 | Emotion_Xine_Video *ev; | 813 | Emotion_Xine_Video *ev; |
814 | xine_event_t xine_event; | 814 | xine_event_t xine_event; |
@@ -883,7 +883,7 @@ em_video_channel_get(void *ef) | |||
883 | } | 883 | } |
884 | 884 | ||
885 | static const char * | 885 | static const char * |
886 | em_video_channel_name_get(void *ef, int channel) | 886 | em_video_channel_name_get(void *ef, int channel __UNUSED__) |
887 | { | 887 | { |
888 | Emotion_Xine_Video *ev; | 888 | Emotion_Xine_Video *ev; |
889 | 889 | ||
@@ -1072,7 +1072,7 @@ em_chapter_count(void *ef) | |||
1072 | } | 1072 | } |
1073 | 1073 | ||
1074 | static void | 1074 | static void |
1075 | em_chapter_set(void *ef, int chapter) | 1075 | em_chapter_set(void *ef, int chapter __UNUSED__) |
1076 | { | 1076 | { |
1077 | Emotion_Xine_Video *ev; | 1077 | Emotion_Xine_Video *ev; |
1078 | 1078 | ||
@@ -1089,7 +1089,7 @@ em_chapter_get(void *ef) | |||
1089 | } | 1089 | } |
1090 | 1090 | ||
1091 | static const char * | 1091 | static const char * |
1092 | em_chapter_name_get(void *ef, int chapter) | 1092 | em_chapter_name_get(void *ef, int chapter __UNUSED__) |
1093 | { | 1093 | { |
1094 | Emotion_Xine_Video *ev; | 1094 | Emotion_Xine_Video *ev; |
1095 | 1095 | ||
@@ -1098,7 +1098,7 @@ em_chapter_name_get(void *ef, int chapter) | |||
1098 | } | 1098 | } |
1099 | 1099 | ||
1100 | static void | 1100 | static void |
1101 | em_speed_set(void *ef, double speed) | 1101 | em_speed_set(void *ef, double speed __UNUSED__) |
1102 | { | 1102 | { |
1103 | Emotion_Xine_Video *ev; | 1103 | Emotion_Xine_Video *ev; |
1104 | 1104 | ||
@@ -1540,7 +1540,7 @@ module_open(Evas_Object *obj, const Emotion_Video_Module **module, void **video, | |||
1540 | } | 1540 | } |
1541 | 1541 | ||
1542 | static void | 1542 | static void |
1543 | module_close(Emotion_Video_Module *module, void *video) | 1543 | module_close(Emotion_Video_Module *module __UNUSED__, void *video) |
1544 | { | 1544 | { |
1545 | em_module.shutdown(video); | 1545 | em_module.shutdown(video); |
1546 | } | 1546 | } |
diff --git a/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c b/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c index e3bf7d59e5..92f66ebf29 100644 --- a/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c +++ b/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c | |||
@@ -111,7 +111,7 @@ plugin_info_t emotion_xine_plugin_info[] = | |||
111 | 111 | ||
112 | /***************************************************************************/ | 112 | /***************************************************************************/ |
113 | static void * | 113 | static void * |
114 | _emotion_class_init(xine_t *xine, void *visual) | 114 | _emotion_class_init(xine_t *xine, void *visual __UNUSED__) |
115 | { | 115 | { |
116 | Emotion_Class *cl; | 116 | Emotion_Class *cl; |
117 | 117 | ||
@@ -225,7 +225,7 @@ _emotion_capabilities_get(vo_driver_t *vo_driver) | |||
225 | 225 | ||
226 | /***************************************************************************/ | 226 | /***************************************************************************/ |
227 | static int | 227 | static int |
228 | _emotion_gui_data_exchange(vo_driver_t *vo_driver, int data_type, void *data) | 228 | _emotion_gui_data_exchange(vo_driver_t *vo_driver, int data_type, void *data __UNUSED__) |
229 | { | 229 | { |
230 | Emotion_Driver *dv; | 230 | Emotion_Driver *dv; |
231 | 231 | ||
@@ -292,7 +292,7 @@ _emotion_property_get(vo_driver_t *vo_driver, int property) | |||
292 | } | 292 | } |
293 | 293 | ||
294 | static void | 294 | static void |
295 | _emotion_property_min_max_get(vo_driver_t *vo_driver, int property, int *min, int *max) | 295 | _emotion_property_min_max_get(vo_driver_t *vo_driver, int property __UNUSED__, int *min, int *max) |
296 | { | 296 | { |
297 | Emotion_Driver *dv; | 297 | Emotion_Driver *dv; |
298 | 298 | ||
@@ -339,7 +339,7 @@ _emotion_frame_dispose(vo_frame_t *vo_frame) | |||
339 | } | 339 | } |
340 | 340 | ||
341 | static void | 341 | static void |
342 | _emotion_frame_format_update(vo_driver_t *vo_driver, vo_frame_t *vo_frame, uint32_t width, uint32_t height, double ratio, int format, int flags) | 342 | _emotion_frame_format_update(vo_driver_t *vo_driver, vo_frame_t *vo_frame, uint32_t width, uint32_t height, double ratio, int format, int flags __UNUSED__) |
343 | { | 343 | { |
344 | Emotion_Driver *dv; | 344 | Emotion_Driver *dv; |
345 | Emotion_Frame *fr; | 345 | Emotion_Frame *fr; |
@@ -468,7 +468,7 @@ _emotion_frame_display(vo_driver_t *vo_driver, vo_frame_t *vo_frame) | |||
468 | } | 468 | } |
469 | 469 | ||
470 | static void | 470 | static void |
471 | _emotion_frame_field(vo_frame_t *vo_frame, int which_field) | 471 | _emotion_frame_field(vo_frame_t *vo_frame, int which_field __UNUSED__) |
472 | { | 472 | { |
473 | Emotion_Frame *fr; | 473 | Emotion_Frame *fr; |
474 | 474 | ||
@@ -510,7 +510,7 @@ _emotion_frame_data_unlock(Emotion_Frame *fr) | |||
510 | 510 | ||
511 | /***************************************************************************/ | 511 | /***************************************************************************/ |
512 | static void | 512 | static void |
513 | _emotion_overlay_begin(vo_driver_t *vo_driver, vo_frame_t *vo_frame, int changed) | 513 | _emotion_overlay_begin(vo_driver_t *vo_driver, vo_frame_t *vo_frame, int changed __UNUSED__) |
514 | { | 514 | { |
515 | Emotion_Driver *dv; | 515 | Emotion_Driver *dv; |
516 | Emotion_Frame *fr; | 516 | Emotion_Frame *fr; |