libs/gst/base/gstbasesrc.c: Log flow-names and not numbers.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Log flow-names and not numbers.
This commit is contained in:
Stefan Kost 2007-03-01 14:49:41 +00:00
parent 3d2c9d69f7
commit 8171d7ff5d
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2007-03-01 Stefan Kost <ensonic@users.sf.net>
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Log flow-names and not numbers.
2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:

2
common

@ -1 +1 @@
Subproject commit 54c2a701c28dcddaf051abf09a360223acd096c9
Subproject commit 9a56e28fc15440eb6852411321c46312e1d1bb73

View file

@ -1547,7 +1547,8 @@ gst_base_src_loop (GstPad * pad)
ret = gst_base_src_get_range (src, position, src->blocksize, &buf);
if (G_UNLIKELY (ret != GST_FLOW_OK)) {
GST_INFO_OBJECT (src, "pausing after gst_base_src_get_range() = %d", ret);
GST_INFO_OBJECT (src, "pausing after gst_base_src_get_range() = %s",
gst_flow_get_name (ret));
goto pause;
}
if (G_UNLIKELY (buf == NULL))
@ -1599,7 +1600,8 @@ gst_base_src_loop (GstPad * pad)
ret = gst_pad_push (pad, buf);
if (G_UNLIKELY (ret != GST_FLOW_OK)) {
GST_INFO_OBJECT (src, "pausing after gst_pad_push() = %d", ret);
GST_INFO_OBJECT (src, "pausing after gst_pad_push() = %s",
gst_flow_get_name (ret));
goto pause;
}