diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 506ebd8482..4c98ba5a80 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -320,6 +320,7 @@ gst_buffer_list_get_type GstCaps GstCaps GstStaticCaps +GstCapsIntersectMode GstCapsFlags GST_CAPS_ANY @@ -359,6 +360,7 @@ gst_caps_is_always_compatible gst_caps_is_subset gst_caps_can_intersect gst_caps_intersect +gst_caps_intersect_full gst_caps_union gst_caps_normalize gst_caps_do_simplify @@ -375,9 +377,11 @@ GST_CAPS GST_IS_CAPS GST_TYPE_CAPS GST_TYPE_CAPS_FLAGS +GST_TYPE_CAPS_INTERSECT_MODE gst_caps_flags_get_type gst_caps_get_type +gst_caps_intersect_mode_get_type
@@ -702,6 +706,10 @@ gst_element_factory_create gst_element_factory_make gst_element_factory_can_sink_caps gst_element_factory_can_src_caps +gst_element_factory_can_sink_all_caps +gst_element_factory_can_src_all_caps +gst_element_factory_can_sink_any_caps +gst_element_factory_can_src_any_caps gst_element_factory_get_static_pad_templates GstElementFactoryListType GST_ELEMENT_FACTORY_TYPE_ANY @@ -1804,7 +1812,9 @@ gst_parse_context_get_missing_elements GST_TYPE_PARSE_ERROR GST_TYPE_PARSE_FLAGS +GST_TYPE_PARSE_CONTEXT +gst_parse_context_get_type gst_parse_error_get_type gst_parse_flags_get_type
@@ -2728,7 +2738,6 @@ gst_date_time_get_time_zone_offset gst_date_time_get_second gst_date_time_get_year gst_date_time_new -gst_date_time_new_from_unix_epoch gst_date_time_new_from_unix_epoch_local_time gst_date_time_new_from_unix_epoch_utc gst_date_time_new_local_time diff --git a/docs/libs/gstreamer-libs-sections.txt b/docs/libs/gstreamer-libs-sections.txt index bb3e104260..948b1b7700 100644 --- a/docs/libs/gstreamer-libs-sections.txt +++ b/docs/libs/gstreamer-libs-sections.txt @@ -229,6 +229,7 @@ gst_base_parse_set_frame_rate gst_base_parse_convert_default gst_base_parse_add_index_entry +GstBaseParseFrame GstBaseParseFrameFlags gst_base_parse_frame_new gst_base_parse_frame_init @@ -236,6 +237,13 @@ gst_base_parse_frame_free gst_base_parse_push_frame +GST_BASE_PARSE_DRAINING +GST_BASE_PARSE_FLAG_DRAINING +GST_BASE_PARSE_FLAG_LOST_SYNC +GST_BASE_PARSE_FLOW_DROPPED +GST_BASE_PARSE_FLOW_QUEUED +GST_BASE_PARSE_LOST_SYNC +GST_BASE_PARSE_SINK_PAD GST_BASE_PARSE_SRC_PAD GstBaseParsePrivate diff --git a/gst/gstatomicqueue.h b/gst/gstatomicqueue.h index 51c10b908b..6d71010c6b 100644 --- a/gst/gstatomicqueue.h +++ b/gst/gstatomicqueue.h @@ -29,6 +29,7 @@ G_BEGIN_DECLS /** * GstAtomicQueue: + * * Opaque atomic data queue. * * Use the acessor functions to get the stored values. diff --git a/gst/gstbufferlist.c b/gst/gstbufferlist.c index 0af57d313e..42690f9822 100644 --- a/gst/gstbufferlist.c +++ b/gst/gstbufferlist.c @@ -40,7 +40,6 @@ /** * GstBufferList: - * @mini_object: the parent structure * * Opaque list of grouped buffers. * diff --git a/gst/gstcaps.h b/gst/gstcaps.h index a3b30a2fb9..01325f9bb0 100644 --- a/gst/gstcaps.h +++ b/gst/gstcaps.h @@ -52,20 +52,21 @@ typedef enum { * @GST_CAPS_INTERSECT_FIRST : Keeps the first caps order. * * Modes of caps intersection - * - * #GST_CAPS_INTERSECT_ZIG_ZAG tries to preserve overall order of both caps + * + * @GST_CAPS_INTERSECT_ZIG_ZAG tries to preserve overall order of both caps * by iterating on the caps' structures as the following matrix shows: + * |[ * caps1 * +------------- * | 1 2 4 7 * caps2 | 3 5 8 10 * | 6 9 11 12 - * + * ]| * Used when there is no explicit precedence of one caps over the other. e.g. * tee's sink pad getcaps function, it will probe its src pad peers' for their * caps and intersect them with this mode. * - * #GST_CAPS_INTERSECT_FIRST is useful when an element wants to preserve + * @GST_CAPS_INTERSECT_FIRST is useful when an element wants to preserve * another element's caps priority order when intersecting with its own caps. * Example: If caps1 is [A, B, C] and caps2 is [E, B, D, A], the result * would be [A, B], maintaining the first caps priority on the intersection. diff --git a/gst/gstelement.c b/gst/gstelement.c index e4497105dd..ccb657be05 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -190,7 +190,7 @@ gst_element_class_init (GstElementClass * klass) * usually be emitted from the context of the streaming thread. Also keep in * mind that if you add new elements to the pipeline in the signal handler * you will need to set them to the desired target state with - * gst_element_set() or gst_element_sync_state_with_parent(). + * gst_element_set_state() or gst_element_sync_state_with_parent(). */ gst_element_signals[PAD_ADDED] = g_signal_new ("pad-added", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, @@ -2156,7 +2156,7 @@ interrupted: * * This function returns %GST_STATE_CHANGE_NO_PREROLL if the element * successfully changed its state but is not able to provide data yet. - * This mostly happens for live sources that only produce data in + * This mostly happens for live sources that only produce data in * %GST_STATE_PLAYING. While the state change return is equivalent to * %GST_STATE_CHANGE_SUCCESS, it is returned to the application to signal that * some sink elements might not be able to complete their state change because diff --git a/gst/gstelement.h b/gst/gstelement.h index f7303a4f38..da3133e58b 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -712,6 +712,8 @@ GType gst_element_get_type (void); * gst_element_get_parent: * @elem: a #GstElement to get the parent of. * + * Get the parent of an element. + * * Returns: (transfer full): the parent of an element. */ #define gst_element_get_parent(elem) gst_object_get_parent(GST_OBJECT_CAST(elem)) diff --git a/gst/gstpluginfeature.h b/gst/gstpluginfeature.h index c24be4f759..abfebe2541 100644 --- a/gst/gstpluginfeature.h +++ b/gst/gstpluginfeature.h @@ -142,6 +142,15 @@ void gst_plugin_feature_list_free (GList *list); GList *gst_plugin_feature_list_copy (GList *list); void gst_plugin_feature_list_debug (GList *list); +/** + * GST_PLUGIN_FEATURE_LIST_DEBUG: + * @list: (transfer none) (element-type Gst.PluginFeature): a #GList of + * plugin features + * + * Debug the plugin feature names in @list. + * + * Since: 0.10.31 + */ #ifndef GST_DISABLE_GST_DEBUG #define GST_PLUGIN_FEATURE_LIST_DEBUG(list) gst_plugin_feature_list_debug(list) #else diff --git a/gst/gstsystemclock.h b/gst/gstsystemclock.h index 39d6083e8b..490f70086a 100644 --- a/gst/gstsystemclock.h +++ b/gst/gstsystemclock.h @@ -57,7 +57,6 @@ typedef enum { /** * GstSystemClock: - * @clock: The parent clock * * The default implementation of a #GstClock that uses the system time. */ diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index d0fe4641eb..0c5232eaaf 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -2990,7 +2990,7 @@ gst_base_parse_set_syncable (GstBaseParse * parse, gboolean syncable) /** * gst_base_parse_set_passthrough: * @parse: a #GstBaseParse - * @passthrough: + * @passthrough: %TRUE if parser should run in passthrough mode * * Set if the nature of the format or configuration does not allow (much) * parsing, and the parser should operate in passthrough mode (which only diff --git a/libs/gst/dataprotocol/dataprotocol.h b/libs/gst/dataprotocol/dataprotocol.h index 62c30bdfe0..efd524af7b 100644 --- a/libs/gst/dataprotocol/dataprotocol.h +++ b/libs/gst/dataprotocol/dataprotocol.h @@ -111,6 +111,16 @@ typedef gboolean (*GstDPPacketFromEventFunction) (const GstEvent * event, guint * length, guint8 ** header, guint8 ** payload); + +/** + * GstDPPacketizer: + * @version: the #GstDPVersion of the protocol to be used + * @header_from_buffer: buffer serializer function + * @packet_from_caps: caps serializer function + * @packet_from_event: event serializer function + * + * Data protocol packetizer handle. + */ typedef struct { GstDPVersion version; diff --git a/plugins/elements/gstfunnel.c b/plugins/elements/gstfunnel.c index 1728fe68b2..9210fb73a3 100644 --- a/plugins/elements/gstfunnel.c +++ b/plugins/elements/gstfunnel.c @@ -24,7 +24,6 @@ /** * SECTION:element-funnel - * @short_description: N-to-1 simple funnel * * Takes packets from various input sinks into one output source. * diff --git a/tests/check/gst/gstminiobject.c b/tests/check/gst/gstminiobject.c index 9330a4d07c..b4ffcb8cbb 100644 --- a/tests/check/gst/gstminiobject.c +++ b/tests/check/gst/gstminiobject.c @@ -402,6 +402,23 @@ GST_START_TEST (test_value_collection) GST_END_TEST; +GST_START_TEST (test_dup_null_mini_object) +{ + GValue value = { 0, }; + GstMiniObject *mo; + + g_value_init (&value, GST_TYPE_BUFFER); + + g_value_set_boxed (&value, NULL); + + mo = GST_MINI_OBJECT_CAST (g_value_dup_boxed (&value)); + g_assert (mo == NULL); + + g_value_unset (&value); +} + +GST_END_TEST; + static Suite * gst_mini_object_suite (void) { @@ -419,6 +436,7 @@ gst_mini_object_suite (void) tcase_add_test (tc_chain, test_unref_threaded); //tcase_add_test (tc_chain, test_recycle_threaded); tcase_add_test (tc_chain, test_value_collection); + tcase_add_test (tc_chain, test_dup_null_mini_object); return s; }