diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2013-12-15 23:48:33 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2013-12-15 23:48:33 +0000 |
commit | 3fb7a72f7f49f0c7102634e12f2952fa2acef1c0 (patch) | |
tree | 852eed8fa476ac5b6f1f6aed6c9b513ce6929cad /src | |
parent | ace7a295ec163ffca50a25651766f9064382ecb3 (diff) | |
download | usdx-3fb7a72f7f49f0c7102634e12f2952fa2acef1c0.tar.gz usdx-3fb7a72f7f49f0c7102634e12f2952fa2acef1c0.tar.xz usdx-3fb7a72f7f49f0c7102634e12f2952fa2acef1c0.zip |
Add more explanations. Thanks again to brianf for the decisive hint.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3036 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/media/UAudioDecoder_FFmpeg.pas | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/media/UAudioDecoder_FFmpeg.pas b/src/media/UAudioDecoder_FFmpeg.pas index 301dc744..113b6f30 100644 --- a/src/media/UAudioDecoder_FFmpeg.pas +++ b/src/media/UAudioDecoder_FFmpeg.pas @@ -376,7 +376,10 @@ begin fCodecCtx^.debug := 0; {$IF FFMPEG_VERSION_INT > 1001000} - // set requested sample format + // request required sample format + // reference: + // http://stackoverflow.com/questions/16479662/ffmpeg-1-0-causing-audio-playback-issues + // without this avcodec_open2 returns AV_SAMPLE_FMT_S16P fCodecCtx^.request_sample_fmt := AV_SAMPLE_FMT_S16; {$IFEND} |