[mythtvnz] audio pauses latm-aac

Paul Kendall pkendall64 at gmail.com
Fri Apr 6 01:34:45 BST 2012


On Fri, Apr 6, 2012 at 11:19 AM, Paul Kendall <pkendall64 at gmail.com> wrote:
> On Fri, Apr 6, 2012 at 10:26 AM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
>> BTW, the only way to fix this is with a sample where the glitch occur
>> and proper log with -v audio,playback
>>
>> Without this information, everything is moot
>>
>
> Heres a proper log (from 0.24-fixes).
> I'll see what I can do about uploading a part of the sample.
> BTW I'm going to try a build with a larger buffer than the 180 frames
> (360) to see if that fixes it.
>
> Cheers,
> PK

After applying this patch it seems better

diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp
b/mythtv/libs/libmythtv/avformatdecoder.cpp
index ff19d00..cd0598b 100644
--- a/mythtv/libs/libmythtv/avformatdecoder.cpp
+++ b/mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -77,7 +77,7 @@ extern void ff_read_frame_flush(AVFormatContext *s);

 static const float eps = 1E-5;

-static const int max_video_queue_size = 180;
+static const int max_video_queue_size = 360;

 static int cc608_parity(uint8_t byte);
 static int cc608_good_parity(const int *parity_table, uint16_t data);



More information about the mythtvnz mailing list