diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-10-24 22:23:10 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-10-24 22:23:10 +0000 |
commit | dfed82cc1d1805f1a1f10df88bae0d8549344223 (patch) | |
tree | d3f99d694dca25898abcef1ddb1ff12a216de6c2 /src/xine-engine/metronom.c | |
parent | 1d1d000499d8a0ea8eac9d5ea45f361a65ffb2ac (diff) | |
download | xine-lib-dfed82cc1d1805f1a1f10df88bae0d8549344223.tar.gz xine-lib-dfed82cc1d1805f1a1f10df88bae0d8549344223.tar.bz2 |
minor cleanups and fixes, fixed still image support in metronom
CVS patchset: 881
CVS date: 2001/10/24 22:23:10
Diffstat (limited to 'src/xine-engine/metronom.c')
-rw-r--r-- | src/xine-engine/metronom.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index bd07696e8..6b3effcc6 100644 --- a/src/xine-engine/metronom.c +++ b/src/xine-engine/metronom.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: metronom.c,v 1.31 2001/10/23 21:58:11 jcdutton Exp $ + * $Id: metronom.c,v 1.32 2001/10/24 22:23:10 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -51,6 +51,10 @@ #define PREBUFFER_PTS_OFFSET 30000 /* +#define METRONOM_LOG +*/ + +/* * **************************************** * primary SCR plugin: * unix System Clock Reference @@ -537,10 +541,7 @@ static uint32_t metronom_got_video_frame (metronom_t *this, uint32_t pts) { } static void metronom_got_audio_still (metronom_t *this) { - /* This code does not seem to work. */ - /* A simple return works ok for now. */ - return; - + pthread_mutex_lock (&this->lock); this->audio_vpts += this->pts_per_frame + this->video_pts_delta; |