summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b44804)
raw | patch | inline | side by side (parent: 1b44804)
author | Wim Taymans <wim.taymans@gmail.com> | |
Tue, 30 May 2006 15:53:40 +0000 (15:53 +0000) | ||
committer | Wim Taymans <wim.taymans@gmail.com> | |
Tue, 30 May 2006 15:53:40 +0000 (15:53 +0000) |
Original commit message from CVS:
* gst/gstelement.c:
Clarify the use of _release_request_pad() and
_get_request_pad() a bit better.
* libs/gst/base/gstadapter.c: (gst_adapter_peek),
(gst_adapter_take_buffer):
Fix some doc and comment typos.
* gst/gstelement.c:
Clarify the use of _release_request_pad() and
_get_request_pad() a bit better.
* libs/gst/base/gstadapter.c: (gst_adapter_peek),
(gst_adapter_take_buffer):
Fix some doc and comment typos.
ChangeLog | patch | blob | history | |
common | patch | blob | history | |
gst/gstelement.c | patch | blob | history | |
libs/gst/base/gstadapter.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 7923bdee6969b28aa11a6ebe7aff0af47fd9df23..07aebfd73064a2fb2d7e2236a74dcd62c76a3d76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-05-30 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstelement.c:
+ Clarify the use of _release_request_pad() and
+ _get_request_pad() a bit better.
+
+ * libs/gst/base/gstadapter.c: (gst_adapter_peek),
+ (gst_adapter_take_buffer):
+ Fix some doc and comment typos.
+
2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* docs/gst/gstreamer-sections.txt:
index 2f06c5cbc778e158d2429b09efc6740ff5281295..b0fd90b1cfb51107e8a511a1f3983a06bdd18638 160000 (submodule)
--- a/common
+++ b/common
-Subproject commit 2f06c5cbc778e158d2429b09efc6740ff5281295
+Subproject commit b0fd90b1cfb51107e8a511a1f3983a06bdd18638
diff --git a/gst/gstelement.c b/gst/gstelement.c
index 0d037fb85ff7c8356b87f9cf68098b041049d47e..fea77730d87be3dfc20d6fee718fb45e2c716b57 100644 (file)
--- a/gst/gstelement.c
+++ b/gst/gstelement.c
* Removes @pad from @element. @pad will be destroyed if it has not been
* referenced elsewhere.
*
+ * This function is used by plugin developers and should not be used
+ * by applications. Pads that were dynamically requested from elements
+ * with gst_element_get_request_pad() should be released with the
+ * gst_element_release_request_pad() function instead.
+ *
* Returns: TRUE if the pad could be removed. Can return FALSE if the
* pad is not belonging to the provided element.
*
* @name: the name of the request #GstPad to retrieve.
*
* Retrieves a pad from the element by name. This version only retrieves
- * request pads.
+ * request pads. The pad should be released with
+ * gst_element_release_request_pad().
*
* Returns: requested #GstPad if found, otherwise NULL. Unref after usage.
*/
index 455a03f5377ab056d842b79c2e9d82eb0d130f99..30ad670fa8d26d40e668692afef5c787474e31d7 100644 (file)
/* GStreamer
* Copyright (C) 2004 Benjamin Otte <otte@gnome.org>
+ * 2005 Wim Taymans <wim@fluendo.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* access the buffer later. The adapter will never modify the data in the
* buffer pushed in it.
*
- * Last reviewed on 2006-03-07 (0.10.4).
+ * Last reviewed on 2006-04-04 (0.10.6).
*/
g_return_val_if_fail (size > 0, NULL);
/* we don't have enough data, return NULL. This is unlikely
- * as one usually does a _available() first instead of peeking a
+ * as one usually does an _available() first instead of peeking a
* random size. */
if (G_UNLIKELY (size > adapter->size))
return NULL;