From: <mn...@ke...> - 2011-01-28 11:51:38
|
Module: gst-plugins-bad Branch: master Commit: 695c9599f4ff2fa586c8d62e39753cf92fa8f9a7 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=695c9599f4ff2fa586c8d62e39753cf92fa8f9a7 Author: Mark Nauwelaerts <mar...@co...> Date: Fri Dec 10 14:56:13 2010 +0100 baseparse: minor typo and debug statement cleanup --- gst/audioparsers/gstbaseparse.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gst/audioparsers/gstbaseparse.c b/gst/audioparsers/gstbaseparse.c index 15455ce..1dee034 100644 --- a/gst/audioparsers/gstbaseparse.c +++ b/gst/audioparsers/gstbaseparse.c @@ -686,11 +686,11 @@ gst_base_parse_sink_event (GstPad * pad, GstEvent * event) gboolean handled = FALSE; gboolean ret = TRUE; - parse = GST_BASE_PARSE (gst_pad_get_parent (pad)); bclass = GST_BASE_PARSE_GET_CLASS (parse); - GST_DEBUG_OBJECT (parse, "handling event %d", GST_EVENT_TYPE (event)); + GST_DEBUG_OBJECT (parse, "handling event %d, %s", GST_EVENT_TYPE (event), + GST_EVENT_TYPE_NAME (event)); /* Cache all events except EOS, NEWSEGMENT and FLUSH_STOP if we have a * pending segment */ @@ -2397,7 +2397,7 @@ gst_base_parse_sink_activate (GstPad * sinkpad) /** * gst_base_parse_activate: * @parse: #GstBaseParse. - * @active: TRUE if element will be activated, FALSE if disactivated. + * @active: TRUE if element will be activated, FALSE if deactivated. * * Returns: TRUE if the operation succeeded. */ @@ -2564,6 +2564,7 @@ gst_base_parse_set_seek (GstBaseParse * parse, { parse->priv->seekable = seek; parse->priv->bitrate = bitrate; + GST_DEBUG_OBJECT (parse, "seek %d, bitrate %d", seek, bitrate); } |