Skip to content

Commit

Permalink
Merge branch 'master' into new-logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Beirdo committed Jun 6, 2011
2 parents 9c93196 + 02881f3 commit d3d4440
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythbase/mythcorecontext.h
Expand Up @@ -24,6 +24,7 @@
#define MYTH_APPNAME_MYTHMESSAGE "mythmessage"
#define MYTH_APPNAME_MYTHLCDSERVER "mythlcdserver"
#define MYTH_APPNAME_MYTHAVTEST "mythavtest"
#define MYTH_APPNAME_MYTHMEDIASERVER "mythmediaserver"

class MDBManager;
class MythCoreContextPrivate;
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/ringbuffer.cpp
Expand Up @@ -767,7 +767,7 @@ void RingBuffer::run(void)
(now.tv_usec - lastread.tv_usec) / 1000;
readtimeavg = (readtimeavg * 9 + readinterval) / 10;

if (readtimeavg < 150 && (uint)readblocksize < (bufferSize>>2))
if (readtimeavg < 150 && (uint)readblocksize < (BUFFER_SIZE_MINIMUM >>2))
{
int old_block_size = readblocksize;
readblocksize = 3 * readblocksize / 2;
Expand Down
1 change: 1 addition & 0 deletions mythtv/programs/mythmediaserver/.gitignore
@@ -0,0 +1 @@
mythmediaserver
4 changes: 2 additions & 2 deletions mythtv/programs/mythmediaserver/main.cpp
Expand Up @@ -125,7 +125,7 @@ int main(int argc, char *argv[])
int argpos = 1;
bool daemonize = false;

QCoreApplication::setApplicationName(MYTH_APPNAME_MYTHJOBQUEUE);
QCoreApplication::setApplicationName(MYTH_APPNAME_MYTHMEDIASERVER);

QString filename;

Expand Down Expand Up @@ -288,7 +288,7 @@ int main(int argc, char *argv[])
}

VERBOSE(VB_IMPORTANT, QString("%1 version: %2 [%3] www.mythtv.org")
.arg(MYTH_APPNAME_MYTHJOBQUEUE)
.arg(MYTH_APPNAME_MYTHMEDIASERVER)
.arg(MYTH_SOURCE_PATH)
.arg(MYTH_SOURCE_VERSION));

Expand Down

0 comments on commit d3d4440

Please sign in to comment.