Skip to content

Commit

Permalink
Sorry, unexpected merge...
Browse files Browse the repository at this point in the history
Merge branch 'master' of code.mythtv.org:mythtv
  • Loading branch information
Nicolas Riendeau committed Jul 31, 2013
2 parents 4455a89 + d655bc4 commit 1ee7744
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mythplugins/mytharchive/mytharchivehelper/main.cpp
Expand Up @@ -1066,7 +1066,7 @@ int NativeArchive::importRecording(const QDomElement &itemNode,
{
// delete any records for this recordings
query.prepare("DELETE FROM recordedmarkup "
"WHERE chanid = CHANID AND starttime = STARTTIME;");
"WHERE chanid = :CHANID AND starttime = :STARTTIME;");
query.bindValue(":CHANID", chanID);
query.bindValue(":STARTTIME", startTime);
query.exec();
Expand Down Expand Up @@ -1119,7 +1119,7 @@ int NativeArchive::importRecording(const QDomElement &itemNode,
{
// delete any records for this recordings
query.prepare("DELETE FROM recordedseek "
"WHERE chanid = CHANID AND starttime = STARTTIME;");
"WHERE chanid = :CHANID AND starttime = :STARTTIME;");
query.bindValue(":CHANID", chanID);
query.bindValue(":STARTTIME", startTime);
query.exec();
Expand Down
4 changes: 1 addition & 3 deletions mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -587,8 +587,6 @@ bool AvFormatDecoder::DoFastForward(long long desiredFrame, bool discardFrames)
break;
}
}
if (!st)
return false;

int seekDelta = desiredFrame - framesPlayed;

Expand Down Expand Up @@ -622,7 +620,7 @@ bool AvFormatDecoder::DoFastForward(long long desiredFrame, bool discardFrames)

int normalframes = 0;

if (st->cur_dts != (int64_t)AV_NOPTS_VALUE)
if (st && st->cur_dts != (int64_t)AV_NOPTS_VALUE)
{

int64_t adj_cur_dts = st->cur_dts;
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/eitfixup.cpp
Expand Up @@ -34,7 +34,7 @@ EITFixUp::EITFixUp()
m_dishPPVCode("\\s*\\(([A-Z]|[0-9]){5}\\)\\s*$"),
m_ukThen("\\s*(Then|Followed by) 60 Seconds\\.", Qt::CaseInsensitive),
m_ukNew("(New\\.|\\s*(Brand New|New)\\s*(Series|Episode)\\s*[:\\.\\-])",Qt::CaseInsensitive),
m_ukNewTitle("^Brand New\\s*",Qt::CaseInsensitive),
m_ukNewTitle("^(Brand New|New:)\\s*",Qt::CaseInsensitive),
m_ukCEPQ("[:\\!\\.\\?]"),
m_ukColonPeriod("[:\\.]"),
m_ukDotSpaceStart("^\\. "),
Expand Down

0 comments on commit 1ee7744

Please sign in to comment.