diff options
author | phintuka <phintuka> | 2010-03-13 12:00:05 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-03-13 12:00:05 +0000 |
commit | 5675078e5074e317fcbb28a55d36488679843dbe (patch) | |
tree | c7defa331fbf7ca493463701d654b687da63951f | |
parent | aabf12b542e6c2df9b1d0cad5ee5c23baf1852df (diff) | |
download | xineliboutput-5675078e5074e317fcbb28a55d36488679843dbe.tar.gz xineliboutput-5675078e5074e317fcbb28a55d36488679843dbe.tar.bz2 |
Play_PES(): call base class Play_PES() to update stream position
-rw-r--r-- | frontend_local.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/frontend_local.c b/frontend_local.c index dc5928e2..d48cc743 100644 --- a/frontend_local.c +++ b/frontend_local.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_local.c,v 1.44 2010-02-14 12:53:06 phintuka Exp $ + * $Id: frontend_local.c,v 1.45 2010-03-13 12:00:05 phintuka Exp $ * */ @@ -124,12 +124,8 @@ int cXinelibLocal::Play_PES(const uchar *data, int len) LOCK_FE; if (fe && Running()) { int done = fe->xine_queue_pes_packet(fe, 0, m_StreamPos, (const char *)data, len); - if (done >= 0) { - Lock(); - m_StreamPos += done; - Unlock(); - return done; - } + if (done >= 0) + return cXinelibThread::Play_PES(data, len); } } |