summaryrefslogtreecommitdiff
path: root/src/libsputext/xine_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-03-11 12:31:24 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-03-11 12:31:24 +0000
commitface806c1ee187c1efbaa88313c955b9947948db (patch)
tree974813b717201ac54afa760bac32a69f1a42addc /src/libsputext/xine_decoder.c
parent36a843032b4e28aa294ce0795fd96d76c57e3304 (diff)
downloadxine-lib-face806c1ee187c1efbaa88313c955b9947948db.tar.gz
xine-lib-face806c1ee187c1efbaa88313c955b9947948db.tar.bz2
metronom and demuxers should work again (although not all demuxers are fully updated at this point). demux_qt can handle compressed audio, but is still unfinished.
Yes, this _is_ the big metronom update, metronom now depends on disc_off information in discontinuities. CVS patchset: 1554 CVS date: 2002/03/11 12:31:24
Diffstat (limited to 'src/libsputext/xine_decoder.c')
-rw-r--r--src/libsputext/xine_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c
index df1b1bdf4..4a941bc26 100644
--- a/src/libsputext/xine_decoder.c
+++ b/src/libsputext/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.15 2002/02/27 19:10:37 jkeil Exp $
+ * $Id: xine_decoder.c,v 1.16 2002/03/11 12:31:26 guenter Exp $
*
* code based on mplayer module:
*
@@ -857,7 +857,7 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) {
*/
pts_factor = 3000;
- pts += this->xine->metronom->video_wrap_offset;
+ pts += this->xine->metronom->vpts_offset;
pts_end = pts + (subtitle->end - subtitle->start) * pts_factor;
@@ -888,7 +888,7 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) {
if (subtitle->start > (start_tenth+20))
return;
- pts += this->xine->metronom->video_wrap_offset;
+ pts += this->xine->metronom->vpts_offset;
pts_end = pts + (subtitle->end - subtitle->start)*900;
}