Allow basesrc derived classes to execute seeks in other formats by providing a prepar...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 13 Apr 2007 14:18:44 +0000 (14:18 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 13 Apr 2007 14:18:44 +0000 (14:18 +0000)
commit51caed9733dbc35091d8160451f8a5dcd1aefc04
tree9fc99026228635c525841c9778ede20164d6afef
parentb9b5877a510ac5d502ab6b6ad510a0dd47f180fb
Allow basesrc derived classes to execute seeks in other formats by providing a prepare_seek_segment vmethod. Sub-clas...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_default_prepare_seek_segment),
(gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
* libs/gst/base/gstbasesrc.h:
Allow basesrc derived classes to execute seeks in other formats
by providing a prepare_seek_segment vmethod. Sub-classes can choose
to prepare the GstSegment in any format that their perform_seek method
will be able to understand. The default implementation provides the
old behaviour of attempting to convert the seek offsets to the
configured native format.
ChangeLog
docs/libs/gstreamer-libs-sections.txt
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasesrc.h