diff options
| author | James Stembridge <jstembridge@users.sourceforge.net> | 2004-02-09 22:24:36 +0000 |
|---|---|---|
| committer | James Stembridge <jstembridge@users.sourceforge.net> | 2004-02-09 22:24:36 +0000 |
| commit | 5e461e6b22a4c244c5e6ab13ddeb9581a2b8216b (patch) | |
| tree | c37224a2fdd4f6fbd100d3dbfa0d2bf36c71f02c /src/demuxers/demux_fli.c | |
| parent | ca689b36373e820c26caa4c1b34679ca1a6038be (diff) | |
| download | xine-lib-5e461e6b22a4c244c5e6ab13ddeb9581a2b8216b.tar.gz xine-lib-5e461e6b22a4c244c5e6ab13ddeb9581a2b8216b.tar.bz2 | |
Always send frame duration using BUF_FLAG_FRAMERATE
CVS patchset: 6128
CVS date: 2004/02/09 22:24:36
Diffstat (limited to 'src/demuxers/demux_fli.c')
| -rw-r--r-- | src/demuxers/demux_fli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demuxers/demux_fli.c b/src/demuxers/demux_fli.c index 1eebd15c4..ca68adaec 100644 --- a/src/demuxers/demux_fli.c +++ b/src/demuxers/demux_fli.c @@ -24,7 +24,7 @@ * avoid while programming a FLI decoder, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_fli.c,v 1.52 2004/02/02 00:42:49 tmmm Exp $ + * $Id: demux_fli.c,v 1.53 2004/02/09 22:24:36 jstembridge Exp $ */ #ifdef HAVE_CONFIG_H @@ -242,9 +242,9 @@ static void demux_fli_send_headers(demux_plugin_t *this_gen) { /* send init info to FLI decoder */ buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); - buf->decoder_flags = BUF_FLAG_HEADER|BUF_FLAG_FRAME_END|BUF_FLAG_STDHEADER; - buf->decoder_info[0] = 0; - buf->decoder_info[1] = this->frame_pts_inc; /* initial video_step */ + buf->decoder_flags = BUF_FLAG_HEADER|BUF_FLAG_STDHEADER|BUF_FLAG_FRAMERATE| + BUF_FLAG_FRAME_END; + buf->decoder_info[0] = this->frame_pts_inc; /* initial video_step */ buf->size = this->bih.biSize; memcpy(buf->content, &this->bih, sizeof(xine_bmiheader) + this->bih.biSize); buf->type = BUF_VIDEO_FLI; |
