diff options
author | tomasen <tomasen@users.sourceforge.net> | 2009-09-11 21:55:19 +0400 |
---|---|---|
committer | tomasen <tomasen@users.sourceforge.net> | 2009-09-11 21:55:19 +0400 |
commit | 6f3303c6273609e71bc756b6ccda4c05078a45bb (patch) | |
tree | f42b568586b49c90bbaaac0ecb603f302133964c /src/filters/transform/mpadecfilter | |
parent | 9f2fe456f8ba9f11aad136c3de5bb4704c1f088a (diff) |
Add my comment and remark for AMR/3GP decode in MpaDecFilter. hope more input from other brilliant developers to perfect it.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1278 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpadecfilter')
-rw-r--r-- | src/filters/transform/mpadecfilter/MpaDecFilter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filters/transform/mpadecfilter/MpaDecFilter.cpp b/src/filters/transform/mpadecfilter/MpaDecFilter.cpp index 86672b94a..40f073e6e 100644 --- a/src/filters/transform/mpadecfilter/MpaDecFilter.cpp +++ b/src/filters/transform/mpadecfilter/MpaDecFilter.cpp @@ -425,6 +425,12 @@ HRESULT CMpaDecFilter::Receive(IMediaSample* pIn) BOOL bNoJitterControl = false;
if(subtype == MEDIASUBTYPE_AMR || subtype == MEDIASUBTYPE_SAMR || subtype == MEDIASUBTYPE_SAWB)
{
+ //The reason I add this to disable Jitter control for AMR audio stream
+ //is because it seems a lot AMR audio stream haven't report correct output sample rate (my guess)
+ //so if there is jitter control, audio and video will be going very faster than it should (result)
+ //therefor I disable jitter control.
+ //but this is NOT a PERFECT solution. hope more input from other brilliant developers
+ //discuss is welcome -- tomasen@gmail.com
bNoJitterControl = true;
}
|