diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-03-14 13:57:15 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-03-14 13:57:15 +0000 |
commit | eb0240ff0f72d78e583a40292d3ba0fe7efa22ab (patch) | |
tree | 67a4db2624f10f73d80195bdfd26e77b95c1f3ca /src/demuxers/demux_avi.c | |
parent | 6e0f8db43be862f7612e6132db0371a875ffd6dc (diff) | |
download | xine-lib-eb0240ff0f72d78e583a40292d3ba0fe7efa22ab.tar.gz xine-lib-eb0240ff0f72d78e583a40292d3ba0fe7efa22ab.tar.bz2 |
- make libsputext work again
- update osd & video_overlay to use 64-bits pts
CVS patchset: 1569
CVS date: 2002/03/14 13:57:15
Diffstat (limited to 'src/demuxers/demux_avi.c')
-rw-r--r-- | src/demuxers/demux_avi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c index ebaf9f8e1..e598e6927 100644 --- a/src/demuxers/demux_avi.c +++ b/src/demuxers/demux_avi.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: demux_avi.c,v 1.67 2002/03/12 11:04:06 guenter Exp $ + * $Id: demux_avi.c,v 1.68 2002/03/14 13:57:15 miguelfreitas Exp $ * * demultiplexer for avi streams * @@ -802,14 +802,14 @@ static int demux_avi_next (demux_avi_t *this) { * send packages to inform & drive text spu decoder */ - if (this->have_spu && (buf->decoder_info[0] == 2)) { + if (this->have_spu && (buf->decoder_flags & BUF_FLAG_FRAME_END)) { buf_element_t *buf; buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); - buf->type = BUF_SPU_TEXT; - buf->pts = video_pts; + buf->decoder_flags = BUF_FLAG_FRAME_END; + buf->type = BUF_SPU_TEXT; + buf->pts = video_pts; - buf->decoder_info[0] = 1; buf->decoder_info[1] = this->avi->video_posf; this->video_fifo->put (this->video_fifo, buf); |