mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
* Print stack trace on crash * Printing stack trace is fully functional except for WIN32 * Minor fixes * Minor fixes
This commit is contained in:
@@ -4,7 +4,7 @@ DispmanxWrapper::DispmanxWrapper(const unsigned grabWidth, const unsigned grabHe
|
||||
: GrabberWrapper("Dispmanx", &_grabber, grabWidth, grabHeight, updateRate_Hz)
|
||||
, _grabber(grabWidth, grabHeight)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
void DispmanxWrapper::action()
|
||||
|
@@ -33,6 +33,11 @@ V4L2Wrapper::V4L2Wrapper(const QString &device,
|
||||
connect(&_grabber, SIGNAL(readError(const char*)), this, SLOT(readError(const char*)), Qt::DirectConnection);
|
||||
}
|
||||
|
||||
V4L2Wrapper::~V4L2Wrapper()
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
bool V4L2Wrapper::start()
|
||||
{
|
||||
return ( _grabber.start() && GrabberWrapper::start());
|
||||
|
@@ -6,6 +6,14 @@ X11Wrapper::X11Wrapper(int cropLeft, int cropRight, int cropTop, int cropBottom,
|
||||
, _init(false)
|
||||
{}
|
||||
|
||||
X11Wrapper::~X11Wrapper()
|
||||
{
|
||||
if ( _init )
|
||||
{
|
||||
stop();
|
||||
}
|
||||
}
|
||||
|
||||
void X11Wrapper::action()
|
||||
{
|
||||
if (! _init )
|
||||
|
Reference in New Issue
Block a user