From dfed82cc1d1805f1a1f10df88bae0d8549344223 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 24 Oct 2001 22:23:10 +0000 Subject: minor cleanups and fixes, fixed still image support in metronom CVS patchset: 881 CVS date: 2001/10/24 22:23:10 --- src/xine-engine/metronom.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/xine-engine/metronom.c') 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 @@ -50,6 +50,10 @@ #define REALTIME_PTS 90000.0 #define PREBUFFER_PTS_OFFSET 30000 +/* +#define METRONOM_LOG +*/ + /* * **************************************** * primary SCR plugin: @@ -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; -- cgit v1.2.3