aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/dvb.cpp
AgeCommit message (Collapse)Author
2009-07-19fixes for /dev/misc/pvr opening problems in some conditionsghost
2009-07-09fix non working recording on dm800 when a recording is started during ts ↵ghost
playback
2009-06-04dvb.cpp: detect boxtype via /proc/stb/info/model for demux policyghost
2009-05-31dvb.cpp: another dm500hd/dm800 demux policy fixghost
2009-05-31dvb.cpp: fix dm500hd and dm800 demux policyghost
2009-05-29dvb.cpp: add demux policy for dm800/500hdghost
2009-04-06replace assert by ASSERT, so a proper log message is generatedFelix Domke
2009-04-06more accurate fast-forward/rewindFelix Domke
2009-03-31Merge commit 'origin/master' into tmbinc/FixTimingBugsFelix Domke
2009-02-26fix pro7 'vpts did not increase when seeking'-bugFelix Domke
2009-02-13 - While recording, collect startcodes and save them into ".sc"-filesFelix Domke
- this allows finding iframes for fast forward/reverse more easily - when in fast forward, strictly just output good (=complete iframes) data (this might break dm7025, we will fix this later) - draw smaller, fixed-size bar in position gauge
2009-02-11Merge branch 'master' of /home/tmbinc/enigma2-git into tmbinc/FixTimingBugsFelix Domke
Conflicts: lib/dvb/decoder.cpp
2009-01-26Revert "fix comment"Felix Domke
This reverts commit d89a0c3e66c6d4d9785e56e335e864d85ad6dcad.
2009-01-26fix commentFelix Domke
2008-12-16add onid/tsid pollingStefan Pluecken
2008-11-25fix some refcounting bugsghost
2008-11-24add missing increfghost
2008-11-24add possibility to request tsid/onid for iDVBChannelghost
2008-11-18Don't search past buffer in TS I-frame cutter.Felix Domke
closes #66.
2008-11-17fix typoFelix Domke
2008-11-17fix comment, don't memmem over end of packetFelix Domke
2008-11-17Merge branch 'master' into tmbinc/FixTimingBugsFelix Domke
Conflicts: lib/dvb/sec.cpp lib/python/Components/Network.py lib/python/Components/Playlist.py lib/python/Plugins/Extensions/DVDBurn/Process.py lib/python/Plugins/Extensions/MediaPlayer/plugin.py lib/python/Screens/TimerEdit.py po/lt.po po/nl.po po/tr.po
2008-11-17lock on pids only if video startcode is in a pes headerFelix Domke
2008-11-17By Anders Holst:Felix Domke
* I have checked the effect on DM800 of the margin before GOP:s, introduced by the "timing bugs" patch and needed for DM7025. As was previously noted, the margins are not needed on DM800. Fortunately it turns out also not to have any significant adverse effects: When jumping back or forward I expected some flickering, but there are none at all! There is only one small effect as far as I have found: When a cut list is used, there are somewhat more flickering at the cut points than without the margins. Since there are flickering also without the margins, this may be considered a less serious effect. If you consider this effect serious enough though, or think that it is cleaner to separate the code for DM7025 and DM800 since the margin is needed for one but not the other, then I can try to produce such a patch. Otherwise I suggest to wait with this. * In the original timing bugs patch there were a fix to stop playback after the last OUT cut. It did this by setting the size of the next source span to 0. But this turned out not to be a good idea: It seems that playback stops immediately when the next size is set to zero, and not when the buffer is used up. Therefore playback may stop some seconds before the actual end. If instead a jump is made to the last position in the file and a non-zero size is used there, then for some reason it plays up the whole buffer. Don't ask me why it is like this. A modification to this effect is anyway included below. * Rewind did not work at all for HD movies on DM800. The picture just freezes. It is because HD movies have another sequence at beginning of frames than normal movies. There is a rather simple fix, looking for both HD and normal sequences, in the trickmode playback code. (If the HD movie sequence condition seems complicated, it is because it has to make sure not to be accidentally triggered by normal movies.)
2008-11-08add (tune)simulate support to some functionsghost
2008-11-06Patch by Anders Holst:Felix Domke
* Undo "sparse-AP-fix" At March 25 a patch was checked in that makes sure that AP:s closer than half a second from each other are filtered away. I don't know the exact purpose of this fix, but I don't think it is a good idea: Besides being the cause of bugs 4 and 5 above, all seek operations are based on the AP:s, and it is a pity to cripple the precision here. And for example, when cutting movies it is important to be able to reach the right GOP boundary. (And the next fix relies on all boundaries being available.) (If you wonder, bug 5 was caused by a destructive interaction of this with the discontinuity handling.) * Hit GOP:s somewhat before GOP start It turns out that if you jump exactly to the GOP start, then that GOP is nevertheless skipped and playback starts from the GOP thereafter. However, if you jump to (at least) one frame before the GOP start, playback starts from that GOP. I don't know if this is a bug in the driver or elsewhere, but the best I can do is this workaround: Hit the GOP by jumping to half a GOP length before the GOP start. (By scanning the ts file it is of course possible to find the exact frame boundaries, but why bother since anywhere between the previous GOP start and the previous frame start will do.) Similarly, to show the first frame of a GOP, a few more frames must be included. Therefore, add half a GOP at the end of each source span. * Jump over discontinuities during AP relative seek The above two fixes together *almost* take care of bugs 1 and 2 above. Now seekRelative(1) moves one forward and seekRelative(-1) one backwards. However, at discontinuities they may get stuck. This is remedied by an extra if statement to check for discontinuities when stepping throught the AP:s in AP relative seek. * Stop after last source span In the function eDVBChannel::getNextSourceSpan there was no code to take care of the case when the seeked-to point is after the last source span. Currently it just goes on until the movie ends. I have added code for this, which takes care of bug 3, and as a fortunate bonus effect bug 6 too. (But please check my code here, I hope I can use current_offset the way I do, and return 0 size when it should stop.)
2008-10-29also use refcounting for eTimersAndreas Monzner
its now no more possible directly to call new eTimer .. or to embedded eTimer. to create a eTimer now eTimer::create must be used... to delete you must call ->AddRef() after timer creation and ->Release when the timer is no more needed. Or use ePtr<eTimer> to store the timer reference.. then its enough to set the ePtr<eTimer> object to 0 when the timer is no more needed
2008-10-20small cleanupAndreas Monzner
2008-10-03add code to simulate recordings (with faked frontends)Andreas Monzner
now its more easy to build a timer overlap detection or similar
2008-07-17length() -> size()Andreas Monzner
2008-07-17add own demux policy for dm8000 which now have 5 demux devices one for eachAndreas Monzner
tuner and one for playback
2008-06-13after DECLARE_REF now all is private.. not publicAndreas Monzner
dont export AddRef, Release, ptrref and grabRef to python some cleanups
2008-06-08m_pvr_thread might be zero, handle this correctly.Felix Domke
2008-06-02dont use and show input power measurement (for rotor running detection),Andreas Monzner
when the hardware doesn't support it
2008-03-25change get/setData to use long instead of int, to match pointer size on all ↵Andreas Oberritter
systems
2008-03-10(disabled) timebase change mode for better trickmode timingFelix Domke
2008-01-24pass more information about why a channel alloc fails, and display proper ↵Felix Domke
error message (instead of "no free tuner")
2007-11-12add possibility to set tuner priority for alternative services in CustomizeAndreas Monzner
menu (just with expert usage level)
2007-10-06write leaveTransponder message to camd.socketAndreas Monzner
2007-09-04ASSERT m_pvr_thread to be aliveFelix Domke
2007-07-19fix error handlingAndreas Monzner
2007-06-19fix seeking into cut areas, emulate AP relative seeking when no APs ↵Felix Domke
available by seeking back one second
2007-06-14use read/write lock for eCueSheetAndreas Monzner
2007-06-08hopefully fix "secondary cable from motorized tuner" settingAndreas Monzner
some code cleanups now link tuners in all directions should be possible
2007-06-06some fixes for empty tuner slots (use slotid instead of dvb api frontendAndreas Monzner
device id) replace some hacks with some better hacks ;)
2007-05-24add debugFelix Domke
2007-05-20properly use 'long long' for aligned_start, aligned_endFelix Domke
2007-05-18fix return value of align to be 64bitFelix Domke
2007-05-17fix playback when no .cuts are availableFelix Domke
2007-05-05fix memsetFelix Domke