ac3parse: remove redundant default is_seekable

This commit is contained in:
Mark Nauwelaerts 2010-09-17 17:35:40 +02:00 committed by Tim-Philipp Müller
parent 30be03004e
commit 10611c2826

View 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_start (GstBaseParse * parse);
static gboolean gst_ac3_parse_stop (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, static gboolean gst_ac3_parse_check_valid_frame (GstBaseParse * parse,
GstBuffer * buffer, guint * size, gint * skipsize); GstBuffer * buffer, guint * size, gint * skipsize);
static GstFlowReturn gst_ac3_parse_parse_frame (GstBaseParse * parse, 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 = parse_class->check_valid_frame =
GST_DEBUG_FUNCPTR (gst_ac3_parse_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->parse_frame = GST_DEBUG_FUNCPTR (gst_ac3_parse_parse_frame);
parse_class->is_seekable = GST_DEBUG_FUNCPTR (gst_ac3_parse_is_seekable);
} }
static void static void
@ -243,12 +241,6 @@ gst_ac3_parse_stop (GstBaseParse * parse)
return TRUE; return TRUE;
} }
static gboolean
gst_ac3_parse_is_seekable (GstBaseParse * parse)
{
return TRUE;
}
static gboolean static gboolean
gst_ac3_parse_frame_header_ac3 (GstAc3Parse * ac3parse, GstBuffer * buf, gst_ac3_parse_frame_header_ac3 (GstAc3Parse * ac3parse, GstBuffer * buf,
guint * frame_size, guint * rate, guint * chans, guint * blks, guint * sid) guint * frame_size, guint * rate, guint * chans, guint * blks, guint * sid)