Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MythTV/mythtv
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kendall committed Dec 1, 2011
2 parents 33266b8 + 23ef573 commit 2ce27a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 34 deletions.
8 changes: 6 additions & 2 deletions mythtv/configure
Expand Up @@ -147,9 +147,11 @@ Advanced options (experts only):
--perl-config-opts=OPTS Additional options to pass when generating
Makefile.perl for building Perl bindings.
mythffmpeg options (These only affect the internal ffmpeg binary, not MythTV):
External codec library options (used for mythffmpeg and streaming transcode):
--enable-libmp3lame enable MP3 encoding via libmp3lame [no]
--enable-libfaac enable AAC encoding vic libfaac [no]
--enable-libx264 enable H.264 encoding via x264 [no]
--enable-libvpx enable VP8 encoding via libvpx [no]
--enable-libxvid enable Xvid encoding via xvidcore,
native MPEG-4/Xvid encoder exists [no]
EOF
Expand Down Expand Up @@ -4575,10 +4577,12 @@ echo "bindings_python ${bindings_python-no}"
echo "bindings_php ${bindings_php-no}"
echo ""

echo "# mythffmpeg Options"
echo "# External Codec Options"
echo "mp3lame ${libmp3lame-no}"
echo "faac ${libfaac-no}"
echo "xvid ${libxvid-no}"
echo "x264 ${libx264-no}"
echo "vpx ${libvpx-no}"
echo ""

MYTH_CONFIG_H=libs/libmythbase/mythconfig.h
Expand Down
32 changes: 0 additions & 32 deletions mythtv/programs/mythfrontend/videolist.cpp
Expand Up @@ -7,7 +7,6 @@
#include <QList>

#include "mythcontext.h"
#include "mythmediamonitor.h"
#include "util.h"

#include "mythgenerictree.h"
Expand Down Expand Up @@ -1110,37 +1109,6 @@ void VideoListImp::buildFsysList()
node_to_path_list::value_type(QObject::tr("videos"), dirs[0]));
}

//
// See if there are removable media available, so we can add them
// to the tree.
//
MediaMonitor *mon = MediaMonitor::GetMediaMonitor();
if (mon)
{
QList <MythMediaDevice*> medias = mon->GetMedias(MEDIATYPE_DATA);

for (QList <MythMediaDevice*>::Iterator itr = medias.begin();
itr != medias.end(); ++itr)
{
MythMediaDevice *pDev = *itr;
if (mon->ValidateAndLock(pDev))
{
QString path = pDev->getMountPath();
if (path.length())
{
LOG(VB_GENERAL, LOG_INFO,
QString("Video: Adding MediaMonitor device: %1")
.arg(path));
node_paths.push_back(node_to_path_list::
value_type(path_to_node_name(path),
path));
}

mon->Unlock(pDev);
}
}
}

//
// Add all root-nodes to the tree.
//
Expand Down

0 comments on commit 2ce27a3

Please sign in to comment.