Adding a first version of directfbvideosink.

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.
This commit is contained in:
Julien Moutte 2004-11-28 19:08:45 +00:00
parent 110fd90222
commit d70c927c8b
4 changed files with 49 additions and 0 deletions

View file

@ -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):

View 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

View 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 \

View 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 ();