summaryrefslogtreecommitdiffstats
path: root/ext/directfb
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2007-01-04 09:51:56 +0000
committerJulien Moutte <julien@moutte.net>2007-01-04 09:51:56 +0000
commita0552f1769ef1f5bc10937f1d2663b19e9813ae3 (patch)
tree60bff20f086ce41254820c1eb147e2fa2452f773 /ext/directfb
parente2117c6c678ae18f7cb5f6dd24b1b8d9b0fa84bf (diff)
downloadgst-plugins-bad-a0552f1769ef1f5bc10937f1d2663b19e9813ae3.tar.gz
gst-plugins-bad-a0552f1769ef1f5bc10937f1d2663b19e9813ae3.tar.bz2
gst-plugins-bad-a0552f1769ef1f5bc10937f1d2663b19e9813ae3.zip
ext/: Fix various compiler warnings that reveal potential bugs.
Original commit message from CVS: 2007-01-04 Julien MOUTTE <julien@moutte.net> * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_navigation_send_event), (gst_dfbvideosink_get_type): * ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_open): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_setcaps), (gst_sdlvideosink_show_frame), (gst_sdlvideosink_navigation_send_event): * ext/sdl/sdlvideosink.h: Fix various compiler warnings that reveal potential bugs.
Diffstat (limited to 'ext/directfb')
-rw-r--r--ext/directfb/dfbvideosink.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c
index 9d1cca10..1b72de87 100644
--- a/ext/directfb/dfbvideosink.c
+++ b/ext/directfb/dfbvideosink.c
@@ -1942,7 +1942,6 @@ gst_dfbvideosink_navigation_send_event (GstNavigation * navigation,
GstDfbVideoSink *dfbvideosink = GST_DFBVIDEOSINK (navigation);
GstEvent *event;
GstVideoRectangle src, dst, result;
- gint width, height;
double x, y;
GstPad *pad = NULL;
@@ -2366,6 +2365,11 @@ gst_dfbvideosink_get_type (void)
NULL,
NULL,
};
+ static const GInterfaceInfo colorbalance_info = {
+ (GInterfaceInitFunc) gst_dfbvideosink_colorbalance_init,
+ NULL,
+ NULL,
+ };
dfbvideosink_type = g_type_register_static (GST_TYPE_VIDEO_SINK,
"GstDfbVideoSink", &dfbvideosink_info, 0);
@@ -2374,6 +2378,8 @@ gst_dfbvideosink_get_type (void)
GST_TYPE_IMPLEMENTS_INTERFACE, &iface_info);
g_type_add_interface_static (dfbvideosink_type, GST_TYPE_NAVIGATION,
&navigation_info);
+ g_type_add_interface_static (dfbvideosink_type, GST_TYPE_COLOR_BALANCE,
+ &colorbalance_info);
}
return dfbvideosink_type;