From 413a8e09febe32bfb8569fd335758d76f5e99e78 Mon Sep 17 00:00:00 2001 From: Chris Pinkham Date: Thu, 12 Jul 2012 00:34:11 -0700 Subject: [PATCH] Fix HLS transcoding after 199342ef7a. Add a missing + in a += when setting the timecode being saved in the audio reencode buffer. --- mythtv/programs/mythtranscode/transcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/programs/mythtranscode/transcode.cpp b/mythtv/programs/mythtranscode/transcode.cpp index 5edfd30010d..3355dd73ae3 100755 --- a/mythtv/programs/mythtranscode/transcode.cpp +++ b/mythtv/programs/mythtranscode/transcode.cpp @@ -143,7 +143,7 @@ class AudioReencodeBuffer : public AudioOutput int bufsize = m_saveBuffer->m_buffer.size(); int part = min(len - index, m_audioFrameSize - bufsize); total_frames += part / m_bytes_per_frame; - timecode = total_frames * 1000 / m_eff_audiorate; + timecode += total_frames * 1000 / m_eff_audiorate; // Store frames in buffer, basing frame count on number of // bytes, which works only for uncompressed data. m_saveBuffer->appendData(&buf[index], part,