From 71fc04a81571ff3546fc47d9b9c2da0cfe7062bc Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 3 Feb 2003 02:10:53 +0000 Subject: make sure we are passing extra decoder data correctly to ffmpeg CVS patchset: 4100 CVS date: 2003/02/03 02:10:53 --- src/demuxers/demux_qt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c index 4872b4dd5..53ab84190 100644 --- a/src/demuxers/demux_qt.c +++ b/src/demuxers/demux_qt.c @@ -30,7 +30,7 @@ * build_frame_table * free_qt_info * - * $Id: demux_qt.c,v 1.142 2003/01/19 23:33:33 tmmm Exp $ + * $Id: demux_qt.c,v 1.143 2003/02/03 02:10:53 miguelfreitas Exp $ * */ @@ -2029,6 +2029,7 @@ static void demux_qt_send_headers(demux_plugin_t *this_gen) { this->qt->frames[this->qt->frame_count - 1].size - this->data_start; + this->bih.biSize = sizeof(this->bih); this->bih.biWidth = this->qt->video_width; this->bih.biHeight = this->qt->video_height; this->bih.biBitCount = this->qt->video_depth; @@ -2095,8 +2096,6 @@ static void demux_qt_send_headers(demux_plugin_t *this_gen) { /* send header info to decoder. some mpeg4 streams need this */ if( this->qt->video_decoder_config ) { buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); - buf->decoder_flags = BUF_FLAG_SPECIAL; - buf->decoder_info[0] = BUF_SPECIAL_DECODER_CONFIG; buf->type = this->qt->video_type; buf->size = this->qt->video_decoder_config_len; buf->content = this->qt->video_decoder_config; -- cgit v1.2.3