summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-10-21 12:10:58 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-10-21 12:10:58 +0000
commit39b4b1968511ecc361d9bb6e627ca5ca47909b74 (patch)
tree4972fccec9bc2c2691a5b926ad143f053774d13e /src/xine-engine/xine.c
parentf4557ef4c22247ef615c96ebca13616b3fd9937b (diff)
downloadxine-lib-39b4b1968511ecc361d9bb6e627ca5ca47909b74.tar.gz
xine-lib-39b4b1968511ecc361d9bb6e627ca5ca47909b74.tar.bz2
Enable DVD SPU subtitles.
CLUT and timing do not seem to be working well yet. CVS patchset: 2897 CVS date: 2002/10/21 12:10:58
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r--src/xine-engine/xine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 0718fe999..77b0d72d2 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.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.c,v 1.171 2002/10/20 23:55:23 guenter Exp $
+ * $Id: xine.c,v 1.172 2002/10/21 12:11:03 jcdutton Exp $
*
* top-level xine functions
*
@@ -654,7 +654,6 @@ void xine_init (xine_t *this) {
void xine_select_spu_channel (xine_stream_t *stream, int channel) {
pthread_mutex_lock (&stream->frontend_lock);
-
stream->spu_channel_user = (channel >= -2 ? channel : -2);
switch (stream->spu_channel_user) {
@@ -670,6 +669,7 @@ void xine_select_spu_channel (xine_stream_t *stream, int channel) {
stream->spu_channel = stream->spu_channel_user;
stream->video_out->enable_ovl (stream->video_out, 1);
}
+ printf("xine-lib:xine_select_spu_channel:set to %d\n",stream->spu_channel);
pthread_mutex_unlock (&stream->frontend_lock);
}