+2005-11-21 Andy Wingo <wingo@pobox.com>
+
+ * *.h:
+ * *.c: Ran scripts/update-macros. Oh yes.
+
2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
* ext/directfb/dfbvideosink.c:
if (!gst_caps_is_fixed (caps))
goto done;
- GST_LOCK (faac);
+ GST_OBJECT_LOCK (faac);
if (faac->handle) {
faacEncClose (faac->handle);
faac->handle = NULL;
gst_buffer_unref (faac->cache);
faac->cache = NULL;
}
- GST_UNLOCK (faac);
+ GST_OBJECT_UNLOCK (faac);
if (!gst_structure_get_int (structure, "channels", &channels) ||
!gst_structure_get_int (structure, "rate", &samplerate)) {
goto done;
}
- GST_LOCK (faac);
+ GST_OBJECT_LOCK (faac);
faac->format = fmt;
faac->bps = bps;
faac->handle = handle;
faac->samples = samples;
faac->channels = channels;
faac->samplerate = samplerate;
- GST_UNLOCK (faac);
+ GST_OBJECT_UNLOCK (faac);
result = TRUE;
{
GstFaac *faac = GST_FAAC (object);
- GST_LOCK (faac);
+ GST_OBJECT_LOCK (faac);
switch (prop_id) {
case ARG_BITRATE:
break;
}
- GST_UNLOCK (faac);
+ GST_OBJECT_UNLOCK (faac);
}
static void
{
GstFaac *faac = GST_FAAC (object);
- GST_LOCK (faac);
+ GST_OBJECT_LOCK (faac);
switch (prop_id) {
case ARG_BITRATE:
break;
}
- GST_UNLOCK (faac);
+ GST_OBJECT_UNLOCK (faac);
}
static GstStateChangeReturn
switch (transition) {
case GST_STATE_CHANGE_PAUSED_TO_READY:
{
- GST_LOCK (faac);
+ GST_OBJECT_LOCK (faac);
if (faac->handle) {
faacEncClose (faac->handle);
faac->handle = NULL;
faac->cache_duration = 0;
faac->samplerate = -1;
faac->channels = -1;
- GST_UNLOCK (faac);
+ GST_OBJECT_UNLOCK (faac);
break;
}
default: