summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Holst <holstsn@users.sourceforge.net>2002-12-10 16:26:05 +0000
committerStefan Holst <holstsn@users.sourceforge.net>2002-12-10 16:26:05 +0000
commitb2f8c3bc1810d9b86e8c9f3a9eca21eb24f698a0 (patch)
tree574b1cc950323d731378a9a6952446905258509d /src
parent5e05a73c393d0eb54280e52f892ae87f9365ce1d (diff)
downloadxine-lib-b2f8c3bc1810d9b86e8c9f3a9eca21eb24f698a0.tar.gz
xine-lib-b2f8c3bc1810d9b86e8c9f3a9eca21eb24f698a0.tar.bz2
libreal av sync fix
CVS patchset: 3477 CVS date: 2002/12/10 16:26:05
Diffstat (limited to 'src')
-rw-r--r--src/libreal/audio_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libreal/audio_decoder.c b/src/libreal/audio_decoder.c
index a22ac8d67..b8e8eca53 100644
--- a/src/libreal/audio_decoder.c
+++ b/src/libreal/audio_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: audio_decoder.c,v 1.7 2002/12/07 01:55:36 guenter Exp $
+ * $Id: audio_decoder.c,v 1.8 2002/12/10 16:26:05 holstsn Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -418,7 +418,7 @@ static void realdec_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
printf ("libareal: content buffer detected, %d bytes\n", buf->size);
#endif
- if (buf->pts)
+ if (buf->pts && !this->pts)
this->pts = buf->pts;
size = buf->size;