From b5051d23ddae30f07ca549a88a38da2a80166295 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 25 Jun 2004 12:46:40 +0000 Subject: [PATCH] print offset_end Original commit message from CVS: print offset_end --- ChangeLog | 5 +++++ gst/elements/gstidentity.c | 8 ++++---- plugins/elements/gstidentity.c | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9303e7ed5d..f1f7704bbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-25 Thomas Vander Stichele + + * gst/elements/gstidentity.c: (gst_identity_chain): + print offset_end + 2004-06-25 Thomas Vander Stichele * docs/gst/Makefile.am: diff --git a/gst/elements/gstidentity.c b/gst/elements/gstidentity.c index b9047e4824..032f6ef273 100644 --- a/gst/elements/gstidentity.c +++ b/gst/elements/gstidentity.c @@ -237,11 +237,11 @@ gst_identity_chain (GstPad * pad, GstData * _data) identity->last_message = g_strdup_printf ("dropping ******* (%s:%s)i (%d bytes, timestamp: %" GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %" - G_GINT64_FORMAT ", flags: %d) %p", + G_GINT64_FORMAT ", offset_end: % " G_GINT64_FORMAT ", flags: %d) %p", GST_DEBUG_PAD_NAME (identity->sinkpad), GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)), GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf), - GST_BUFFER_FLAGS (buf), buf); + GST_BUFFER_OFFSET_END (buf), GST_BUFFER_FLAGS (buf), buf); g_object_notify (G_OBJECT (identity), "last-message"); gst_buffer_unref (buf); return; @@ -257,11 +257,11 @@ gst_identity_chain (GstPad * pad, GstData * _data) identity->last_message = g_strdup_printf ("chain ******* (%s:%s)i (%d bytes, timestamp: %" GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %" - G_GINT64_FORMAT ", flags: %d) %p", + G_GINT64_FORMAT ", offset_end: % " G_GINT64_FORMAT ", flags: %d) %p", GST_DEBUG_PAD_NAME (identity->sinkpad), GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)), GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf), - GST_BUFFER_FLAGS (buf), buf); + GST_BUFFER_OFFSET_END (buf), GST_BUFFER_FLAGS (buf), buf); g_object_notify (G_OBJECT (identity), "last-message"); } diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index b9047e4824..032f6ef273 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -237,11 +237,11 @@ gst_identity_chain (GstPad * pad, GstData * _data) identity->last_message = g_strdup_printf ("dropping ******* (%s:%s)i (%d bytes, timestamp: %" GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %" - G_GINT64_FORMAT ", flags: %d) %p", + G_GINT64_FORMAT ", offset_end: % " G_GINT64_FORMAT ", flags: %d) %p", GST_DEBUG_PAD_NAME (identity->sinkpad), GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)), GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf), - GST_BUFFER_FLAGS (buf), buf); + GST_BUFFER_OFFSET_END (buf), GST_BUFFER_FLAGS (buf), buf); g_object_notify (G_OBJECT (identity), "last-message"); gst_buffer_unref (buf); return; @@ -257,11 +257,11 @@ gst_identity_chain (GstPad * pad, GstData * _data) identity->last_message = g_strdup_printf ("chain ******* (%s:%s)i (%d bytes, timestamp: %" GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %" - G_GINT64_FORMAT ", flags: %d) %p", + G_GINT64_FORMAT ", offset_end: % " G_GINT64_FORMAT ", flags: %d) %p", GST_DEBUG_PAD_NAME (identity->sinkpad), GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)), GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf), - GST_BUFFER_FLAGS (buf), buf); + GST_BUFFER_OFFSET_END (buf), GST_BUFFER_FLAGS (buf), buf); g_object_notify (G_OBJECT (identity), "last-message"); }