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 14:44:51 +0000 (15:44 +0100)
commit7ba1b6e4d76e2a812b7aef1fd5d83534250f520c
tree087c079c95c1679444c4fd90a89452e335a4e851
parent4b0f92db790e2c06ed964d46f0ebbc796c8a2333
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/gstbaseparse.c
gst/audioparsers/gstbaseparse.h