mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
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:
parent
089bc67d1e
commit
0d79923b07
3 changed files with 21 additions and 8 deletions
|
@ -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>
|
2006-07-21 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/gstparse.c: (gst_parse_launch):
|
* gst/gstparse.c: (gst_parse_launch):
|
||||||
|
|
|
@ -204,12 +204,13 @@ gst_mini_object_is_writable (const GstMiniObject * mini_object)
|
||||||
* gst_mini_object_make_writable:
|
* gst_mini_object_make_writable:
|
||||||
* @mini_object: the mini-object to 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
|
* Checks if a mini-object is writable. If not, a writeable copy is made and
|
||||||
* returned.
|
* returned. This gives away the reference to the original mini object,
|
||||||
|
* and returns a reference to the new object.
|
||||||
*
|
*
|
||||||
* MT safe
|
* MT safe
|
||||||
*
|
*
|
||||||
* Returns: a mini-object (possibly a duplicate) that is writable.
|
* Returns: a mini-object (possibly the same pointer) that is writable.
|
||||||
*/
|
*/
|
||||||
GstMiniObject *
|
GstMiniObject *
|
||||||
gst_mini_object_make_writable (GstMiniObject * mini_object)
|
gst_mini_object_make_writable (GstMiniObject * mini_object)
|
||||||
|
|
|
@ -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 */
|
* so it is reflected in get_properties and uri */
|
||||||
GST_OBJECT_LOCK (object);
|
GST_OBJECT_LOCK (object);
|
||||||
if (GST_STATE (GST_ELEMENT (src)) <= GST_STATE_READY) {
|
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);
|
gst_fd_src_update_fd (src);
|
||||||
|
} else {
|
||||||
|
GST_DEBUG_OBJECT (src, "state above ready, not updating to new fd yet");
|
||||||
}
|
}
|
||||||
GST_OBJECT_UNLOCK (object);
|
GST_OBJECT_UNLOCK (object);
|
||||||
break;
|
break;
|
||||||
|
@ -368,7 +371,7 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
GST_BUFFER_TIMESTAMP (buf) = GST_CLOCK_TIME_NONE;
|
GST_BUFFER_TIMESTAMP (buf) = GST_CLOCK_TIME_NONE;
|
||||||
src->curoffset += readbytes;
|
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 */
|
/* we're done, return the buffer */
|
||||||
*outbuf = buf;
|
*outbuf = buf;
|
||||||
|
|
Loading…
Reference in a new issue