- Update xineliboutput XKeySym.Pause key in example remote.conf. ("space" instead of "Space") - Add multimedia/vdr-plugin-extrecmenu 1.2.2 to vdr-plugins metaport. - Update multimedia/vdr-plugin-skinenigmang to 0.1.2s20120606 git snapshot. - Update www/vdr-plugin-live to 0.2.0s20120325 git snapshot. - Bump PORTREVISION for all other plugins and add api fixes where necessary. - Add HISTORY to PORTDOCS for most plugins. (those that have it) - Remove shlib major versions from LIB_DEPENDS to pet portlint.
29 lines
982 B
C++
29 lines
982 B
C++
--- a/receiver/livereceiver.cpp
|
|
+++ b/receiver/livereceiver.cpp
|
|
@@ -31,9 +31,19 @@ cLiveReceiver* cLiveReceiver::newInstanc
|
|
}
|
|
}
|
|
|
|
+#if (APIVERSNUM < 10725)
|
|
cLiveReceiver::cLiveReceiver(cChannel *Channel, cDevice *Device)
|
|
: cReceiver( Channel->GetChannelID(), 0, Channel->Vpid(), Channel->Apids(), Channel->Dpids(), Channel->Spids()),
|
|
mDevice(Device), mChannel(Channel){
|
|
+#else
|
|
+cLiveReceiver::cLiveReceiver(cChannel *Channel, cDevice *Device)
|
|
+: cReceiver( Channel, 0),
|
|
+ mDevice(Device), mChannel(Channel){
|
|
+ AddPid(Channel->Vpid());
|
|
+ AddPids(Channel->Apids());
|
|
+ AddPids(Channel->Dpids());
|
|
+ AddPids(Channel->Spids());
|
|
+#endif
|
|
this->mLiveBuffer = NULL;
|
|
this->mOutputBuffer = NULL;
|
|
this->mFrameDetector = NULL;
|
|
@@ -185,4 +195,4 @@ void cLiveReceiver::close(){
|
|
delete this->mLiveBuffer; this->mLiveBuffer = NULL;
|
|
this->mFrameDetector = NULL;
|
|
MESSAGE(VERBOSE_LIVE_TV, "Live receiver closed.");
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|