baseparse: remove is_seekable vmethod and use a set_seek instead
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 17 Sep 2010 16:24:22 +0000 (18:24 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:07 +0000 (18:07 +0100)
commit0198d6320b3f6c72eca7b9ea7d6fd2d251c02251
tree20d8f911f53a5e60bb93c5b3671d98bc434ba9e0
parent10611c2826bdf1a0b756df5b1498c7c2388e3085
baseparse: remove is_seekable vmethod and use a set_seek instead

Seekability, like duration, etc is unlikely to change (frequently), and
the default assumption covers most cases, so let subclass set when needed.
At the same time, allow subclass to indicate if it has seek-metadata (table)
available, and possibly have it provide an average bitrate.
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstbaseparse.c
gst/audioparsers/gstbaseparse.h