ac3parse: remove redundant default is_seekable
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 17 Sep 2010 15:35:40 +0000 (17:35 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 1 Oct 2010 10:15:48 +0000 (12:15 +0200)
gst/audioparsers/gstac3parse.c

index c19c334..ddfe9f5 100644 (file)
@@ -161,7 +161,6 @@ static void gst_ac3_parse_finalize (GObject * object);
 
 static gboolean gst_ac3_parse_start (GstBaseParse * parse);
 static gboolean gst_ac3_parse_stop (GstBaseParse * parse);
-static gboolean gst_ac3_parse_is_seekable (GstBaseParse * parse);
 static gboolean gst_ac3_parse_check_valid_frame (GstBaseParse * parse,
     GstBuffer * buffer, guint * size, gint * skipsize);
 static GstFlowReturn gst_ac3_parse_parse_frame (GstBaseParse * parse,
@@ -200,7 +199,6 @@ gst_ac3_parse_class_init (GstAc3ParseClass * klass)
   parse_class->check_valid_frame =
       GST_DEBUG_FUNCPTR (gst_ac3_parse_check_valid_frame);
   parse_class->parse_frame = GST_DEBUG_FUNCPTR (gst_ac3_parse_parse_frame);
-  parse_class->is_seekable = GST_DEBUG_FUNCPTR (gst_ac3_parse_is_seekable);
 }
 
 static void
@@ -244,12 +242,6 @@ gst_ac3_parse_stop (GstBaseParse * parse)
 }
 
 static gboolean
-gst_ac3_parse_is_seekable (GstBaseParse * parse)
-{
-  return TRUE;
-}
-
-static gboolean
 gst_ac3_parse_frame_header_ac3 (GstAc3Parse * ac3parse, GstBuffer * buf,
     guint * frame_size, guint * rate, guint * chans, guint * blks, guint * sid)
 {