gst/gstminiobject.c: update docs

Original commit message from CVS:
* gst/gstminiobject.c:
update docs
* plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
(gst_fd_src_create):
log recurring events at LOG level
add more debug for when the fd gets set
This commit is contained in:
Thomas Vander Stichele 2006-07-24 07:40:13 +00:00
parent 089bc67d1e
commit 0d79923b07
3 changed files with 21 additions and 8 deletions

View file

@ -1,3 +1,12 @@
2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstminiobject.c:
update docs
* plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
(gst_fd_src_create):
log recurring events at LOG level
add more debug for when the fd gets set
2006-07-21 Stefan Kost <ensonic@users.sf.net>
* gst/gstparse.c: (gst_parse_launch):

View file

@ -204,12 +204,13 @@ gst_mini_object_is_writable (const GstMiniObject * mini_object)
* gst_mini_object_make_writable:
* @mini_object: the mini-object to make writable
*
* Checks if a mini-object is writable. If not, a witeable copy is made and
* returned.
* Checks if a mini-object is writable. If not, a writeable copy is made and
* returned. This gives away the reference to the original mini object,
* and returns a reference to the new object.
*
* MT safe
*
* Returns: a mini-object (possibly a duplicate) that is writable.
* Returns: a mini-object (possibly the same pointer) that is writable.
*/
GstMiniObject *
gst_mini_object_make_writable (GstMiniObject * mini_object)

View file

@ -278,7 +278,10 @@ gst_fd_src_set_property (GObject * object, guint prop_id, const GValue * value,
* so it is reflected in get_properties and uri */
GST_OBJECT_LOCK (object);
if (GST_STATE (GST_ELEMENT (src)) <= GST_STATE_READY) {
GST_DEBUG_OBJECT (src, "state ready or lower, updating to use new fd");
gst_fd_src_update_fd (src);
} else {
GST_DEBUG_OBJECT (src, "state above ready, not updating to new fd yet");
}
GST_OBJECT_UNLOCK (object);
break;
@ -368,7 +371,7 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
GST_BUFFER_TIMESTAMP (buf) = GST_CLOCK_TIME_NONE;
src->curoffset += readbytes;
GST_DEBUG_OBJECT (psrc, "Read buffer of size %u.", readbytes);
GST_LOG_OBJECT (psrc, "Read buffer of size %u.", readbytes);
/* we're done, return the buffer */
*outbuf = buf;