From 6eb167a17698506fc08f47594e133fa4e44afd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 19 Jun 2009 16:21:28 +0100 Subject: Make build without warnings with debugging disabled --- ext/libmms/gstmms.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ext/libmms') diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index 33a1a7d2..5ccbb732 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -240,23 +240,22 @@ gst_mms_prepare_seek_segment (GstBaseSrc * src, GstEvent * event, GstSeekFlags flags; GstFormat seek_format; gdouble rate; - GstMMS *mmssrc = GST_MMS (src); gst_event_parse_seek (event, &rate, &seek_format, &flags, &cur_type, &cur, &stop_type, &stop); if (seek_format != GST_FORMAT_BYTES && seek_format != GST_FORMAT_TIME) { - GST_LOG_OBJECT (mmssrc, "Only byte or time seeking is supported"); + GST_LOG_OBJECT (src, "Only byte or time seeking is supported"); return FALSE; } if (stop_type != GST_SEEK_TYPE_NONE) { - GST_LOG_OBJECT (mmssrc, "Stop seeking not supported"); + GST_LOG_OBJECT (src, "Stop seeking not supported"); return FALSE; } if (cur_type != GST_SEEK_TYPE_NONE && cur_type != GST_SEEK_TYPE_SET) { - GST_LOG_OBJECT (mmssrc, "Only absolute seeking is supported"); + GST_LOG_OBJECT (src, "Only absolute seeking is supported"); return FALSE; } -- cgit v1.2.1