Adding a first version of directfbvideosink.
authorJulien Moutte <julien@moutte.net>
Sun, 28 Nov 2004 19:08:45 +0000 (19:08 +0000)
committerJulien Moutte <julien@moutte.net>
Sun, 28 Nov 2004 19:08:45 +0000 (19:08 +0000)
Original commit message from CVS:
2004-11-28  Julien MOUTTE  <julien@moutte.net>

* configure.ac:
* ext/Makefile.am:
* ext/directfb/Makefile.am:
* ext/directfb/directfbvideosink.c: (gst_directfbvideosink_create),
(gst_directfbvideosink_get_pixel_format),
(gst_directfbvideosink_get_format_from_fourcc),
(gst_directfbvideosink_fixate), (gst_directfbvideosink_getcaps),
(gst_directfbvideosink_sink_link),
(gst_directfbvideosink_change_state),
(gst_directfbvideosink_chain), (gst_directfbvideosink_buffer_free),
(gst_directfbvideosink_buffer_alloc),
(gst_directfbvideosink_interface_supported),
(gst_directfbvideosink_interface_init),
(gst_directfbvideosink_navigation_send_event),
(gst_directfbvideosink_navigation_init),
(gst_directfbvideosink_set_property),
(gst_directfbvideosink_get_property),
(gst_directfbvideosink_finalize), (gst_directfbvideosink_init),
(gst_directfbvideosink_base_init),
(gst_directfbvideosink_class_init),
(gst_directfbvideosink_get_type), (plugin_init):
* ext/directfb/directfbvideosink.h: Adding a first version of
directfbvideosink.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_init): Initializing some
more.

ChangeLog
configure.ac
ext/Makefile.am
sys/xvimage/xvimagesink.c

index 4ba02973e6aaa03c9af970a6ae01d3ba80f1d6d2..1d88d9300ea57826caa16cdcd67530343da2e059 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2004-11-28  Julien MOUTTE  <julien@moutte.net>
+
+       * configure.ac:
+       * ext/Makefile.am:
+       * ext/directfb/Makefile.am:
+       * ext/directfb/directfbvideosink.c: (gst_directfbvideosink_create),
+       (gst_directfbvideosink_get_pixel_format),
+       (gst_directfbvideosink_get_format_from_fourcc),
+       (gst_directfbvideosink_fixate), (gst_directfbvideosink_getcaps),
+       (gst_directfbvideosink_sink_link),
+       (gst_directfbvideosink_change_state),
+       (gst_directfbvideosink_chain), (gst_directfbvideosink_buffer_free),
+       (gst_directfbvideosink_buffer_alloc),
+       (gst_directfbvideosink_interface_supported),
+       (gst_directfbvideosink_interface_init),
+       (gst_directfbvideosink_navigation_send_event),
+       (gst_directfbvideosink_navigation_init),
+       (gst_directfbvideosink_set_property),
+       (gst_directfbvideosink_get_property),
+       (gst_directfbvideosink_finalize), (gst_directfbvideosink_init),
+       (gst_directfbvideosink_base_init),
+       (gst_directfbvideosink_class_init),
+       (gst_directfbvideosink_get_type), (plugin_init):
+       * ext/directfb/directfbvideosink.h: Adding a first version of
+       directfbvideosink.
+       * sys/xvimage/xvimagesink.c: (gst_xvimagesink_init): Initializing some
+       more.
+
 2004-11-28  Benjamin Otte  <otte@gnome.org>
 
        * gst/audioconvert/gstchannelmix.c: (gst_audio_convert_mix):
index 8ce9567baded385749980a5111b90344b473d02c..6120cbf62acad66c98abdb8998b8833c73ad2e92 100644 (file)
@@ -828,6 +828,16 @@ GST_CHECK_FEATURE(DIRAC, [dirac plug-ins], dirac, [
   AC_SUBST(DIRAC_LIBS)
 ])
 
+dnl *** DirectFB ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_DIRECTFB, true)
+GST_CHECK_FEATURE(DIRECTFB, [directfb], directfbvideosink , [
+  translit(dnm, m, l) AC_SUBST(DIRECTFB_LIBS)
+  translit(dnm, m, l) AC_SUBST(DIRECTFB_CFLAGS)
+  dnl check with pkg-config
+  PKG_CHECK_MODULES(DIRECTFB, directfb,
+                    HAVE_DIRECTFB="yes", HAVE_DIRECTFB="no")
+])
+
 dnl *** DIVX ***
 translit(dnm, m, l) AM_CONDITIONAL(USE_DIVX, true)
 GST_CHECK_FEATURE(DIVX, [divx plugins], divx, [
@@ -1946,6 +1956,7 @@ ext/audiofile/Makefile
 ext/cdaudio/Makefile
 ext/cdparanoia/Makefile
 ext/dirac/Makefile
+ext/directfb/Makefile
 ext/divx/Makefile
 ext/dts/Makefile
 ext/dv/Makefile
index 7f3b6fc9f7c4627271828caa4a6db542a22dbb28..42faa62c9451c25ce1b137ac8d31ac7f22c4f2e4 100644 (file)
@@ -52,6 +52,12 @@ else
 DIRAC_DIR=
 endif
 
+if USE_DIRECTFB
+DIRECTFB_DIR=directfb
+else
+DIRECTFB_DIR=
+endif
+
 if USE_DIVX
 DIVX_DIR=divx
 else
@@ -380,6 +386,7 @@ SUBDIRS=\
        $(CDAUDIO_DIR) \
        $(CDPARANOIA_DIR) \
        $(DIRAC_DIR) \
+       $(DIRECTFB_DIR) \
        $(DIVX_DIR) \
        $(DTS_DIR) \
        $(DV1394_DIR) \
@@ -442,6 +449,7 @@ DIST_SUBDIRS=\
        cdaudio \
        cdparanoia \
        dirac \
+       directfb \
        divx \
        dts \
        dv \
index d8b71f81a6594880ddf7e1decd2891608aaf0f81..56ee57d9796fbddb68756e8f86541c29ad12c22e 100644 (file)
@@ -1939,6 +1939,8 @@ gst_xvimagesink_init (GstXvImageSink * xvimagesink)
   xvimagesink->cb_changed = FALSE;
 
   xvimagesink->framerate = 0;
+  xvimagesink->video_width = 0;
+  xvimagesink->video_height = 0;
 
   xvimagesink->x_lock = g_mutex_new ();