From 886246661f81a33da88bb5d7ab570aa87cf08b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 15 Apr 2011 19:07:55 +0100 Subject: [PATCH] baseparse: expose gst_base_parse_frame_free() for completeness API: gst_base_parse_frame_free() --- docs/libs/gstreamer-libs-sections.txt | 4 ++++ libs/gst/base/gstbaseparse.c | 4 +--- libs/gst/base/gstbaseparse.h | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/libs/gstreamer-libs-sections.txt b/docs/libs/gstreamer-libs-sections.txt index 19f04d5af9..6f1a5dfe56 100644 --- a/docs/libs/gstreamer-libs-sections.txt +++ b/docs/libs/gstreamer-libs-sections.txt @@ -240,7 +240,10 @@ gst_base_parse_convert_default gst_base_parse_add_index_entry GstBaseParseFrameFlags +gst_base_parse_frame_new gst_base_parse_frame_init +gst_base_parse_frame_free + gst_base_parse_push_frame GST_BASE_PARSE_SRC_PAD @@ -255,6 +258,7 @@ GST_IS_BASE_PARSE_CLASS GST_BASE_PARSE_GET_CLASS gst_base_parse_get_type +gst_base_parse_frame_get_type
diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index e8a23e24da..5daa03c951 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -399,8 +399,6 @@ static GstFlowReturn gst_base_parse_process_fragment (GstBaseParse * parse, static gboolean gst_base_parse_is_seekable (GstBaseParse * parse); -static void gst_base_parse_frame_free (GstBaseParseFrame * frame); - static void gst_base_parse_clear_queues (GstBaseParse * parse) { @@ -552,7 +550,7 @@ gst_base_parse_frame_copy (GstBaseParseFrame * frame) return copy; } -static void +void gst_base_parse_frame_free (GstBaseParseFrame * frame) { GST_TRACE ("freeing frame %p", frame); diff --git a/libs/gst/base/gstbaseparse.h b/libs/gst/base/gstbaseparse.h index 1dcba20297..74eaa97b84 100644 --- a/libs/gst/base/gstbaseparse.h +++ b/libs/gst/base/gstbaseparse.h @@ -266,6 +266,8 @@ GstBaseParseFrame * gst_base_parse_frame_new (GstBuffer * buffer, void gst_base_parse_frame_init (GstBaseParseFrame * frame); +void gst_base_parse_frame_free (GstBaseParseFrame * frame); + GstFlowReturn gst_base_parse_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame);