"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dvb/dvbliveview.cpp" between
kaffeine-2.0.16.tar.gz and kaffeine-2.0.17.tar.gz

About: Kaffeine is a full featured Multimedia-Player for KDE (default backend is xine).

dvbliveview.cpp  (kaffeine-2.0.16):dvbliveview.cpp  (kaffeine-2.0.17)
skipping to change at line 147 skipping to change at line 147
if (boundingRect.bottom() < rect.bottom()) { if (boundingRect.bottom() < rect.bottom()) {
rect.setBottom(boundingRect.bottom()); rect.setBottom(boundingRect.bottom());
} }
} }
} }
return pixmap; return pixmap;
} }
DvbLiveView::DvbLiveView(DvbManager *manager_, QObject *parent) : QObject(parent DvbLiveView::DvbLiveView(DvbManager *manager_, QObject *parent) :
), QObject(parent), manager(manager_), device(NULL), videoPid(-1),
manager(manager_), device(NULL), videoPid(-1), audioPid(-1), subtitlePid( audioPid(-1), subtitlePid(-1), pausedTime(0)
-1), pausedTime(0)
{ {
mediaWidget = manager->getMediaWidget(); mediaWidget = manager->getMediaWidget();
osdWidget = mediaWidget->getOsdWidget(); osdWidget = mediaWidget->getOsdWidget();
internal = new DvbLiveViewInternal(this); internal = new DvbLiveViewInternal(this);
internal->mediaWidget = mediaWidget; internal->mediaWidget = mediaWidget;
connect(&internal->pmtFilter, SIGNAL(pmtSectionChanged(QByteArray)), connect(&internal->pmtFilter, SIGNAL(pmtSectionChanged(QByteArray)),
this, SLOT(pmtSectionChanged(QByteArray))); this, SLOT(pmtSectionChanged(QByteArray)));
connect(&patPmtTimer, SIGNAL(timeout()), this, SLOT(insertPatPmt())); connect(&patPmtTimer, SIGNAL(timeout()), this, SLOT(insertPatPmt()));
skipping to change at line 585 skipping to change at line 586
pids.append(pid); pids.append(pid);
updatePatPmt = true; updatePatPmt = true;
} }
if (updatePatPmt) { if (updatePatPmt) {
internal->pmtGenerator.initPmt(channel->pmtPid, pmtSection, pids) ; internal->pmtGenerator.initPmt(channel->pmtPid, pmtSection, pids) ;
insertPatPmt(); insertPatPmt();
} }
} }
DvbLiveViewInternal::DvbLiveViewInternal(QObject *parent) : QObject(parent), med DvbLiveViewInternal::DvbLiveViewInternal(QObject *parent) :
iaWidget(NULL), QObject(parent), mediaWidget(NULL), emptyBuffer(true), timeshift(false),
retryCounter(0), readFd(-1), writeFd(-1) currentAudioStream(-1), currentSubtitle(-1), retryCounter(0),
readFd(-1), writeFd(-1), notifier(NULL)
{ {
fileName = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocati on) + QLatin1String("/dvbpipe.m2t"); fileName = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocati on) + QLatin1String("/dvbpipe.m2t");
QFile::remove(fileName); QFile::remove(fileName);
updateUrl(); updateUrl();
if (mkfifo(QFile::encodeName(fileName).constData(), 0600) != 0) { if (mkfifo(QFile::encodeName(fileName).constData(), 0600) != 0) {
qCWarning(logDvb, "Failed to open a fifo. Error: %d", errno); qCWarning(logDvb, "Failed to open a fifo. Error: %d", errno);
return; return;
} }
 End of changes. 2 change blocks. 
7 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)