summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_nsv.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-01-09 01:26:32 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-01-09 01:26:32 +0000
commitc0641405dec6fb244e7d3104035f64f6e535731c (patch)
treeebde21ba846624ff2ed4e0682b0b31a6a4dd1c0d /src/demuxers/demux_nsv.c
parentd1c62ab2512fa23f7bf510396bf5bce28e05b5f9 (diff)
downloadxine-lib-c0641405dec6fb244e7d3104035f64f6e535731c.tar.gz
xine-lib-c0641405dec6fb244e7d3104035f64f6e535731c.tar.bz2
- rework semantics of some buffer flags. check buffer.h for details.
- increase demux and decoder apis - fix runtime changing of ogg/ogm audio channels note: i hope i haven't broken any demux->decoder data exchange. please report any problems. CVS patchset: 6014 CVS date: 2004/01/09 01:26:32
Diffstat (limited to 'src/demuxers/demux_nsv.c')
-rw-r--r--src/demuxers/demux_nsv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_nsv.c b/src/demuxers/demux_nsv.c
index 88875be98..03226ee42 100644
--- a/src/demuxers/demux_nsv.c
+++ b/src/demuxers/demux_nsv.c
@@ -23,7 +23,7 @@
* For more information regarding the NSV file format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_nsv.c,v 1.12 2004/01/04 11:59:33 hadess Exp $
+ * $Id: demux_nsv.c,v 1.13 2004/01/09 01:26:33 miguelfreitas Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -378,7 +378,7 @@ static void demux_nsv_send_headers(demux_plugin_t *this_gen) {
/* send init info to the video decoder */
if (this->video_fifo && this->video_type) {
buf = this->video_fifo->buffer_pool_alloc (this->video_fifo);
- buf->decoder_flags = BUF_FLAG_HEADER;
+ buf->decoder_flags = BUF_FLAG_HEADER|BUF_FLAG_STDHEADER|BUF_FLAG_FRAME_END;
buf->decoder_info[0] = 0;
buf->decoder_info[1] = this->frame_pts_inc;
memcpy(buf->content, &this->bih, sizeof(this->bih));