[mythtv-commits] mythtv branch devel/lvr/bugfixes updated by lvr. v0.28-pre-3397-g1da269a

Git Repo Owner noreply at mythtv.org
Fri Jan 8 19:15:11 UTC 2016


The branch, devel/lvr/bugfixes has been updated on the
mythtv repository by gitolite user lvr.
  discards  75ab8f16fbc102be0ad3395721f1883d2e613b67 (commit)
  discards  51cd06c52a7dbe1fe2da6966fe36c3f3c74be6c5 (commit)
  discards  30a0e8f0bb6119ef525c21311e90f72732fbd332 (commit)
  discards  b1dfa60711bd6967d38dba2b2c913231d9df6cfe (commit)
  discards  707718c4bc8d2a365fe7661b9e34b8471962bd9d (commit)
  discards  d2461d0c14c535c08d1b34844a18410426a25b06 (commit)
  discards  f830a5b25e0290285f0736799bedf19436f60018 (commit)
  discards  fdf794eb4567d19f4d74af3ed4b5968cfd31d426 (commit)
  discards  7547cf9f61e4401ec06a875ce30c474f9ec551f4 (commit)
  discards  de72a3a7930d201e02599d90158a0dcda097ec89 (commit)
  discards  5da4e4c846171386ff0dfcd810d80390861509ca (commit)
  discards  d3785de2fef790971dec2ccd0dbed2c88a6c0413 (commit)
  discards  a4960dafd4acda26949f103125298ee4e9fe7fda (commit)
  discards  8504988500ad8c4dc135091d6b947ad321078aad (commit)
  discards  984e41b58e38894ba831c386daac064879042eb7 (commit)
  discards  2e025f35a61d2a3eef05a3b937b74244ab39b95f (commit)
  discards  cfc283d99654b6e6c2d4b6339f35dba7fd92d213 (commit)
  discards  b5b32d1de8aa0a13c4d1693024b1a2c7d78cc793 (commit)
  discards  6978be6da03209f921438cf22a91142f295ee696 (commit)
  discards  8ed734bd519f9e4f7d050a7eeb8cf5fdbefb9aeb (commit)
  discards  19a853b0b8112263a8ca31062a8059f2bff28392 (commit)
  discards  5d944bd91df94a98867b8a70255c23775044c660 (commit)
  discards  c309dc97bbe00aed091acb81026e1aa82d8d7749 (commit)
  discards  cd1ad2d02a59a5546c3110c379e610273312f946 (commit)
  discards  fee9bb7e86eeb3900b0312c28706e8cb8f7b6ca4 (commit)
  discards  5471a8598508f98b5b32b59a8a5982380e2942c4 (commit)
  discards  93fdd2cb9b6cb956d5d04b6805e6f193cd8b8f35 (commit)
  discards  5af61c87d059f1cd7d2f55fa2ef1fc62c414f42a (commit)
  discards  e245e9eae73518cb04eb6474eef8709fafb03dab (commit)
  discards  10c275921e64eaba1a5c95cbba2af7c62a53f3f9 (commit)
  discards  05b541d6d077e17d4e8254550dba1b5b9d8883e2 (commit)
  discards  20e0d3de0bbbc75a76405ac25837e276472e1ac3 (commit)
  discards  55d5e6fafbffa84afb34d840d090883c824091b5 (commit)
  discards  8a63e2d38ba4cd428b6a6b60011efa1fc3fb4276 (commit)
  discards  a9e7cf0aba9b19b9e574c49387691285fe10093d (commit)
  discards  63aea70ff1afb19022b3b3db5bac40712608f8bc (commit)
  discards  4316b425ea5a516bfb99b7f7415f7f7f8281cc79 (commit)
  discards  4f315229931f9494875a7b49b7bf19d287b79a85 (commit)
  discards  a796700c4edee2b6ba5850a56ad4a84fba9e23dc (commit)
  discards  b44952e8a23ca74b40499c00fe0dab0be509de4f (commit)
  discards  9cc75454468ab0d699d59f929d5ad4f2e8b066b3 (commit)
  discards  13f349730b41bfb9c6e2fff7de94fe454815e3ce (commit)
  discards  884160a06d9ff52ed32768c8c0663a6a4ed4f413 (commit)
  discards  ee8ac612041f635f5f39eb5aa7ec12d53cb1936e (commit)
  discards  91e9e6e4752c9519f2158f78416990c8d2f3a66d (commit)
  discards  5b3b4dda7997c338b630a13648fc2bf458c851e8 (commit)
  discards  bf57bf6c6a2a004d9a757b188d5d1e2a951e2056 (commit)
  discards  99c7953f9893b25cf0374ca43773058005f60ce3 (commit)
  discards  4a9d0571a0c4badc668267f054eb29a92208c461 (commit)
       via  1da269ac655ddb4dfcfb09ff68460b3b90ebef7b (commit)
       via  1b6463ce5a776ced5df1e9371ebd5f79abcc4272 (commit)
       via  3df175840390a5482fdd03f3dd9437eed8b96d9e (commit)
       via  7b4402defd87ba8053f627aadcaaffcf6ecd72d2 (commit)
       via  9cb0f1af2c8b04b6e2030f0233c2e36081caf36e (commit)
       via  ef8e526516f2b7c1a6b8c6c399d5b1efa9a215ac (commit)
       via  f50d5d77309525e2abe105320f01b57f0b289169 (commit)
       via  0d17f46f0eddf4f436efa2d902c71e59a191624e (commit)
       via  9b69154fed870628d05c85c5f1fcaf9a86dc0125 (commit)
       via  4d00e8b9497235393d64230dda08d7925b19f585 (commit)
       via  20030d924f4ddede0222bf6630a2423185ca41b0 (commit)
       via  aaec30af6d01f91e376acb60e33619f0dab5328a (commit)
       via  916e43bb52ba30379447cb2672dccb99d5d7d6e5 (commit)
       via  66da04153ef4190894887307bb4e1613486948c8 (commit)
       via  543c6eb58982275443ab0577fa5983841194ba3a (commit)
       via  d864d3f2c8b187b342f8d91824f3d756348e73a9 (commit)
       via  a166659dea14668864c00e98c283a70c789a69d6 (commit)
       via  d8949d309eb3ae94a398262c46de7effd8896c0f (commit)
       via  149107c1bced3517be3d07dc61cc6c90c490ead8 (commit)
       via  600d9e36141985f20807c86bbe189707af726951 (commit)
       via  c7868fa7e2bfeb105e4719e667961c879bb3b961 (commit)
       via  57f9f4c26ccec92042e3c63f3dcf36c63d4e8686 (commit)
       via  bcdb5dd3b2e4847bf3e3269dd2d40be4468aa9fd (commit)
       via  ab36b38c78ac9f63708eb48451a82e3e877351e2 (commit)
       via  6ff2657c10569a69afe4a26b0a6941cc3297cac1 (commit)
       via  5de4dd081ee80058455bd3bf9c1e4d486a3720c3 (commit)
       via  8f4e4704098462edba2930fe2f09639250336875 (commit)
       via  280076c29a661d6459ae874f378252eb53b5b63a (commit)
       via  7c9dd0e0fd20f53abba4e6306e41fc9a71ef417d (commit)
       via  544883231aa17384b99451e2c69670dfd77717cc (commit)
       via  33ae2e7a85c38d43f95cf9998f902b49caa179f5 (commit)
       via  91c87117059faf1c6c9ca6a18caf8ad9285206f4 (commit)
       via  b10867cefa9d5279306eb35fecd6ebb5e54fba54 (commit)
       via  168857835c958c7bd8f1ae874a89e05fb8008738 (commit)
       via  e236b46f79e140cf5096b4b8affe5d625e35030a (commit)
       via  719cc40e7825d1776cece95810f14ab6a02f16e7 (commit)
       via  cfd5c198415d15be58482bef1adf0a08c83fd4eb (commit)
       via  290a921b47a7a63673d1885c3b5493660137c6bc (commit)
       via  4b5b28a7ffb3b48fe397bfdcad8f28a09980a2f7 (commit)
       via  ba52efab2353358e96f1cb47c6caea75c2f977b2 (commit)
       via  dc69376bff841339148e155211538b5ed63e0dcf (commit)
       via  99557245cc69cb696e8ae0d6ccf683498e288ec4 (commit)
       via  c5dcccfcb5b9b5c0128d74eb238e7df125bc5014 (commit)
       via  a9ec1a37fafffe8e195d2e4e172677dbd8cd532a (commit)
       via  83e36746ea7b50ea7ec229931bc47abc8a96fe50 (commit)
       via  dde3fc794940a0ee1b1161a051b83ba9efabdbe9 (commit)
       via  5547b2b430c408368377a3a8690444214e7d25d8 (commit)
       via  c765ecb6e11ac15c0536d6198d65b3f50a15bfb9 (commit)
       via  f5736e6853be948788be99d2d807c4b00fa7d3d7 (commit)
       via  6b5814005adbbe88c0eb7010ec5c6d2da5e66ac8 (commit)
       via  4e8e6615c97cb29c9931caaf9481f926afb59e18 (commit)
       via  eb43883e457d9b2ac57abc8216b8e3bccf322610 (commit)
       via  ff03753e7b3b633c07b0009d9b7c3ad478c042b3 (commit)
       via  6c739d22135df0e4e4d3e1eefaaf90857ae16cc2 (commit)
       via  804ca321b0054cff6757b8489b52ca009928dd59 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (75ab8f16fbc102be0ad3395721f1883d2e613b67)
            \
             N -- N -- N (1da269ac655ddb4dfcfb09ff68460b3b90ebef7b)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 1da269ac655ddb4dfcfb09ff68460b3b90ebef7b
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 1 Jan 2016 12:31:07 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:35 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1da269ac655ddb4dfcfb09ff68460b3b90ebef7b

Socket: Validate failure posts message to correct object
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 1b6463ce5a776ced5df1e9371ebd5f79abcc4272
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 5 Nov 2015 13:54:33 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:35 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1b6463ce5a776ced5df1e9371ebd5f79abcc4272

Fix link failure due to incorrect MBASE_PUBLIC used by mythgesture in libmythui
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 3df175840390a5482fdd03f3dd9437eed8b96d9e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 3 Nov 2015 14:05:34 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:35 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=3df175840390a5482fdd03f3dd9437eed8b96d9e

TV: Ensure correct A/V sync with PBP
When there are 2 PBP players TV::PlaybackLoop calls player->VideoLoop for
each instance.  However, both players wait for VSync causing the primary
PBP to lose A/V sync.

This patch only waits for VSync in the primary PBP player (which has
sound).

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 7b4402defd87ba8053f627aadcaaffcf6ecd72d2
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 11 Oct 2015 17:49:58 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=7b4402defd87ba8053f627aadcaaffcf6ecd72d2

Player: Allow user to change deinterlacer when time stretch > 1.0
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 9cb0f1af2c8b04b6e2030f0233c2e36081caf36e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 1 Sep 2015 13:50:05 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9cb0f1af2c8b04b6e2030f0233c2e36081caf36e

OpenGL: Fix colour rendition when using opengllite profile on Mesa
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit ef8e526516f2b7c1a6b8c6c399d5b1efa9a215ac
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 31 Aug 2015 15:42:31 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ef8e526516f2b7c1a6b8c6c399d5b1efa9a215ac

FE: avoid a null ptr deref when updating 'Search Listings' items
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit f50d5d77309525e2abe105320f01b57f0b289169
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 11 Jun 2015 16:58:29 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f50d5d77309525e2abe105320f01b57f0b289169

MythNews: Ignore enclosures that have no valid type
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 0d17f46f0eddf4f436efa2d902c71e59a191624e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 22 May 2015 08:54:03 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0d17f46f0eddf4f436efa2d902c71e59a191624e

UI: Avoid adding NULL values to MythUIButtonList::m_ButtonToItem
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 9b69154fed870628d05c85c5f1fcaf9a86dc0125
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 13 May 2015 13:59:10 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9b69154fed870628d05c85c5f1fcaf9a86dc0125

Fix bcd7d65e to use UTF8 string for MYTH_PROTO_TOKEN
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 4d00e8b9497235393d64230dda08d7925b19f585
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 15 Apr 2015 20:40:32 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4d00e8b9497235393d64230dda08d7925b19f585

Setup: Fix regex detecting V4L video device
mythtv-setup, add new capture card was failing to find /dev/video
and add it to the video device combo box

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 20030d924f4ddede0222bf6630a2423185ca41b0
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 31 Mar 2015 14:28:44 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=20030d924f4ddede0222bf6630a2423185ca41b0

UI: Ensure MythConfirmationDialog only posts one DialogCompletionEvent
In the FE select a recording rule and press 'D' to delete.  Press
and hold Esc and sometimes you get an abort in glibc about freeing
an unallocated block:

0  0xb7710c5c in __kernel_vsyscall ()
No symbol table info available.
1  0xb5055e0f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <optimised out>
        resultvar = <optimised out>
        pid = -1256398860
        selftid = 6138
2  0xb5059455 in __GI_abort () at abort.c:91
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x107, sa_sigaction = 0x107}, sa_mask = {__val = {134513596, 3037875353, 0, 24,
              2, 3037785874, 0, 0, 4, 3217048212, 3038568436, 22, 3217049748, 3037907354, 41, 3217048212, 4, 0, 3217053020, 0, 3,
              0, 6, 3217048316, 3217048308, 4, 3038296081, 3038296085, 3036943328, 3, 3036943571, 4}}, sa_flags = 5,
          sa_restorer = 0xb5189294}
        sigs = {__val = {32, 0 <repeats 31 times>}}
3  0xb50926ea in __libc_message (do_abort=2, fmt=0xb518dba8 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
        ap = 0xad6ce000 ""
        ap_copy = 0xad6ce000 ""
        fd = 41
        on_2 = <optimised out>
        list = <optimised out>
        nlist = <optimised out>
        cp = <optimised out>
        written = <optimised out>
4  0xb509d232 in malloc_printerr (action=<optimised out>, str=<optimised out>, ptr=0xd130f80) at malloc.c:5047
        buf = "0d130f80"
        cp = <optimised out>
5  0xb529951f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
No symbol table info available.
6  0x08109877 in ProgramRecPriority::customEvent (this=0x95609c0, event=0xd130f80) at programrecpriority.cpp:841
        record = 0xd130f80
        resultid = {d = 0x91948a8}
        resulttext = {d = 0xb55b048c}
        buttonnum = 0
        __FUNCTION__ = "customEvent"

This appears to happen in ProgramRecPriority::remove which puts up
a MythConfirmationDialog.  If sendResult() is called multiple times
then ProgramRecPriority::customEvent (deleterule) can delete the same
RecordingRule* over again.

This patch ensures a single DialogCompletionEvent by setting m_retObject
to NULL in MythConfirmationDialog::sendResult.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit aaec30af6d01f91e376acb60e33619f0dab5328a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 30 Mar 2015 18:17:18 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=aaec30af6d01f91e376acb60e33619f0dab5328a

UI: Ensure the UI idle timer is start/stopped from the UI thread
MythMainWindow::PauseIdleTimer is called from many places none of
which are guaranteed to be running on the main UI thread.  Qt
requires that timers are start/stopped from the same thread that
created them otherwise the operation will fail.

MusicPlayer::stop() calls MythMainWindow::PauseIdleTimer from
PlaylistLoadingThread which tickles this bug.

This patch causes the start/stop timer methods to be invoked
using QMetaObject which guarantees this requirement.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 916e43bb52ba30379447cb2672dccb99d5d7d6e5
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 18 Mar 2015 16:52:15 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=916e43bb52ba30379447cb2672dccb99d5d7d6e5

BE: Avoid SEGV when accessing discarded MythSocket
1. When a client connects, MainServer::NewConnection is called which
inserts a new MythSocket in controlSocketList.

2. When data is received, MainServer::readyRead creates a new thread to
process the request and saves the MythSocket to read from.

3. If the client disconnects before the thread handles the request then
the MythSocket is added to decrRefSocketList and removed from
controlSocketList.

4. When the thread runs and handles an 'ANN' request it creates a
PlaybackSock that references the MythSocket.

5. When MainServer::customEvent runs, it deletes any MythSockets
listed in decrRefSocketList.  This results in the PlaybackSock having
a dangling reference to the socket.  If the event is to be broadcast,
all client PlaybackSock's are sent the message which results in a reference
to the deleted socket and a SEGV.

This fix adds a test in MainServer::ProcessRequestWork to ensure the
socket is still in the controlSocketList and some additional code
in MainServer::HandleAnnounce to also check controlSocketList before
a PlaybackSock is created.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 66da04153ef4190894887307bb4e1613486948c8
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 12 Mar 2015 15:09:28 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=66da04153ef4190894887307bb4e1613486948c8

MPEG: Allow TV programs to be recorded 'Audio Only'
If a program is recorded with the 'audio only' profile and it has a
video stream in the source then get no output and lots of these log messages:
DTVRec[1]: ProcessVideoTSPacket: unknown stream type!

This patch initialises _pid_video_single_program which otherwise will
contain stale data.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 543c6eb58982275443ab0577fa5983841194ba3a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 17 Jan 2015 11:18:39 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=543c6eb58982275443ab0577fa5983841194ba3a

MythTranscode: Reset the video stream ID before generating keyframe index
The ID of the video stream in the transcoded file may not be the
same as that in the input file.  Generally this is the case
and most transcodes generate a correct keyframe index.  However,
some channels (e.g. UK Freeview horror channel) have audio as the
first channel in the input file.  In this case, lossless transcode
makes the first stream video and so the keyframe index generation
is incorrect.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit d864d3f2c8b187b342f8d91824f3d756348e73a9
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 16 Jan 2015 15:11:07 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:34 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d864d3f2c8b187b342f8d91824f3d756348e73a9

Logging: Fix -V option handling to accept 64bit values
At present passing VB_xxx options >= 1<<32 causes verboseMask to
be set to 0 and disable all logging.  This affects mythtranscode
when passed %VERBOSELEVEL% option.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit a166659dea14668864c00e98c283a70c789a69d6
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 6 Jan 2015 16:38:38 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a166659dea14668864c00e98c283a70c789a69d6

FE: Avert a race condition in program guide updating
If a GuideHelper thread is running then a SCHEDULE_CHANGE event can
update GuideGrid::m_recList which is iterated by the GuideHelper thread
and cause an access violation.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit d8949d309eb3ae94a398262c46de7effd8896c0f
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 30 Dec 2014 18:48:59 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d8949d309eb3ae94a398262c46de7effd8896c0f

mythsystemunix: Fix race condition in MythSystemLegacy::Run
After a child process is created in MythSystemLegacyUnix::Fork there
is a small time interval before MythSystemLegacy::Run calls
MythSystemLegacyUnix::Manage to add the process to
MythSystemLegacyManager's active queue.  If the child should terminate
before this then MythSystemLegacy::Wait can deadlock.

This fix acquires a mutex shared with MythSystemLegacyManager before
the fork operation and releases it after the process has been added
to the queue.

Additionally preserve the values of the pipe ends that are shared
with the child process.

The race condition and subsequent deadlock were observed in mythshutdown
with the --setwakeuptime option.  This prevented the BE shutting down
when idle and deadlocked the main BE thread.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 149107c1bced3517be3d07dc61cc6c90c490ead8
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 8 Sep 2014 17:37:17 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=149107c1bced3517be3d07dc61cc6c90c490ead8

Configure: Fix reference to unset variable in check_class_headers_cpp
This bug causes the compilation of ffmpeg.c to fail because
HAVE_GETPROCESSMEMORYINFO is set in config.h, causing windows.h
to be #include'd.

GetProcessMemoryInfo is enabled by check_class_headers_cpp which
erroneously calls 'enable $funcs' when $funcs has the stale value
GetProcessMemoryInfo.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 600d9e36141985f20807c86bbe189707af726951
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 30 Jul 2014 18:54:30 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=600d9e36141985f20807c86bbe189707af726951

TV: Fix DrawUnusedRects when exiting embedded EPG
When exiting the embedded EPG if the program material is in a
different format to the display then the theme borders are drawn
around the video.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit c7868fa7e2bfeb105e4719e667961c879bb3b961
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 30 Jul 2014 15:56:21 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c7868fa7e2bfeb105e4719e667961c879bb3b961

TV: Avoid race condition when exiting if TV is embedded
When exiting the program guide with embedded TV to the main menu
there is a race condition between the TV instance being deleted
and the GuideHelper thread which updates the channel states but
uses the TV instance.

The fix is to call qApp->processEvents until the guide shuts down.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 57f9f4c26ccec92042e3c63f3dcf36c63d4e8686
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Jul 2014 14:52:40 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=57f9f4c26ccec92042e3c63f3dcf36c63d4e8686

FE: Playbackbox - ensure stereo icon takes precedence over mono
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit bcdb5dd3b2e4847bf3e3269dd2d40be4468aa9fd
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 20 Jul 2014 17:40:30 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bcdb5dd3b2e4847bf3e3269dd2d40be4468aa9fd

EIT: Ensure names in the people dbase table are stripped of trailing spaces
EITFixUp::FixUK can add names with a trailing space.  It is then
non-obvious why Search-Listings/People fails.

The people dbase table can be cleaned with:
mysql -e"update people set name = rtrim(name) where name like '% '"

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit ab36b38c78ac9f63708eb48451a82e3e877351e2
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 18 Jul 2014 14:12:25 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ab36b38c78ac9f63708eb48451a82e3e877351e2

TV: Fix out of bounds array access in spectrum visualizer
NB This was the cause of the 'sticky bars' often seen with this visualiser

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 6ff2657c10569a69afe4a26b0a6941cc3297cac1
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 10 Jul 2014 11:19:46 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=6ff2657c10569a69afe4a26b0a6941cc3297cac1

mythcommflag: Prevent a divide by zero exception
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 5de4dd081ee80058455bd3bf9c1e4d486a3720c3
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 20 Jun 2014 13:50:04 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5de4dd081ee80058455bd3bf9c1e4d486a3720c3

Videobuffers: Fix GetStatus to report correct video frame status
When using PiP or PbP there are more than 32 buffers in use which
causes GetStatus to show the wrong status.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 8f4e4704098462edba2930fe2f09639250336875
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 10 Jun 2014 10:44:43 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8f4e4704098462edba2930fe2f09639250336875

Mythwelcome: Disable the idle standby timer
Mythwelcome normally connects to the BE in non-blocking mode i.e. the BE
is free to shutdown when it's idle.

If mythwelcome is active and the MythMainWindow idle timer fires then
standby state is entered.  On the next key press, e.g. to start the FE,
standby mode is exited and gCoreContext->BlockShutdown is called which
prevents the BE from shutting down even when the FE enters standby.  The
block is not released until the FE exits and an idle timeout occurs in
mythwelcome.

Mythwelcome has no need for standby mode so disable the idle timer
during application startup.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 280076c29a661d6459ae874f378252eb53b5b63a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 13 Jan 2014 13:50:32 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=280076c29a661d6459ae874f378252eb53b5b63a

MPEG: Correctly handle PSIP packets with StartOfFieldPointer 178..180
PSIP packets with StartOfFieldPointer in the range 178..180 are
incorrectly rejected.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 7c9dd0e0fd20f53abba4e6306e41fc9a71ef417d
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 8 Jan 2014 19:03:06 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:33 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=7c9dd0e0fd20f53abba4e6306e41fc9a71ef417d

Player: Restore the cutlist editor after seeking across a video format change
A change in video format results in a call to MythPlayer::ReinitOSD
which reinitialises the OSD for the new video bounds.  However, if the
cutlist editor is active its window is left hidden until the user presses
a key.

This patch calls deleteMap.UpdateOSD from ReinitOSD to restore the window
and its contents.  NB deleteMap must be marked as changed for the
cut regions to be redrawn.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 544883231aa17384b99451e2c69670dfd77717cc
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 28 Dec 2013 12:36:08 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=544883231aa17384b99451e2c69670dfd77717cc

TV: Ensure LiveTV channel number is updated when changing channel on same mux
When changing LiveTV channel from a DTV source, TVRec::TuningFrequency
checks if the new channel is on the same multiplex and if so it
skips the tuning operation and restarts the recorder.  Unfortunately
this means that the new ringbuffer filename will use the old channel
number.  This in turn means that the FE will use the wrong channel
number when disping OSD info.

This patch updates the channel number before restarting the recorder.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 33ae2e7a85c38d43f95cf9998f902b49caa179f5
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 21 Dec 2013 20:57:45 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=33ae2e7a85c38d43f95cf9998f902b49caa179f5

FE: Ensure FE re-connects to BE in monitor mode if FE is in standby
The BE doesn't powerdown sometimes when the FE is in standby as BE sees
an open playback connection.  Appears that after the BE suspends and then
resumes the FE re-connects to the BE in playback (blocking) mode.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 91c87117059faf1c6c9ca6a18caf8ad9285206f4
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Fri, 20 Dec 2013 20:25:41 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=91c87117059faf1c6c9ca6a18caf8ad9285206f4

VO: Permit change of deinterlace method while playing
During playback there is a UI menu to select the deinterlace method.
However, VideoOutput::SetupDeinterlace does nothing if the interlacing
state is not changed.  This means the user is unable to change the
deinterlace filter during playback.

This patch adds  an additional test to VideoOutput::SetupDeinterlace
to allow a new deinterlace filter to be chosen.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit b10867cefa9d5279306eb35fecd6ebb5e54fba54
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 14 Nov 2013 17:55:19 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b10867cefa9d5279306eb35fecd6ebb5e54fba54

mythtranscode: prevent an OOM abort caused by over allocating buffers
Using mythtranscode to output to FIFOs can sometimes result in an OOM
abort caused by dynamically allocating output buffers in
FIFOWriter::FIFOWrite.  At present there is no limit on the number
of buffers allocated.  If the FIFO read process is slow and the
video output rate is low then decoded audio packets can exhaust memory.

This patch adds an upper limit to the number of output buffers.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 168857835c958c7bd8f1ae874a89e05fb8008738
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 27 Oct 2013 16:40:44 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=168857835c958c7bd8f1ae874a89e05fb8008738

VO: Prevent VAAPI scibbling in CropToDisplay
When using VAAPI decoding, VideoOutputOpenGLVAAPI::ProcessFrame is
called from MythPlayer::VideoLoop to display a frame.  This in turn
calls VideoOutputOpenGL::ProcessFrame which calls VideoOutput::CropToDisplay
However, this function only handles YV12 format frames and not VAAPI
format and can write beyond the end of the video buffer.

This patch checks the frame codec and returns early if the format
is not YV12.  This does not affect any other formats as OpenGL
normally uses YV12 format.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit e236b46f79e140cf5096b4b8affe5d625e35030a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 23 Oct 2013 19:42:46 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e236b46f79e140cf5096b4b8affe5d625e35030a

Libmythbase: Stop MythWelcome blocking BE idle shutdown
MythWelcome connects to the backend server using a "Monitor"
announcement so as not to block backend idle shutdown.  However,
if the connection is broken for whatever reason e.g. if the
backend is stopped during STR, then when the connection is
re-established it currently uses "Playback" mode if the idle
shutdown time is > 0.  This causes the MythWelcome connection
to block further idle shutdowns.

This fix passes the original blocking mode to ConnectToMasterServer
rather than idleTimeoutSecs > 0

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 719cc40e7825d1776cece95810f14ab6a02f16e7
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 7 Oct 2013 11:09:22 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=719cc40e7825d1776cece95810f14ab6a02f16e7

Visualisers: handle float32 audio samples
Ogg and wma audio recordings are passed to the visualiser as
32-bit floating point buffers which are currently incorrectly
displayed.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit cfd5c198415d15be58482bef1adf0a08c83fd4eb
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 28 Sep 2013 14:28:46 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=cfd5c198415d15be58482bef1adf0a08c83fd4eb

AFD: Fix playback of MPEG1 recordings with Xv and VAAAPI
1. Ffmpeg's avcodec_open2 fails if the stream's type doesn't match
the decoder's type.  This patch forces the codec type to mpeg2 as
well as the stream to work around this limitation.

2. Ffmpeg cannot decode MPEG1 to a VAAPI supported pixel format so it
is necessary for VAAPI to refuse to handle an MPEG1 stream.  In this
case the decoder will fallback to Xvideo.

Without this patch the playback of mpeg1 videos is broken.
This bug affects older videos and cameras using MPEG1 encoding.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 290a921b47a7a63673d1885c3b5493660137c6bc
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 11 Sep 2013 17:52:00 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=290a921b47a7a63673d1885c3b5493660137c6bc

TV: Move ownership of the AudioOutputSync setting to PlayerContext
Currently the audio sync offset is setup in the MythPlayer ctor from
the AudioSyncOffset dbase setting.  However, this means that all
users of MythPlayer, including the transcoder, use the same offset.
This is OK for recordings and liveTV (where the user has interactively
set the value based on observed delays) but adversely affects transcoding
which results in permanent A/V offsets.

This patch moves ownership of AudioSyncOffset from MythPlayer
to PlayerContext.  PlayerContext sets the offset in StartPlaying and saves
it in StopPlaying.

Also the offset is set to 0 when using the cutlist editor to ensure
synchronisation between the audio output graph and the pause frame.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 4b5b28a7ffb3b48fe397bfdcad8f28a09980a2f7
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 24 Jul 2011 13:13:41 +0200
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4b5b28a7ffb3b48fe397bfdcad8f28a09980a2f7

TV: Move thread affinity of PreviewGenerator objects to QApplication
If viewing a recorded program using a debug build of Qt, then when the
recording comes to an end the following assert is often triggered:

ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to
 objects owned by a different thread. Current thread a24e070.
 Receiver '' (of type 'PreviewGenerator') was created in thread ac2f84b8",
 file kernel/qcoreapplication.cpp, line 349

Qt requires that an event receiver have the same thread affinity as the
QThread sending the event and this mechanism is used to dispatch
MythEvents sent by gCoreContext->dispatchNow(me)

This patch moves all PreviewGenerator objects to the QApplication::instance()
thread.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit ba52efab2353358e96f1cb47c6caea75c2f977b2
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 10 Aug 2013 17:32:12 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ba52efab2353358e96f1cb47c6caea75c2f977b2

MythWeather: Fix a SEGV on exit from setup screen
When starting with an empty database, select MythWeather from the
main menu.  A blank screen is shown.  Pressing back shows the setup
screen.  Press back again to the main menu and the FE aborts:

    Program terminated with signal 11, Segmentation fault.
    0  SourceManager::clearSources (this=0x92c40f0) at sourceManager.cpp:156
    156	    while (!m_scripts.isEmpty())
    0  SourceManager::clearSources (this=0x92c40f0) at sourceManager.cpp:156
    1  0xa67497c9 in ScreenSetup::~ScreenSetup (this=0xb21cef0,
        __in_chrg=<value optimised out>) at weatherSetup.cpp:110
    2  0xa6749c40 in ScreenSetup::~ScreenSetup (this=0xb21cef0,
        __in_chrg=<value optimised out>) at weatherSetup.cpp:130
    3  0xb25969de in qDeleteInEventHandler (o=0xb21cef0)
        at kernel/qobject.cpp:4277

When ScreenSetup's dtor is called, the m_sourceManager passed to the ctor
has already been deleted.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit dc69376bff841339148e155211538b5ed63e0dcf
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 8 Aug 2013 17:09:16 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:32 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=dc69376bff841339148e155211538b5ed63e0dcf

Settings: Initialise IntegerSetting to 0 in ctor
By default a setting is initialised to a null string which, if the user
does nothing else, results in an empty string written to the database.
This can cause some routines that test for a numeric value to fail e.g.
MythArchive's DVD creator fails if MythArchiveDriveSpeed is an empty string:

    Traceback (most recent call last):
      File "/home/lvr/Projects/myth/mythinstall/share/mythtv/mytharchive/scripts/mythburn.py", line 5247, in <module>
        main()
      File "/home/lvr/Projects/myth/mythinstall/share/mythtv/mytharchive/scripts/mythburn.py", line 5143, in main
        drivespeed = int(defaultsettings.get("MythArchiveDriveSpeed", "0"))
      ValueError: invalid literal for int() with base 10: ''

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 99557245cc69cb696e8ae0d6ccf683498e288ec4
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 6 Aug 2013 18:51:27 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=99557245cc69cb696e8ae0d6ccf683498e288ec4

BE: Fix SEGV in MpegRecorder::run when exiting LiveTV
Start FE live TV from demo recorder.  Exit and BE crashes.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit c5dcccfcb5b9b5c0128d74eb238e7df125bc5014
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 3 Aug 2013 18:53:46 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c5dcccfcb5b9b5c0128d74eb238e7df125bc5014

OSD: Relax alignment settings for yuv888_to_yv12
The current checks on alignment for c_yuv888_to_yv12 are over restrictive
and can cause the OSD to not be displayed if using a window which has
an odd height e.g.1680x945.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit a9ec1a37fafffe8e195d2e4e172677dbd8cd532a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 9 Jun 2013 10:16:22 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a9ec1a37fafffe8e195d2e4e172677dbd8cd532a

Mythsystem: Add a wait condition to speed up wait for completed children
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 83e36746ea7b50ea7ec229931bc47abc8a96fe50
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 14 Apr 2013 20:33:35 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=83e36746ea7b50ea7ec229931bc47abc8a96fe50

TV: Prevent the live TV pop-up EPG from nesting and hanging the UI
If the 'start EPG' key (S) is pressed twice quickly right after starting
live TV then a Myth busy dialog box appears which can't be dismissed.

The problem is caused by attempting to start the pop-up EPG while it is
already active.

This patch checks if the pop-up is active and ignores the request if it is.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit dde3fc794940a0ee1b1161a051b83ba9efabdbe9
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 7 Mar 2012 15:45:56 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=dde3fc794940a0ee1b1161a051b83ba9efabdbe9

TV: Fix race condition when changing channels with browse mode
Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 5547b2b430c408368377a3a8690444214e7d25d8
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 9 Mar 2013 10:25:43 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5547b2b430c408368377a3a8690444214e7d25d8

FE: Channel record priority settings gets channel icons from master BE
Channel icon paths are relative to the master BE.  When a remote frontend
shows a channel icon the image is loaded locally which normally fails.

Aside: the TV guide correctly handles channel icons.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit c765ecb6e11ac15c0536d6198d65b3f50a15bfb9
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Mon, 24 Jun 2013 11:07:49 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c765ecb6e11ac15c0536d6198d65b3f50a15bfb9

Player: Avoid a race condition when creating the InteractiveTV object.
There is a race condition bewtween the GUI and decoder threads
to create the interactiveTV object because the guarding mutex is
not acquired before reading the interactiveTV variable.

This often manifests itself to the user as an absence of interactive
text on recorded (but not liveTV) programs.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit f5736e6853be948788be99d2d807c4b00fa7d3d7
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 21 Mar 2013 14:40:10 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:14:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f5736e6853be948788be99d2d807c4b00fa7d3d7

TV: Prevent a SEGV in videooutputbase due to race condition
Both the UI thread and the interactive TV systems access MythPlayer's
videoOutput instance.  This can cause problems if the UI is updating
the OSD and interactive TV calls MythPlayer::SetVideoResize.  In
this case VideoOutput::vsz_tmp_buf can be deleted and set to NULL
while VideoOutput::ResizeVideo is executing.

In MythPlayer::SetVideoResize acquire osdLock before calling
videoOutput->SetVideoResize.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



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

Summary of changes:
 .../mythzoneminder/mythzoneminder/zmclient.cpp     |    2 +-
 mythtv/i18n/mythfrontend_de.ts                     |   20 +++++++++++---------
 mythtv/libs/libmythmetadata/musicfilescanner.cpp   |    2 +-
 mythtv/libs/libmythtv/avformatdecoder.cpp          |    4 ++++
 mythtv/libs/libmythui/mythrender_opengl1.cpp       |    3 ++-
 mythtv/programs/mythbackend/httpstatus.cpp         |    8 ++++++--
 6 files changed, 25 insertions(+), 14 deletions(-)

-- 




More information about the mythtv-commits mailing list