diff options
author | Mike Melanson <mike@multimedia.cx> | 2002-12-30 05:09:53 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2002-12-30 05:09:53 +0000 |
commit | 8cc9b991dd81805b900f6a702d4c45be6debc8de (patch) | |
tree | 4fba6f189b0027d6d2ca3a8ff2e0d973de110d75 /src | |
parent | 2a16d66254bfbc6c25b23e031ff63214db870393 (diff) | |
download | xine-lib-8cc9b991dd81805b900f6a702d4c45be6debc8de.tar.gz xine-lib-8cc9b991dd81805b900f6a702d4c45be6debc8de.tar.bz2 |
fix pts situation (hopefully)
CVS patchset: 3728
CVS date: 2002/12/30 05:09:53
Diffstat (limited to 'src')
-rw-r--r-- | src/libw32dll/qt_decoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c index 80a0e7f1d..775cbccdc 100644 --- a/src/libw32dll/qt_decoder.c +++ b/src/libw32dll/qt_decoder.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: qt_decoder.c,v 1.4 2002/12/28 09:50:49 esnel Exp $ + * $Id: qt_decoder.c,v 1.5 2002/12/30 05:09:53 tmmm Exp $ * * quicktime video/audio decoder plugin, using win32 dlls * most of this code comes directly from MPlayer @@ -505,8 +505,8 @@ static void qta_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { memcpy (audio_buffer->mem, this->out_buf+bytes_sent, nframes * this->frame_size); - /* audio_buffer->vpts = buf->pts; */ - audio_buffer->vpts = 0; + audio_buffer->vpts = buf->pts; + buf->pts = 0; /* only the first buffer gets the real pts */ audio_buffer->num_frames = nframes; #ifdef LOG |