diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-04-09 13:53:52 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-04-09 13:53:52 +0000 |
commit | ce3eaf6e094d025149ff0090f3de9437c39aab67 (patch) | |
tree | b2c62ddd34aa02d61a9eddac75296a7e3308859b /src/libspucc | |
parent | 8ff820b65a21d201083237710298881e28d1f895 (diff) | |
download | xine-lib-ce3eaf6e094d025149ff0090f3de9437c39aab67.tar.gz xine-lib-ce3eaf6e094d025149ff0090f3de9437c39aab67.tar.bz2 |
patch to fix libsputext on seeks by Zoltán Böszörményi
CVS patchset: 1703
CVS date: 2002/04/09 13:53:52
Diffstat (limited to 'src/libspucc')
-rw-r--r-- | src/libspucc/xine_decoder.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libspucc/xine_decoder.c b/src/libspucc/xine_decoder.c index 0936a4c67..a27274470 100644 --- a/src/libspucc/xine_decoder.c +++ b/src/libspucc/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.6 2002/03/31 23:14:48 cvogler Exp $ + * $Id: xine_decoder.c,v 1.7 2002/04/09 13:53:52 miguelfreitas Exp $ * * closed caption spu decoder. receive data by events. * @@ -307,6 +307,10 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) { } +static void spudec_reset (spu_decoder_t *this_gen) { +} + + static void spudec_close (spu_decoder_t *this_gen) { spucc_decoder_t *this = (spucc_decoder_t *) this_gen; @@ -363,7 +367,7 @@ spu_decoder_t *init_spu_decoder_plugin (int iface_version, xine_t *xine) { spucc_decoder_t *this ; - if (iface_version != 4) { + if (iface_version != 5) { printf("libspucc: doesn't support plugin api version %d.\n" "libspucc: This means there is a version mismatch between xine and\n" "libspucc: this plugin.\n", iface_version); @@ -376,6 +380,7 @@ spu_decoder_t *init_spu_decoder_plugin (int iface_version, xine_t *xine) { this->spu_decoder.can_handle = spudec_can_handle; this->spu_decoder.init = spudec_init; this->spu_decoder.decode_data = spudec_decode_data; + this->spu_decoder.reset = spudec_reset; this->spu_decoder.close = spudec_close; this->spu_decoder.get_identifier = spudec_get_id; this->spu_decoder.priority = 1; |