+2004-12-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * configure.ac:
+ Fix indentation, fix v4l2 plugin detection.
+ * ext/Makefile.am:
+ Fix libmms location (Maciej, use diff -u!).
+ * ext/alsa/gstalsa.c: (gst_alsa_init):
+ Initialize caps cache to NULL.
+ * gst/playback/gstplaybin.c: (gst_play_bin_change_state):
+ Only change state on audiosink if it exists.
+
2004-12-28 Maciej Katafiasz <mathrick@mathrick.org>
* gst/matroska/matroska-demux.c:
synaesthesia \
tags \
tcp \
- tta \
+ tta \
typefind \
udp \
vbidec \
AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_GST_V4L="yes", HAVE_GST_V4L="no", [
#include <sys/types.h>
#define _LINUX_TIME_H
+#define __user
#include <linux/videodev.h>
])
fi
#include <sys/types.h>
#include <linux/types.h>
#define _LINUX_TIME_H
+#define __user
#include <linux/videodev2.h>
#if defined(V4L2_MAJOR_VERSION) || defined(V4L2_MINOR_VERSION)
#error too early v4l2 version or no v4l2 at all
#include <sys/types.h>
#include <linux/types.h>
#define _LINUX_TIME_H
+#define __user
#include <linux/videodev2.h>
],[
struct v4l2_buffer buf;
AC_CHECK_HEADER([musepack/mpc_dec.h], [
HAVE_MUSEPACK="yes"
MUSEPACK_LIBS="-lmusepack"
- MUSEPACK_CFLAGS=
- AC_SUBST(MUSEPACK_CFLAGS)
AC_SUBST(MUSEPACK_LIBS)
], [HAVE_MUSEPACK="no"])
AC_LANG_C
dvdread \
dvdnav \
esd \
- libmms \
faac \
faad \
flac \
libcaca \
libfame \
libmng \
+ libmms \
libpng \
librfb \
libvisual \
gst_alsa_init (GstAlsa * this)
{
this->device = g_strdup ("default");
+ this->cached_caps = NULL;
GST_FLAG_SET (this, GST_ELEMENT_EVENT_AWARE);
GST_FLAG_SET (this, GST_ELEMENT_THREAD_SUGGESTED);
case GST_STATE_PLAYING_TO_PAUSED:
/* Set audio sink state to NULL to release the sound device,
* but only if we own it (else we might be in chain-transition). */
- if (GST_STATE (play_bin->audio_sink) == GST_STATE_PAUSED) {
+ if (play_bin->audio_sink != NULL &&
+ GST_STATE (play_bin->audio_sink) == GST_STATE_PAUSED) {
gst_element_set_state (play_bin->audio_sink, GST_STATE_NULL);
}
break;