summaryrefslogtreecommitdiff
path: root/src/demuxers
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2002-12-21 03:03:15 +0000
committerMike Melanson <mike@multimedia.cx>2002-12-21 03:03:15 +0000
commit9e04d12e20a84b43ea365bdd570dbec2b694540b (patch)
treee483f65631d3e4faf3970ee8cf0429f6a8d25b5f /src/demuxers
parent53d9e4ecde7f52d84b7349aff9c28cec481f4954 (diff)
downloadxine-lib-9e04d12e20a84b43ea365bdd570dbec2b694540b.tar.gz
xine-lib-9e04d12e20a84b43ea365bdd570dbec2b694540b.tar.bz2
...my beautiful, beautiful special information buffer facility...okay
it's just a hack. Oh well, set it straight CVS patchset: 3600 CVS date: 2002/12/21 03:03:15
Diffstat (limited to 'src/demuxers')
-rw-r--r--src/demuxers/demux_qt.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index fc4af54d8..c429d24f4 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.129 2002/12/18 20:32:20 esnel Exp $
+ * $Id: demux_qt.c,v 1.130 2002/12/21 03:03:16 tmmm Exp $
*
*/
@@ -2084,10 +2084,10 @@ static void demux_qt_send_headers(demux_plugin_t *this_gen) {
/* send stsd to the decoder */
buf = this->video_fifo->buffer_pool_alloc (this->video_fifo);
buf->decoder_flags = BUF_FLAG_SPECIAL;
- buf->decoder_info[0] = BUF_SPECIAL_STSD_ATOM;
- buf->decoder_info[1] = this->qt->video_stsd_size;
- memcpy (buf->content, this->qt->video_stsd, this->qt->video_stsd_size);
- buf->size = this->qt->video_stsd_size;
+ buf->decoder_info[1] = BUF_SPECIAL_STSD_ATOM;
+ buf->decoder_info[2] = this->qt->video_stsd_size;
+ buf->decoder_info[3] = (unsigned int)&this->qt->video_stsd;
+ buf->size = 0;
buf->type = this->qt->video_type;
this->video_fifo->put (this->video_fifo, buf);
@@ -2118,10 +2118,10 @@ static void demux_qt_send_headers(demux_plugin_t *this_gen) {
/* send stsd to the decoder */
buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo);
buf->decoder_flags = BUF_FLAG_SPECIAL;
- buf->decoder_info[0] = BUF_SPECIAL_STSD_ATOM;
- buf->decoder_info[1] = this->qt->audio_stsd_size;
- memcpy (buf->content, this->qt->audio_stsd, this->qt->audio_stsd_size);
- buf->size = this->qt->audio_stsd_size;
+ buf->decoder_info[1] = BUF_SPECIAL_STSD_ATOM;
+ buf->decoder_info[2] = this->qt->audio_stsd_size;
+ buf->decoder_info[3] = (unsigned int)&this->qt->audio_stsd;
+ buf->size = 0;
buf->type = this->qt->audio_type;
this->audio_fifo->put (this->audio_fifo, buf);