summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0caaa7d)
raw | patch | inline | side by side (parent: 0caaa7d)
author | Wim Taymans <wim.taymans@gmail.com> | |
Fri, 15 Jun 2007 10:43:51 +0000 (10:43 +0000) | ||
committer | Wim Taymans <wim.taymans@gmail.com> | |
Fri, 15 Jun 2007 10:43:51 +0000 (10:43 +0000) |
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_default_query), (gst_base_src_get_range),
(gst_base_src_start):
* tests/check/pipelines/parse-launch.c: (setup_pipeline):
Improve debugging.
* gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_default_query), (gst_base_src_get_range),
(gst_base_src_start):
* tests/check/pipelines/parse-launch.c: (setup_pipeline):
Improve debugging.
ChangeLog | patch | blob | history | |
gst/gstpad.c | patch | blob | history | |
libs/gst/base/gstbasesrc.c | patch | blob | history | |
tests/check/pipelines/parse-launch.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 75b9389b9f02024934d48597e5e5ec2958f862aa..277bc6550d39cb234bcfe20d43ee29ecf8cc4970 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2007-06-15 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
+ * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
+ (gst_base_src_default_query), (gst_base_src_get_range),
+ (gst_base_src_start):
+ * tests/check/pipelines/parse-launch.c: (setup_pipeline):
+ Improve debugging.
+
2007-06-15 Stefan Kost <ensonic@users.sf.net>
* docs/pwg/advanced-types.xml:
diff --git a/gst/gstpad.c b/gst/gstpad.c
index 46710ca96f93060d4694e7709e5cdbb81af08b82..669dda2cf114ef6b5edc3fd14bea0fbfc4303a4c 100644 (file)
--- a/gst/gstpad.c
+++ b/gst/gstpad.c
result = gst_pad_send_event (peerpad, event);
/* Note: we gave away ownership of the event at this point */
- GST_LOG_OBJECT (pad, "sent event to peerpad %" GST_PTR_FORMAT, peerpad);
+ GST_LOG_OBJECT (pad, "sent event to peerpad %" GST_PTR_FORMAT ", result %d",
+ peerpad, result);
gst_object_unref (peerpad);
return result;
if (need_unlock)
GST_PAD_STREAM_UNLOCK (pad);
+ GST_DEBUG_OBJECT (pad, "sent event, result %d", result);
+
return result;
/* ERROR handling */
index 6f4ac2f918be30b1493e7d3974d131aa695ddbec..b427518cd8e3e983a98feca4adcbda6e9afa635c 100644 (file)
GstFormat format;
gst_query_parse_duration (query, &format, NULL);
+
+ GST_DEBUG_OBJECT (src, "duration query in format %s",
+ gst_format_get_name (format));
switch (format) {
case GST_FORMAT_PERCENT:
gst_query_set_duration (query, GST_FORMAT_PERCENT,
res = FALSE;
break;
}
+ GST_DEBUG_OBJECT (src, "query %s returns %d", GST_QUERY_TYPE_NAME (query),
+ res);
return res;
}
result = FALSE;
size = -1;
}
+ GST_DEBUG_OBJECT (basesrc, "setting size %" G_GUINT64_FORMAT, size);
/* only update the size when operating in bytes, subclass is supposed
* to set duration in the start method for other formats */
gst_segment_set_duration (&basesrc->segment, GST_FORMAT_BYTES, size);
index c27ecf04a1ca3dcc06e9c4f2e0069738ddb80c7a..8b9a97c7f687c26578961c3a893c245e5650826e 100644 (file)
GError *error = NULL;
pipeline = gst_parse_launch (pipe_descr, &error);
+
+ GST_DEBUG ("created %s", pipe_descr);
+
if (error != NULL) {
fail_if (error != NULL, "Error parsing pipeline %s: %s", pipe_descr,
error->message);