[vlc-commits] omxil: Signal the right AMR frame format

Martin Storsjö git at videolan.org
Sun Feb 17 20:47:20 CET 2013


vlc | branch: master | Martin Storsjö <martin at martin.st> | Sun Feb 17 20:40:41 2013 +0200| [203d06bdd5cd9343e1ea607f3734e53616e3ea03] | committer: Martin Storsjö

omxil: Signal the right AMR frame format

The previously used enum is only used for conformance tests and
is not the one commonly used in practice - the file storage format
is the commonly used one (which also is used within Android).

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=203d06bdd5cd9343e1ea607f3734e53616e3ea03
---

 modules/codec/omxil/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/omxil/utils.c b/modules/codec/omxil/utils.c
index 8197811..7f93dc7 100644
--- a/modules/codec/omxil/utils.c
+++ b/modules/codec/omxil/utils.c
@@ -659,7 +659,7 @@ OMX_ERRORTYPE SetAudioParameters(OMX_HANDLETYPE handle,
         param->amr.nBitRate = i_bitrate;
         param->amr.eAMRBandMode = OMX_AUDIO_AMRBandModeUnused;
         param->amr.eAMRDTXMode = OMX_AUDIO_AMRDTXModeOff;
-        param->amr.eAMRFrameFormat = OMX_AUDIO_AMRFrameFormatConformance;
+        param->amr.eAMRFrameFormat = OMX_AUDIO_AMRFrameFormatFSF;
         break;
     case OMX_AUDIO_CodingG723:
         OMX_INIT_STRUCTURE(param->g723);



More information about the vlc-commits mailing list