base: Export boxed type copy/free functions for the remaining types
authorSebastian Dröge <sebastian@centricular.com>
Tue, 20 Jun 2017 06:57:01 +0000 (09:57 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 Jun 2017 07:08:38 +0000 (10:08 +0300)
libs/gst/base/gstbaseparse.c
libs/gst/base/gstbaseparse.h
libs/gst/base/gstflowcombiner.c
libs/gst/base/gstflowcombiner.h
win32/common/libgstbase.def

index df67dd0..4b45280 100644 (file)
@@ -655,7 +655,7 @@ gst_base_parse_get_property (GObject * object, guint prop_id, GValue * value,
   }
 }
 
-static GstBaseParseFrame *
+GstBaseParseFrame *
 gst_base_parse_frame_copy (GstBaseParseFrame * frame)
 {
   GstBaseParseFrame *copy;
index abf6321..200af44 100644 (file)
@@ -285,6 +285,7 @@ GstBaseParseFrame * gst_base_parse_frame_new  (GstBuffer              * buffer,
 
 void            gst_base_parse_frame_init      (GstBaseParseFrame * frame);
 
+GstBaseParseFrame * gst_base_parse_frame_copy  (GstBaseParseFrame * frame);
 void            gst_base_parse_frame_free      (GstBaseParseFrame * frame);
 
 GstFlowReturn   gst_base_parse_push_frame      (GstBaseParse      * parse,
index 9aba81d..09639b9 100644 (file)
@@ -72,9 +72,6 @@ struct _GstFlowCombiner
   volatile gint ref_count;
 };
 
-static GstFlowCombiner *gst_flow_combiner_ref (GstFlowCombiner * combiner);
-static void gst_flow_combiner_unref (GstFlowCombiner * combiner);
-
 GST_DEBUG_CATEGORY_STATIC (flowcombiner_dbg);
 #define GST_CAT_DEFAULT flowcombiner_dbg
 
@@ -121,7 +118,7 @@ gst_flow_combiner_free (GstFlowCombiner * combiner)
   gst_flow_combiner_unref (combiner);
 }
 
-static GstFlowCombiner *
+GstFlowCombiner *
 gst_flow_combiner_ref (GstFlowCombiner * combiner)
 {
   g_return_val_if_fail (combiner != NULL, NULL);
@@ -131,7 +128,7 @@ gst_flow_combiner_ref (GstFlowCombiner * combiner)
   return combiner;
 }
 
-static void
+void
 gst_flow_combiner_unref (GstFlowCombiner * combiner)
 {
   g_return_if_fail (combiner != NULL);
index 2ea3937..2a494b6 100644 (file)
@@ -43,6 +43,10 @@ typedef struct _GstFlowCombiner GstFlowCombiner;
 
 GstFlowCombiner * gst_flow_combiner_new (void);
 
+GstFlowCombiner * gst_flow_combiner_ref (GstFlowCombiner * combiner);
+
+void              gst_flow_combiner_unref (GstFlowCombiner * combiner);
+
 void              gst_flow_combiner_free (GstFlowCombiner * combiner);
 
 GstFlowReturn     gst_flow_combiner_update_flow (GstFlowCombiner * combiner, GstFlowReturn fret);
index 740772d..71f75dc 100644 (file)
@@ -34,6 +34,7 @@ EXPORTS
        gst_base_parse_convert_default
        gst_base_parse_drain
        gst_base_parse_finish_frame
+       gst_base_parse_frame_copy
        gst_base_parse_frame_free
        gst_base_parse_frame_get_type
        gst_base_parse_frame_init
@@ -285,8 +286,10 @@ EXPORTS
        gst_flow_combiner_free
        gst_flow_combiner_get_type
        gst_flow_combiner_new
+       gst_flow_combiner_ref
        gst_flow_combiner_remove_pad
        gst_flow_combiner_reset
+       gst_flow_combiner_unref
        gst_flow_combiner_update_flow
        gst_flow_combiner_update_pad_flow
        gst_push_src_get_type