From bc905a107d83d291f6ea34391768d16a9842bfc1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 11 Jun 2014 01:28:14 +0200 Subject: Bug 1011 / Bug 1012: GLMediaPlayer Audio/Video stuttering w/ OSX and OpenAL/JOAL (works using openal-soft default on all platforms now) --- src/jogl/native/libav/ffmpeg_impl_template.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/jogl/native/libav/ffmpeg_impl_template.c') diff --git a/src/jogl/native/libav/ffmpeg_impl_template.c b/src/jogl/native/libav/ffmpeg_impl_template.c index a7e9f4857..3077070db 100644 --- a/src/jogl/native/libav/ffmpeg_impl_template.c +++ b/src/jogl/native/libav/ffmpeg_impl_template.c @@ -572,7 +572,7 @@ JNIEXPORT jlong JNICALL FF_FUNC(createInstance0) pAV->aid=AV_STREAM_ID_AUTO; if(pAV->verbose) { - fprintf(stderr, "Info: Use avresample %d, swresample %d, device %d, refCount %d\n", + fprintf(stderr, "Info: Has avresample %d, swresample %d, device %d, refCount %d\n", AV_HAS_API_AVRESAMPLE(pAV), AV_HAS_API_SWRESAMPLE(pAV), HAS_FUNC(sp_avdevice_register_all), pAV->useRefCountedFrames); } return (jlong) (intptr_t) pAV; @@ -991,6 +991,10 @@ JNIEXPORT void JNICALL FF_FUNC(setStream0) } } } + if(pAV->verbose) { + fprintf(stderr, "Info: Need resample %d, Use avresample %d, swresample %d\n", + pAV->aSinkSupport, NULL!=pAV->avResampleCtx, NULL!=pAV->swResampleCtx); + } // Allocate audio frames // FIXME: Libav Binary compatibility! JAU01 -- cgit v1.2.3