Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 25, 2012
  1. @stuartm

    Move QUERY_FILETRANSFER handling to improve backend performance.

    stuartm authored
    This significantly reduces the backend CPU usage for me when streaming a
    recording or other file to the frontend.
    Each time we send a command to the backend we perform a number of string
    comparisons to find the correct handler. In the cases where that same command
    is sent regularly, maybe several times a second those comparisons can stack up
    to result in a high CPU load. This can be avoided by moving the most frequently
    used commands to the top of the list thereby avoiding a couple of dozen or more
    comparisons each time.
    There may be other commands that should be moved to the top with similar
    (cherry picked from commit 529853d)
Commits on Jun 1, 2012
  1. @natanojl

    Internet Content: Fix Vimeo grabber

    natanojl authored
    Vimeo now requires that oauth_callback is specified.  We set it to out-of-band
    since we don't use it.
    (cherry picked from commit 0c92bfd)
Commits on May 27, 2012
  1. @wagnerrp

    Force proper initialization of keys and jumppoints for control socket.

    wagnerrp authored
    (cherry picked from commit 931fe9c)
Commits on May 24, 2012
  1. @stuartm

    Fix a null pointer dereference in MainServer::HandleQueryRecording().…

    stuartm authored
    … This bug would have made it possible to crash a backend with a malformed QUERY_RECORDING message. Coverity defect 700420
    (cherry picked from commit 9bddf5b)
Commits on May 22, 2012
  1. @cpinkham

    Remove the broken "Expire in deleted order" setting.

    cpinkham authored
    Unfortunately, this setting has been broken since the day it was
    committed.  When disabled, this setting could cause non-deleted
    programs to be expired before deleted programs when the Auto
    Expirer was trying to free up disk space.  The desired effect
    of the setting is now already handled by default, expiring deleted
    programs in a FIFO order on a particular filesystem.  The first
    program deleted is the first to be expired for disk space if
    Backports 928135e from master.
Commits on Apr 22, 2012
  1. @halovanic @natanojl

    Internet Content: Correct search URL

    halovanic authored natanojl committed
    Fixes #10619
    Signed-off-by: Jonatan Lindblad <>
    (cherry picked from commit a72b694)
Commits on Apr 12, 2012
  1. @stuartm

    Bump VERSION to 0.24.3

    stuartm authored
Commits on Apr 10, 2012
  1. @garybuhrmaster @Beirdo

    Fix a clang-related compile issue

    garybuhrmaster authored Beirdo committed
    Fixes #10473.
    Port the mplayer yadif filter fix (revision 32437) to mythtv port to allow compile with clang
    mplayer log: yadif: Explicit wordlength for compare. Fixes compile with clang.
    mplayer cvslog reference:
    Signed-off-by: Gavin Hurlbut <>
    (cherry picked from commit ecda14d)
  2. @Beirdo

    Make mythtv more compatible with GCC 4.7

    Kevon authored Beirdo committed
    Fixes #10537
    Signed-off-by: Gavin Hurlbut <>
    Cherry-picked from 19a7e01
  3. @hobbes1069 @Beirdo

    Make mythtv compile better with GCC 4.7

    hobbes1069 authored Beirdo committed
    Fixes #10309
    Signed-off-by: Gavin Hurlbut <>
Commits on Apr 8, 2012
  1. @stuartm
  2. @daniel-kristjansson @stuartm

    Fixes segfault on mythfrontend exit & related problems.

    daniel-kristjansson authored stuartm committed
    NetworkControl wasn't removing itself from the listener list when the object was
    deleted causing a segfault when an event was received during shutdown.
    Reviewed other instances of gCoreContext->addListener() and fixed one other
    instances of this error.
    (cherry picked from commit c7a1e81)
    Refs #10359
Commits on Mar 15, 2012
  1. @stuartm

    Don't increment the number of channels returned by libdvdnav. This wa…

    stuartm authored
    …s causing 5.1 audio to be wrongly identified as 7 channel, and stereo as 3 channel.
    (cherry picked from commit 20a5628)
Commits on Mar 13, 2012
  1. @stuarta

    Add a couple more FreeSat transports to the EIT fixup list. This help…

    stuarta authored
    …s keep Freeview and FreeSat guide data consistent
  2. @sphery

    Fix DB locking issue on MySQL 5.5

    sphery authored
    affecting DB initialization.  This is the DB init equivalent of
    0bc768e (and its backported version at 4ef6458 ).
    Thanks to JYA for finding the issue.
    (cherry picked from commit c419275)
Commits on Mar 10, 2012
  1. @stuartm

    Fix RTP IPTV with multiple IPTV interfaces. 1ed419a applied a fix for…

    stuartm authored
    … udp IPTV where more than one interface was available, it didn't apply the fix for rtp which uses the same socket code. Fixes #8767, Refs #3873
    (cherry picked from commit 37cacb6)
  2. @sphery

    Fix some DB locking issues on MySQL 5.5

    sphery authored
    affecting DB upgrades.
    (backported from 0bc768e)
  3. @sphery

    Remove limit from 1256 DB update.

    sphery authored
    The limit, coupled with a post-0.24 DB upgrade, could cause a key
    binding collision on exactly one host (and not more than one host) in
    the MythTV system when upgrading from a 0.23 schema version to post 0.24
    schema version.  The collision could only occur in a multi-host MythTV
    system, could not occur on the host performing the DB upgrade(s), and
    could only occur on a host that had been used as a frontend with 0.23
    but never ran either mythfrontend or mythtv-setup from 0.24.
    More specifically, you would have had to have a schema version from
    before May 10, 2010 on master (such as a 0.23 schema version) and
    upgraded to a schema version from after July 21, 2011 on master (not in
    any released version, but will be in 0.25) without ever running a
    version of mythtv from between those 2 dates.  Even then, the collision
    is unlikely to occur because of how the data is returned.
    For users running master, any affected host's mythfrontend or
    mythtv-setup will show the warning:
    2012-03-06 09:08:55.862679 W  Key Esc is bound to multiple actions in
    context Main Menu.
    The collision can be fixed by manually removing or changing the binding
    on the action you don't want in mythfrontend's Utilities/Setup|Edit Keys
    in the Main Menu context on the affected host.
    For users running 0.24 versions, there is no collision, and simply
    running mythfrontend (or mythtv-setup, but no need to run both) from
    0.24-fixes on your frontend hosts will prevent one from occurring when
    you upgrade to 0.25, so you have nothing to worry about/nothing to fix.
    Refs #10403.
    (cherry picked from commit e022c2c)
Commits on Mar 9, 2012
  1. @stuartm

    Use MythDownloadManger for downloading icons in mythfilldatabase. Htt…

    stuartm authored
    …pComms doesn't support SSL. Backported from 177fdbb
Commits on Mar 7, 2012
  1. @wagnerrp
Commits on Mar 6, 2012
  1. @tralph

    AvFormatDecoder: add FORCE_DTS_TIMESTAMPS environment variable

    tralph authored
    This allows a user to force the player to use video dts timestamps for av-sync
    purposes in the event they have material with busted pts timestamps.
    backport 40c69e1
    Fixes #10007.
Commits on Mar 5, 2012
  1. @stuartm

    Increase kMaxUIWaitTime to 10 seconds. The theory is that this timeou…

    stuartm authored
    …t was to prevent a very delayed response to an availability check causing playlists to resume playing long after the user had moved on. The present timeout was very short though and didn't account for delays caused by disks needing to be spun up or just the latency of checking multiple storage groups for a file. Almost certainly fixes #8316
    (cherry picked from commit 6c3a799)
Commits on Mar 2, 2012
  1. @stuartm

    Fix 0.24 build after backporting dead key support. The log macros wer…

    stuartm authored
    …e renamed in 0.25, they aren't really needed in 0.24 so just remove them.
  2. @stuartm

    Add basic dead key support to mythuitextedit. Implemented from scratc…

    stuartm authored
    …h because I couldn't see a way of getting QT to handle it. To start with the following characters are supported, but if patches are provided I will add more - áâàãäå éêèë ç íîìï ñ óôòõö úûùü ýÿ . Fixes #8304 (cherry picked from commit d84d5c9)
Commits on Feb 21, 2012
  1. @jyavenard

    Do not attempt to play audio with more than 8 channels if not support…

    jyavenard authored
    …ed natively.
    While trying to play an encrypted video over airplay, all nasty things would happen. So add a safeguard so we never try to play more than 8 channels audio unless the hardware supports it (e.g. not requiring downmixing)
    [cherry-picked from c5b6e92]
Commits on Feb 17, 2012
  1. @stuartm

    Fix reccount value for the Default group

    stuartm authored
    (cherry picked from commit 4588c0e)
Commits on Feb 14, 2012
  1. @stuartm

    Alter the watched flag fix slightly to take into account the need to …

    stuartm authored
    …ignore post-roll for recordings, something I forgot before.
    (cherry picked from commit b758ea8)
  2. @stuartm

    Fix videos not being marked as watched. We had some code to handle in…

    stuartm authored
    …-progress recordings where we didn't have the total number of frames, this used the start/end time of the recording which can't be trusted for video because they are based on the length from downloaded metadata e.g. An episode of Frasier might only be 22 minutes long without adverts but according to the metadata it's 30 minutes. We now trust the totalFrames to be accurate for anything which isn't an in-progress recording.
    (cherry picked from commit f53a00f)
Commits on Feb 12, 2012
  1. @jyavenard

    Fix mono audio playback.

    jyavenard authored
    Follow-up 8adf652, which was incorrect
    [cherry-picked from ce8844a]
Commits on Feb 11, 2012
  1. @jyavenard

    Fix issue that could occur when playing mono content upmixed to stereo.

    jyavenard authored
    Stupid typo
    [cherry-picked from 8adf652]
Commits on Feb 10, 2012
  1. @stuartm

    Terra: Include season/episode and watched info in the video gallery/b…

    stuartm authored
    …rowse views
    (cherry picked from commit 82c0729)
  2. @stuartm

    Fix default selected value for the menu theme setting

    stuartm authored
    (cherry picked from commit bf6ed42)
Commits on Feb 4, 2012
  1. @tralph

    avformatdecoder: improve fps detection in normalized_fps()

    tralph authored
    This should fix issues with mov style containers by using the avg_frame_rate
    which is set by the demuxer.
    NOTE: Using estimated_fps seems to always be accurate for everything except
    matroska and mov. It appears that ffmpeg takes into account the codec and
    container fps when generating estimated_fps. Also, XBMC uses
    estimated_fps for everything except matroska. We should probably do the same.
    Fixes #10300.
    (cherry picked from commit 6c22eda)
Commits on Jan 30, 2012
  1. @stuartm

    Fix Playbackbox update issue. A failed date conversion meant that ADD…

    stuartm authored
    … events were being ignored and therefore subsquent UPDATE events were also ignored so that the only data in the program cache was stale when a ui reload was done on exiting playback.
    (cherry picked from commit 70ca0bf)
Commits on Jan 29, 2012
  1. @Beirdo

    mythtranscode: Avoid a floating point exception

    Lawrence Rust authored Beirdo committed
    Closes #10263
    When mythtranscode is run with a non default profile it can
    throw a flating point exception during initialisation:
    Program terminated with signal 8, Arithmetic exception.
    422	    if ((ydiff / display_video_rect.height()) < 0.05)
    (gdb) bt
        new_display_visible_rect=..., new_aspectoverride=kAspect_Off, new_adjustfill=kAdjustFill_AutoDetect_DefaultHalf)
        at videooutwindow.cpp:484
        winh=0, codec_id=kCodec_MPEG2, embedid=0) at videooutbase.cpp:419
        winw=0, winh=0, codec_id=kCodec_MPEG2, embedid=0) at videoout_null.cpp:152
        framecontrol=false, jobID=-1, fifodir=..., fifo_info=false, deleteMap=...) at transcode.cpp:716
    This is caused by display_video_rect.height() being 0.
    Signed-off-by: Lawrence Rust <>
    Signed-off-by: Gavin Hurlbut <>
    (cherry picked from commit 50b4594)
Something went wrong with that request. Please try again.