summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39c8507)
raw | patch | inline | side by side (parent: 39c8507)
author | Andy Wingo <wingo@pobox.com> | |
Mon, 21 Nov 2005 16:36:44 +0000 (16:36 +0000) | ||
committer | Andy Wingo <wingo@pobox.com> | |
Mon, 21 Nov 2005 16:36:44 +0000 (16:36 +0000) |
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* *.h:
* *.c: Ran scripts/update-macros. Oh yes.
2005-11-21 Andy Wingo <wingo@pobox.com>
* *.h:
* *.c: Ran scripts/update-macros. Oh yes.
diff --git a/ChangeLog b/ChangeLog
index 895748a294fb348a348d2abd4f1272e4bf5c86c7..32540d8307ebcc1ace00a94f1659e5106abe42b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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>
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event):
diff --git a/ext/a52dec/gsta52dec.c b/ext/a52dec/gsta52dec.c
index 148c7e40295931d5c340bae3f7450bdd7e4c26f6..65d9a9fb0c63afd3bb575e11207399258c4698ea 100644 (file)
--- a/ext/a52dec/gsta52dec.c
+++ b/ext/a52dec/gsta52dec.c
switch (prop_id) {
case ARG_DRC:
- GST_LOCK (src);
+ GST_OBJECT_LOCK (src);
src->dynamic_range_compression = g_value_get_boolean (value);
- GST_UNLOCK (src);
+ GST_OBJECT_UNLOCK (src);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
switch (prop_id) {
case ARG_DRC:
- GST_LOCK (src);
+ GST_OBJECT_LOCK (src);
g_value_set_boolean (value, src->dynamic_range_compression);
- GST_UNLOCK (src);
+ GST_OBJECT_UNLOCK (src);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
diff --git a/ext/amrnb/amrnbparse.c b/ext/amrnb/amrnbparse.c
index 9bd3ab93f5e78f84da0df04e667b5de9ae172af8..05f2399511d415c11438bd2393ae5a3f6c66050f 100644 (file)
--- a/ext/amrnb/amrnbparse.c
+++ b/ext/amrnb/amrnbparse.c
amrnbparse = GST_AMRNBPARSE (GST_OBJECT_PARENT (sinkpad));
- GST_LOCK (sinkpad);
+ GST_OBJECT_LOCK (sinkpad);
mode = GST_PAD_ACTIVATE_MODE (sinkpad);
- GST_UNLOCK (sinkpad);
+ GST_OBJECT_UNLOCK (sinkpad);
switch (mode) {
case GST_ACTIVATE_PUSH:
index 8e22f6cb41bdca820b0f17c58d425c0b53b0ab97..e7771757b165e1599eab492154d9d78f044e8814 100644 (file)
{
GstCaps *caps;
- GST_LOCK (pad);
+ GST_OBJECT_LOCK (pad);
if (!(caps = GST_PAD_CAPS (pad)))
caps = (GstCaps *) gst_pad_get_pad_template_caps (pad);
caps = gst_caps_ref (caps);
- GST_UNLOCK (pad);
+ GST_OBJECT_UNLOCK (pad);
return caps;
}
index 58cefd9ec6082dad2d34cb1332640c4e33608adc..a1c6ce00e78bc7506edcce4fdfb8b4e859cdfc8a 100644 (file)
--- a/gst/realmedia/rmdemux.c
+++ b/gst/realmedia/rmdemux.c
goto done_unref;
}
- GST_LOCK (rmdemux);
+ GST_OBJECT_LOCK (rmdemux);
if (cur_type == GST_SEEK_TYPE_SET)
rmdemux->segment_start = cur;
/* Now do a sanity-check */
if (rmdemux->segment_stop < rmdemux->segment_start) {
- GST_UNLOCK (rmdemux);
+ GST_OBJECT_UNLOCK (rmdemux);
ret = FALSE;
GST_DEBUG_OBJECT (rmdemux, "Seek had stop " G_GUINT64_FORMAT " < start "
G_GUINT64_FORMAT ", cannot perform seek",
/* check if we can do the seek now */
running = rmdemux->running;
- GST_UNLOCK (rmdemux);
+ GST_OBJECT_UNLOCK (rmdemux);
/* now do the seek */
if (running) {
break;
case GST_STATE_CHANGE_PAUSED_TO_READY:
gst_adapter_clear (rmdemux->adapter);
- GST_LOCK (rmdemux);
+ GST_OBJECT_LOCK (rmdemux);
rmdemux->running = FALSE;
- GST_UNLOCK (rmdemux);
+ GST_OBJECT_UNLOCK (rmdemux);
break;
case GST_STATE_CHANGE_READY_TO_NULL:
break;
/* The index isn't available so forget about it */
rmdemux->loop_state = RMDEMUX_LOOP_STATE_DATA;
rmdemux->offset = rmdemux->data_offset;
- GST_LOCK (rmdemux);
+ GST_OBJECT_LOCK (rmdemux);
rmdemux->running = TRUE;
rmdemux->seekable = FALSE;
- GST_UNLOCK (rmdemux);
+ GST_OBJECT_UNLOCK (rmdemux);
return;
} else {
GST_DEBUG_OBJECT (rmdemux,
/* We've read the last index */
rmdemux->loop_state = RMDEMUX_LOOP_STATE_DATA;
rmdemux->offset = rmdemux->data_offset;
- GST_LOCK (rmdemux);
+ GST_OBJECT_LOCK (rmdemux);
rmdemux->running = TRUE;
- GST_UNLOCK (rmdemux);
+ GST_OBJECT_UNLOCK (rmdemux);
} else {
/* Get the next index */
rmdemux->offset = rmdemux->index_offset;