summaryrefslogtreecommitdiffstats
path: root/ext/libmms
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 16:21:28 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 16:21:28 +0100
commit6eb167a17698506fc08f47594e133fa4e44afd3e (patch)
tree8a042362aa7f2c60cf5f39070a4d8c0cd713926a /ext/libmms
parent29aa30d9a05bf6c408160de108f2486a0c08bd48 (diff)
downloadgst-plugins-bad-6eb167a17698506fc08f47594e133fa4e44afd3e.tar.gz
gst-plugins-bad-6eb167a17698506fc08f47594e133fa4e44afd3e.tar.bz2
gst-plugins-bad-6eb167a17698506fc08f47594e133fa4e44afd3e.zip
Make build without warnings with debugging disabled
Diffstat (limited to 'ext/libmms')
-rw-r--r--ext/libmms/gstmms.c7
1 files changed, 3 insertions, 4 deletions
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;
}