summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-11-15 00:20:31 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-11-15 00:20:31 +0000
commiteca1bc92a62d5ad690080f4950c9b58c3989f26b (patch)
treeaa75375f61771133fd1f22c9da292edc647ab4ca /src/input
parent69d8b3e79218ae27e289889fb0e2617c424da026 (diff)
downloadxine-lib-eca1bc92a62d5ad690080f4950c9b58c3989f26b.tar.gz
xine-lib-eca1bc92a62d5ad690080f4950c9b58c3989f26b.tar.bz2
cleaning up spu types. now avi subtitles may be enabled again.
(+ missed ffmpeg/dv patch) CVS patchset: 3263 CVS date: 2002/11/15 00:20:31
Diffstat (limited to 'src/input')
-rw-r--r--src/input/input_dvd.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c
index fbb75e2e9..3644b9b56 100644
--- a/src/input/input_dvd.c
+++ b/src/input/input_dvd.c
@@ -18,7 +18,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: input_dvd.c,v 1.113 2002/11/03 23:03:31 siggi Exp $
+ * $Id: input_dvd.c,v 1.114 2002/11/15 00:20:32 miguelfreitas Exp $
*
*/
@@ -617,7 +617,10 @@ static buf_element_t *dvd_plugin_read_block (input_plugin_t *this_gen,
case DVDNAV_SPU_CLUT_CHANGE:
{
buf->content = block;
- buf->type = BUF_SPU_CLUT;
+ buf->type = BUF_SPU_DVD;
+ buf->decoder_flags |= BUF_FLAG_SPECIAL;
+ buf->decoder_info[1] = BUF_SPECIAL_SPU_DVD_SUBTYPE;
+ buf->decoder_info[2] = SPU_DVD_SUBTYPE_CLUT;
finished = 1;
}
break;
@@ -1676,6 +1679,10 @@ static void *init_class (xine_t *xine, void *data) {
/*
* $Log: input_dvd.c,v $
+ * Revision 1.114 2002/11/15 00:20:32 miguelfreitas
+ * cleaning up spu types. now avi subtitles may be enabled again.
+ * (+ missed ffmpeg/dv patch)
+ *
* Revision 1.113 2002/11/03 23:03:31 siggi
* some more release-related fixes...
*