From a77bbcfbd72eb77d1eb8ace960762be1a1228f8d Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 2 Dec 2001 15:27:19 +0000 Subject: avi subtitles centered and at bottom of frame CVS patchset: 1160 CVS date: 2001/12/02 15:27:19 --- src/demuxers/demux_avi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/demuxers') diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c index 781a45df7..ba6d201ef 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.55 2001/12/01 22:38:31 guenter Exp $ + * $Id: demux_avi.c,v 1.56 2001/12/02 15:27:19 guenter Exp $ * * demultiplexer for avi streams * @@ -1005,6 +1005,10 @@ static void demux_avi_start (demux_plugin_t *this_gen, buf->type = BUF_SPU_TEXT; + buf->decoder_info[0] = 0; + buf->decoder_info[1] = this->avi->width; + buf->decoder_info[2] = this->avi->height; + this->video_fifo->put (this->video_fifo, buf); printf ("demux_avi: text subtitle file available\n"); -- cgit v1.2.3