]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugins-ugly0-10.git/commitdiff
*.*: Ran scripts/update-macros. Oh yes.
authorAndy Wingo <wingo@pobox.com>
Mon, 21 Nov 2005 16:36:44 +0000 (16:36 +0000)
committerAndy 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.

ChangeLog
ext/a52dec/gsta52dec.c
ext/amrnb/amrnbparse.c
ext/mpeg2dec/gstmpeg2dec.c
gst/realmedia/rmdemux.c

index 895748a294fb348a348d2abd4f1272e4bf5c86c7..32540d8307ebcc1ace00a94f1659e5106abe42b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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):
index 148c7e40295931d5c340bae3f7450bdd7e4c26f6..65d9a9fb0c63afd3bb575e11207399258c4698ea 100644 (file)
@@ -615,9 +615,9 @@ gst_a52dec_set_property (GObject * object, guint prop_id, const GValue * value,
 
   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);
@@ -633,9 +633,9 @@ gst_a52dec_get_property (GObject * object, guint prop_id, GValue * value,
 
   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);
index 9bd3ab93f5e78f84da0df04e667b5de9ae172af8..05f2399511d415c11438bd2393ae5a3f6c66050f 100644 (file)
@@ -459,9 +459,9 @@ gst_amrnbparse_sink_activate (GstPad * sinkpad)
 
   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)
@@ -932,11 +932,11 @@ gst_mpeg2dec_src_getcaps (GstPad * pad)
 {
   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)
@@ -316,7 +316,7 @@ gst_rmdemux_src_event (GstPad * pad, GstEvent * event)
         goto done_unref;
       }
 
-      GST_LOCK (rmdemux);
+      GST_OBJECT_LOCK (rmdemux);
 
       if (cur_type == GST_SEEK_TYPE_SET)
         rmdemux->segment_start = cur;
@@ -334,7 +334,7 @@ gst_rmdemux_src_event (GstPad * pad, GstEvent * event)
 
       /* 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",
@@ -352,7 +352,7 @@ gst_rmdemux_src_event (GstPad * pad, GstEvent * event)
 
       /* check if we can do the seek now */
       running = rmdemux->running;
-      GST_UNLOCK (rmdemux);
+      GST_OBJECT_UNLOCK (rmdemux);
 
       /* now do the seek */
       if (running) {
@@ -684,9 +684,9 @@ gst_rmdemux_change_state (GstElement * element, GstStateChange transition)
       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;
@@ -810,10 +810,10 @@ gst_rmdemux_loop (GstPad * pad)
       /* 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,
@@ -848,9 +848,9 @@ gst_rmdemux_loop (GstPad * pad)
           /* 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;