diff options
Diffstat (limited to 'ext/libmms/gstmms.c')
-rw-r--r-- | ext/libmms/gstmms.c | 7 |
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; } |