[mythtv-firehose] mythtv branch master updated by bmeek. v0.28-pre-3738-g2e98fb5

Git Repo Owner noreply at mythtv.org
Sat Apr 9 18:58:27 UTC 2016


The branch, master has been updated on the
mythtv repository by gitolite user bmeek.
       via  2e98fb583276c3966fed21fab354b11c7e5d591c (commit)
      from  c4e71876c997bab859f7a2c115c0aa06d14d3e1c (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 2e98fb583276c3966fed21fab354b11c7e5d591c
Author:    Bill Meek <bmeek at mythtv.org> at Sat, 9 Apr 2016 13:56:00 -0500
Committer: Bill Meek <bmeek at mythtv.org> at Sat, 9 Apr 2016 13:56:00 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2e98fb583276c3966fed21fab354b11c7e5d591c

Restore queuing of jobs when a recording finishes.
Reverts a portion of ffef83f. In TVRec::FinishedRecording, a check
of the recording's filesize is made. If it's less than 1000, then
PreviewGeneratorQueue isn't run. JOB_COMMFLAG and JOB_TRANSCODE
get removed from the queue.

After ffef83f ProgramInfo::GetFilesize will, at times, return a
filesize of 0 even though it's not. This is always 0 at the end
of a recording (only DVB and HDHOMERUN card types tested.)

This workaround will use the RecordedInfo filesize value if it's
non zero because in all tests, if non zero, the RI filesize
matched the value returned from the DB.

If RI filesize is zero, then there's no way to know if it's valid,
so use the 'old' DB query. If VB_RECORD is set and the DB filesize
is > 0 (and RI filesize = 0) then LOG.

I'm assuming that simply removing the 1000 byte test is a worse
workaround to the problem.

Refs #12290



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

Summary of changes:
 mythtv/libs/libmyth/programinfo.cpp |   63 ++++++++++++++++++++--------------
 1 files changed, 37 insertions(+), 26 deletions(-)

-- 



More information about the mythtv-firehose mailing list