caps: Add Since: 1.16 marker to gst_caps_copy()
[platform/upstream/gstreamer.git] / gst / gstclock.h
index d21aedd..f34c97d 100644 (file)
@@ -392,8 +392,12 @@ typedef enum {
 struct _GstClockEntry {
   gint                  refcount;
   /*< protected >*/
+#ifndef GST_REMOVE_DEPRECATED
 #ifndef GST_DISABLE_DEPRECATED
   GstClock              *clock;
+#else
+  gpointer               _clock;
+#endif
 #endif
   GstClockEntryType      type;
   GstClockTime           time;
@@ -406,10 +410,7 @@ struct _GstClockEntry {
   gboolean               woken_up;
 
   /*< private >*/
-  union {
-    gpointer _gst_reserved[GST_PADDING];
-    GWeakRef clock;
-  } ABI;
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 #include <gst/gstobject.h>
@@ -423,7 +424,7 @@ struct _GstClockEntry {
  * @GST_CLOCK_FLAG_CAN_SET_RESOLUTION: clock's resolution can be changed
  * @GST_CLOCK_FLAG_CAN_SET_MASTER: clock can be slaved to a master clock
  * @GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC: clock needs to be synced before it can be used
- *     (Since 1.6)
+ *     (Since: 1.6)
  * @GST_CLOCK_FLAG_LAST: subclasses can add additional flags starting from this flag
  *
  * The capabilities of this clock