[mythtv-firehose] mythtv branch master updated by jyavenard. v0.28-pre-1799-g0937dac

Git Repo Owner noreply at mythtv.org
Tue Jul 8 06:48:26 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  0937dac17f362ca28ff8e627d58d6b32eecad02f (commit)
       via  a2b7a45edcb181f1feeaf6e4d44886e976d0de99 (commit)
       via  18c4e818c182b915bc7ee1ee073b52055b32f26e (commit)
       via  c63a09c92b4ee2d82c104cd358a31b8464ca3e23 (commit)
       via  a2eaa47ccf59c6eea1041dde4fe6938a5a4b55e7 (commit)
       via  d2a785b79196fb8194e60628b756ffc66d79db6c (commit)
       via  738114f03f392ed882847e29eeb1462b028a0f3c (commit)
       via  cc927f687995a9620de581894a68935b0780b299 (commit)
       via  f8d72280ccb3ec28391182cf6eaaf20c9c87ae4f (commit)
       via  195eb07fb106fbabf164a1989860adcc132ab9d2 (commit)
       via  604a9d8db63fababfeb07e1ffc8d45e3f4f2314c (commit)
       via  a1a6502d4529cbe074b587919f05ecbb97ce2c74 (commit)
       via  5a26ce90f5f48495597b451630e3a16a3af5f4ee (commit)
       via  d3bb51292227cbc1165a4de10d8d376128ffa181 (commit)
       via  d40411ee9887057d08d408a43539ab4c848d7fe3 (commit)
       via  49df62f1a76f0e617208e261a09f5f8a634b3ce9 (commit)
       via  0e0e04ccadfcbeeedbeb5e6286c591caa33d8e62 (commit)
       via  2c22c5d12d1fe7b27685fe5e7a9b365f33d3c952 (commit)
       via  2019bb896bc37ba8c99b57709b4f0969be65e8f2 (commit)
       via  9dbbd09b87b8be76bbba476ba17a5ef1a86663b1 (commit)
       via  1ab6204887c752faa24af09460d82c052ad81a6b (commit)
       via  bfc6b9ed58029955d5a4230cad5851ed4848ed20 (commit)
       via  d038af74f8ce8b9900515381c247b8344b672afa (commit)
       via  67b7ebb3d11b23677bebc7efdc13d2b9c37a57de (commit)
       via  c2d908b0bca82b0856b6339d72156225cc548b03 (commit)
       via  9e56b98575e645d029581e80661ab753b860c455 (commit)
       via  faad748af24b9bbbaa894243c9cf52fd841bb8d4 (commit)
       via  9e2de1ebedd1d2bed3d9f03123c86355295b9951 (commit)
       via  8945e71ed5334f08b21f177a37c7da8c8c2f57c6 (commit)
       via  05124c3ed08a08a47dec3ae27c58fdfff159cf7c (commit)
       via  363361a9e26322d9e6a87e17effc50add8653533 (commit)
       via  b84ee2d68a80be93bb26bdacc7e0fa04bc69c6a2 (commit)
       via  16cb2a8b957f948cd9977021327e8dd8167d9415 (commit)
       via  f8614bb8eea8428a558f257a8c4a7f04af807c94 (commit)
      from  ed9152a8438675b505e21b7eaab41446c8111cae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0937dac17f362ca28ff8e627d58d6b32eecad02f
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 12 Mar 2014 13:49:41 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0937dac17f362ca28ff8e627d58d6b32eecad02f

Transcode: Fix a race condition in VideoDecodeBuffer when EOF encountered
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit a2b7a45edcb181f1feeaf6e4d44886e976d0de99
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 23 Mar 2014 15:52:00 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a2b7a45edcb181f1feeaf6e4d44886e976d0de99

Decoder: Limit buffered audio data to 2000mS for visualiser startup
The decoder thread repetitively calls AvFormatDecoder::GetFrame to
decode incoming audio and video packets.  The decoder sleeps when video
or audio buffers are full.  With an audio only stream the decoder runs
until the audio buffer is full.  This can end up with 10-15 seconds of
buffered, decoded audio data.

When the visualisation is enabled, new frames are buffered to a max of
500 when the visualisation is disabled.  If there are more than 500
frames buffeed then the visualisation is never shown

This patch sets an upper limit of 1000msS of buffered audio data.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 18c4e818c182b915bc7ee1ee073b52055b32f26e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 23 Mar 2014 18:31:25 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=18c4e818c182b915bc7ee1ee073b52055b32f26e

AOG: Support 32-bit samples for HD channels
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit c63a09c92b4ee2d82c104cd358a31b8464ca3e23
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 16 Jun 2014 18:07:01 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c63a09c92b4ee2d82c104cd358a31b8464ca3e23

Player: Allow seeking upto last frame when paused
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit a2eaa47ccf59c6eea1041dde4fe6938a5a4b55e7
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 26 Jun 2014 14:10:25 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a2eaa47ccf59c6eea1041dde4fe6938a5a4b55e7

Win32: Fix playback of 32-bit AC3 and OGG sound media
The DirectX and WindowsMedia interfaces were falsely claiming that they
supported 32-bit integer and floating point data.

This fix removes the assumption that the Windows sound API supports
anything other than 8 or 16 bit data.  Myth then converts the
data to that supported and playback proceeds normally.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit d2a785b79196fb8194e60628b756ffc66d79db6c
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 26 Jun 2014 18:02:16 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d2a785b79196fb8194e60628b756ffc66d79db6c

TV: Avoid a SEGV when switching from PiP to PbP
If a PiP reaches EOF then it's still possible to select the menu item
to switch from PiP to PbP.  Then TV::PxPToggleType calls
GetPlayer(mctx, 1)->SetPIPState(kPBPRight) but GetPlayer(mctx, 1)
returns NULL.

    0  SetPIPState (change=<optimised out>, this=<optimised out>)
        at playercontext.h:107
    1  TV::PxPToggleType (this=0xa9d39f8, mctx=0xae006c8, wantPBP=true)
        at tv_play.cpp:5881
    2  0xb7029da6 in TV::HandlePxPTimerEvent (this=0xa9d39f8)
        at tv_play.cpp:3191
    3  0xb705b3da in TV::timerEvent (this=0xa9d39f8, te=0x0)
        at tv_play.cpp:2796
    4  0xb5379ee7 in QObject::event (this=0xa9d39f8, e=0xbfee4fbc)
        at kernel/qobject.cpp:1157

This fix checks that the PiP is valid before changing state.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 738114f03f392ed882847e29eeb1462b028a0f3c
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 6 Dec 2011 20:44:13 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=738114f03f392ed882847e29eeb1462b028a0f3c

libmythtv: Add a mutex to the ChannelScanSM class
This class is accessed by two threads, the signal monitor and the
thread that drives the scan.

A segv can occur if one thread deletes the currentInfo member
while it is being used by the other.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit cc927f687995a9620de581894a68935b0780b299
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 8 Jul 2014 14:25:27 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:16 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=cc927f687995a9620de581894a68935b0780b299

Player: Amalgamate and simplify SwitchTo and JumpToProgram
1. buffer->UpdateRawBitrate can wait for several 100mS so only call it if absolutely necessary i.e. if stream type hasn't changed.

2. Omit unnecessary call to buffer->IgnoreLiveEOF which also can wait for several 100mS.

3. Omit some lengthy calls to read the deleteMap and bookmarks if liveTV

4. Ensure there are sufficient video frames buffered before starting playback.
   This reduces stutters in the first few seconds on remote frontends.
   Also delays a/v playback start until ringbuffer is ready to read.

5. Reduce interference with RingBuffer readahead.

Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit f8d72280ccb3ec28391182cf6eaaf20c9c87ae4f
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 12 Jul 2013 15:13:07 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f8d72280ccb3ec28391182cf6eaaf20c9c87ae4f

Player: Finer a/v sync adjustments
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 195eb07fb106fbabf164a1989860adcc132ab9d2
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 14 Jun 2013 19:53:14 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=195eb07fb106fbabf164a1989860adcc132ab9d2

Player: Enable AVSync to recover quicker after a seek or program change
The a/v timecodes can get out of step by 10's of seconds after a seek
or a livetv program change.  This can cause frames to be doubled or dropped
until the a/v streams get back in step.

This patch checks the a/v timecode difference and if larger than 1 second
disables frame dropping or doubling.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 604a9d8db63fababfeb07e1ffc8d45e3f4f2314c
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 12 Jun 2013 14:55:08 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=604a9d8db63fababfeb07e1ffc8d45e3f4f2314c

Player: Clear EOF when resuming play
RingBuffer::Read returns 0 (eof) when the buffer is paused.  This causes
ffmpeg to set eof and prevent any further reads by the decoder.

This patch clears the decoder's eof on restarting play which in turn
resets ffmpeg's eof.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit a1a6502d4529cbe074b587919f05ecbb97ce2c74
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 20 Mar 2013 13:51:07 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a1a6502d4529cbe074b587919f05ecbb97ce2c74

mythtranscode: skip audio description streams
A number of recent broadcasts on UK Freeview (BBC & ITV) have an
audio description (AD) stream that is discontiguous.  Mythtranscode attempts
to output all audio streams but if the AD stream is not present for
some time then the output FIFOs overflow.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 5a26ce90f5f48495597b451630e3a16a3af5f4ee
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 25 Jul 2012 14:34:27 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5a26ce90f5f48495597b451630e3a16a3af5f4ee

Subtitles: Avoid changing subtitle state in the decoder thread.
Use the proper API to defer subtitle changes to the UI event loop, to
avoid creating or deleting MythUI objects in a non-UI thread.

This is in addition to commit b695979 which fixed a similar problem
in MythPlayer::ReinitVideo

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit d3bb51292227cbc1165a4de10d8d376128ffa181
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 6 Aug 2012 15:43:14 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d3bb51292227cbc1165a4de10d8d376128ffa181

ringbuffer: Prevent a divide by 0
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit d40411ee9887057d08d408a43539ab4c848d7fe3
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 19 Jun 2012 13:22:56 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d40411ee9887057d08d408a43539ab4c848d7fe3

OSD: Add a graphical display of audio level to cut list editor
When using the cut list editor to remove ads etc it's difficult to place
the cut precisely when the program is faded in or out.  In these cases
it's common to cut the dialogue or retain voice-overs.  It's also
impossible to create a cut list for DVB radio recordings.

This patch adds a visual graph of the audio level +/-0.5 frame around the
current paused frame.

Add a mutex to guard access by the decoder and UI threads

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 49df62f1a76f0e617208e261a09f5f8a634b3ce9
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 4 Jul 2012 16:39:13 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=49df62f1a76f0e617208e261a09f5f8a634b3ce9

Player: Don't call DoneDisplayingFrame for PiP until next frame is ready
When displaying 'pictute in picture' (PiP), VideoOutput::ShowPIP
composites the PiP windows onto the main video frame.  To do so, it uses
the player's GetCurrentFrame method to obtain the most recently displayed
PiP frame.  However, MythPlayer::DisplayNormalFrames immediately releases
the last frame displayed back to the decoding queue.  Consequently when
GetCurrentFrame calls GetLastShownFrame to obtain that frame it may have been
overwritten by the decoder thread.

This patch defers calling DoneDisplayingFrame if the player is a PiP
player so that future calls to GetLastShownFrame return an intact frame.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 0e0e04ccadfcbeeedbeb5e6286c591caa33d8e62
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 2 Jun 2011 12:55:13 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0e0e04ccadfcbeeedbeb5e6286c591caa33d8e62

Player: Improve low bit rate / high latency stream playback
DVB-S radio programs are low bit rate (64Kbps..256Kbps) and suffer
occasional latency.

MHEG interaction streams are internet sourced and often suffer congestion
resulting in high latency for some packets.

- Fix a number of issues to do with changing program to DVB-S radio and
  the lack of video stream causing garbage video display.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 2c22c5d12d1fe7b27685fe5e7a9b365f33d3c952
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 17 Jun 2012 10:30:37 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2c22c5d12d1fe7b27685fe5e7a9b365f33d3c952

libmyth: Prevent SEGV in avcodec_decode_video2 when playing nuv material
Under certain circumstances NuppelDecoder::DecodeFrame can call
avcodec_decode_video2 when mpa_vidctx is NULL and thus cause a SEGV.

This patch adds a test for a NULL mpa_vidctx exits with error.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 2019bb896bc37ba8c99b57709b4f0969be65e8f2
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 21 Jul 2012 18:47:35 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2019bb896bc37ba8c99b57709b4f0969be65e8f2

OpenGL: Reduce video playback overhead
This patch introduces 2 changes to reduce video frame overhead and
hence reduce CPU load.

1. In MythRenderOpenGL::doneCurrent don't call QGLContext::doneCurrent
as it's strictly not necessary and causes the next call to makeCurrent
to take considerably longer.  Saves ~ 11mS per frame.

2. In VideoOutputOpenGL::Show only call gl_context->swapBuffers if
the current format is double buffered,  Saves ~2mS per frame.

Timings from an Intel i5 661 @ 3.33GHz using onboard graphics with
Linux 3.4 KMS.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 9dbbd09b87b8be76bbba476ba17a5ef1a86663b1
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 24 May 2013 16:14:42 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9dbbd09b87b8be76bbba476ba17a5ef1a86663b1

AO: Cache the result of IsPulseAudioRunning
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 1ab6204887c752faa24af09460d82c052ad81a6b
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 24 May 2013 21:01:04 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1ab6204887c752faa24af09460d82c052ad81a6b

AO: Don't disable Pulse if no valid output
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit bfc6b9ed58029955d5a4230cad5851ed4848ed20
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 7 Jul 2013 16:41:02 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bfc6b9ed58029955d5a4230cad5851ed4848ed20

TV UnpauseLiveTV calls tvchain->SwitchTo opposed to JumpTo to minimise visible disruption
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit d038af74f8ce8b9900515381c247b8344b672afa
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 7 Jul 2013 16:46:03 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d038af74f8ce8b9900515381c247b8344b672afa

AO: Pause resets PauseUntilBuffered
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 67b7ebb3d11b23677bebc7efdc13d2b9c37a57de
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 15 Jul 2013 10:06:54 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:14 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=67b7ebb3d11b23677bebc7efdc13d2b9c37a57de

AO: SetStretchFactor sets pause until buffered to smooth playback start
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit c2d908b0bca82b0856b6339d72156225cc548b03
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 31 Jul 2013 14:59:40 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c2d908b0bca82b0856b6339d72156225cc548b03

CoreContext: Add missing QRunnable header
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 9e56b98575e645d029581e80661ab753b860c455
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 20 Aug 2013 14:54:06 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9e56b98575e645d029581e80661ab753b860c455

Player: DecoderLoop sleeps until audio buffers available
DVB radio streams (e.g. UK FreeView & FreeSat) burn 100% CPU time when
playing back a recording.

This patch adds a 1mS sleep loop until the audio buffer has space
available.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit faad748af24b9bbbaa894243c9cf52fd841bb8d4
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 20 Aug 2013 19:37:29 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=faad748af24b9bbbaa894243c9cf52fd841bb8d4

TV: Quit the TV playback loop when the primary player reports a fatal error
If MythPlayer::OpenFile fails (for instance network congestion) then
TV::StartTV continues by restarting TV instance which then causes problems
for the backend.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 9e2de1ebedd1d2bed3d9f03123c86355295b9951
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 11 Sep 2013 17:40:23 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9e2de1ebedd1d2bed3d9f03123c86355295b9951

AFD: Read packets until audio PTS >= video PTS
If the 'Extra audio buffering' setting is disabled then the audio
stream PTS can lag the video by up to a second.  This can sometimes
cause A/V sync problems but also causes sync problems when displaying
the audio output graph when editing the cutlist.

This patch ensures that the last audio PTS at least equals the video
PTS before exiting GetFrame.  This ensures there are matching audio
samples for the pause frame shown in the cutlkist editor.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 8945e71ed5334f08b21f177a37c7da8c8c2f57c6
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 2 Oct 2013 18:19:38 +0100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8945e71ed5334f08b21f177a37c7da8c8c2f57c6

Player: Increase OpenFile timeout to allow playing encrypted isos on a remote FE
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 05124c3ed08a08a47dec3ae27c58fdfff159cf7c
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 27 Oct 2013 20:42:29 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=05124c3ed08a08a47dec3ae27c58fdfff159cf7c

VO: Fail VAAPI reinit from decoder thread to avoid Qt abort in doneCurrent
If a recording starts without a video stream then if the video
subsequently becomes active the decoder attempts to re-init the
display.  However, the OpenGL functions fail if called outside of the
UI thread and this results in an unbalanced series of calls to
doneCurrebt which triggers a Qt abort (debug build) due to a recursive
mutex overflow.

This bug is tickled by the CloseShave video which started recording
at just before 7pm on BBC3, which is just before the start of normal
BBC prgrams.  The initial stream consists of MHEG data only.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit 363361a9e26322d9e6a87e17effc50add8653533
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 7 Mar 2014 19:31:42 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=363361a9e26322d9e6a87e17effc50add8653533

Fix 0b9470c Fix fileringbuffer locking...
Commit 0b9470c (Fix fileringbuffer locking up on read()) modified
FileRingBuffer::safe_read to use fstat() to check the file size
before reading.  The new code compares (internalreadpos + tot)
with the reported size.  This is mostly correct except when
MythPlayer::SwitchProgram detects the transition across a livetv
programme boundary.  In this case internalreadpos holds the read
position for the old file until the decoder calls FileChanged().

This patch includes readAdjust (set by SetAdjustFilesize()) to
correctly determine the current read position in the file.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



commit b84ee2d68a80be93bb26bdacc7e0fa04bc69c6a2
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 12:33:22 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b84ee2d68a80be93bb26bdacc7e0fa04bc69c6a2

Mythframe: fix cpuid for Mingw32
Patch by Lawrence Rust <lvr at softsystem.co.uk>



commit 16cb2a8b957f948cd9977021327e8dd8167d9415
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 12:31:28 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:13 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=16cb2a8b957f948cd9977021327e8dd8167d9415

Fix compilation warnings



commit f8614bb8eea8428a558f257a8c4a7f04af807c94
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 15 Jan 2014 14:47:30 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 8 Jul 2014 16:48:12 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f8614bb8eea8428a558f257a8c4a7f04af807c94

BE: Fix 'MythSocket: Programmer error, QEventLoop isn't running...' during BE exit
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmyth/audio/audiooutput.cpp          |    4 +
 mythtv/libs/libmyth/audio/audiooutputbase.cpp      |    8 +-
 mythtv/libs/libmyth/audio/audiooutputdx.cpp        |    9 +-
 mythtv/libs/libmyth/audio/audiooutputwin.cpp       |    6 +
 mythtv/libs/libmyth/audio/audiopulsehandler.cpp    |   28 +-
 mythtv/libs/libmyth/audiooutputgraph.cpp           |  326 +++++++++
 mythtv/libs/libmyth/audiooutputgraph.h             |   47 ++
 mythtv/libs/libmyth/libmyth.pro                    |    3 +-
 mythtv/libs/libmythbase/mythcorecontext.cpp        |    1 +
 mythtv/libs/libmythtv/audioplayer.cpp              |   10 +-
 mythtv/libs/libmythtv/audioplayer.h                |    1 +
 mythtv/libs/libmythtv/avformatdecoder.cpp          |    4 +-
 .../libs/libmythtv/channelscan/channelscan_sm.cpp  |    3 +
 mythtv/libs/libmythtv/channelscan/channelscan_sm.h |    2 +
 mythtv/libs/libmythtv/deletemap.cpp                |    5 +
 mythtv/libs/libmythtv/deletemap.h                  |    1 +
 mythtv/libs/libmythtv/fileringbuffer.cpp           |   14 +-
 mythtv/libs/libmythtv/mythframe.cpp                |   10 +-
 mythtv/libs/libmythtv/mythplayer.cpp               |  689 +++++++++++---------
 mythtv/libs/libmythtv/mythplayer.h                 |   12 +-
 mythtv/libs/libmythtv/nuppeldecoder.cpp            |    6 +
 mythtv/libs/libmythtv/osd.cpp                      |   15 +
 mythtv/libs/libmythtv/osd.h                        |    1 +
 mythtv/libs/libmythtv/ringbuffer.cpp               |    8 +
 mythtv/libs/libmythtv/ringbuffer.h                 |    1 +
 mythtv/libs/libmythtv/tv_play.cpp                  |   10 +-
 mythtv/libs/libmythtv/videoout_opengl.cpp          |    2 +-
 mythtv/libs/libmythtv/videoout_openglvaapi.cpp     |   12 +
 mythtv/libs/libmythui/mythrender_opengl.cpp        |    4 +
 mythtv/programs/mythbackend/main_helpers.cpp       |    9 +-
 mythtv/programs/mythtranscode/mpeg2fix.cpp         |    6 +-
 .../programs/mythtranscode/videodecodebuffer.cpp   |   36 +-
 mythtv/programs/mythtranscode/videodecodebuffer.h  |   25 +-
 mythtv/themes/MythCenter-wide/osd.xml              |    7 +-
 mythtv/themes/Terra/osd.xml                        |    4 +
 mythtv/themes/default-wide/osd.xml                 |    5 +-
 mythtv/themes/default/osd.xml                      |    7 +-
 37 files changed, 958 insertions(+), 383 deletions(-)
 create mode 100644 mythtv/libs/libmyth/audiooutputgraph.cpp
 create mode 100644 mythtv/libs/libmyth/audiooutputgraph.h

-- 



More information about the mythtv-firehose mailing list