summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpeg_block.c
AgeCommit message (Collapse)Author
2008-12-31check number of bytes read by input->read in demuxing mpeg block/pesMatthias Hopf
input->read may return negative error codes or read less than we want so we should check for the right return value instead of just not 0
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-19Make get_mrl return a const char * too.Diego 'Flameeyes' Pettenò
CVS patchset: 8524 CVS date: 2007/01/19 01:05:24
2007-01-19Make get_description get_identifier get_extensions get_mimetypes return a ↵Diego 'Flameeyes' Pettenò
constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too. CVS patchset: 8523 CVS date: 2007/01/19 00:26:39
2006-10-16Fixed several warnings (but warnings due to APIs not solved).František Dvořák
CVS patchset: 8344 CVS date: 2006/10/16 22:18:24
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-17Fix strict aliasing rules breakages where possible, enable ↵Diego 'Flameeyes' Pettenò
-fno-strict-aliasing where the breakage is unresolvable, and not enable it globally (decreases performances). CVS patchset: 8048 CVS date: 2006/06/17 15:20:56
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2005-10-14input plugin time seeking patch.Miguel Freitas
hopefuly somebody will be able to help fixing the mess i did in dvdnav ;) CVS patchset: 7759 CVS date: 2005/10/14 21:02:16
2005-02-06Added node_plugin_t pointer to the demux struct.Thibaut Mattern
Incremented demux API version. This is needed to unload plugins. CVS patchset: 7385 CVS date: 2005/02/06 15:26:00
2004-12-17pts fixes by Petri Hintukainen <phintuka@cc.hut.fi>Miguel Freitas
CVS patchset: 7269 CVS date: 2004/12/17 20:08:44
2004-07-11better detection by extension for mpeg_block (thanks to James Slorach)Michael Roitzsch
CVS patchset: 6786 CVS date: 2004/07/11 10:43:01
2004-06-13implement steps 1, 2, 3 and 4 of the seeking proposal:Miguel Freitas
http://article.gmane.org/gmane.comp.video.xine.devel/9532 it is now up to demuxers to decide what the 0..65535 position means. demuxers tested: ogg, voc, flac, rm, asf, vqa, vob, avi, y4m, au, mov, ts, mp3, mpg, wav, ra, mve CVS patchset: 6686 CVS date: 2004/06/13 21:28:52
2004-05-16Priority support.Thibaut Mattern
0 for "raw" demuxers 10 for "normal" demuxers CVS patchset: 6553 CVS date: 2004/05/16 18:01:26
2004-04-22it seems that mux rate was wrong for all mpeg2 demuxers.Miguel Freitas
(somebody please double check) CVS patchset: 6425 CVS date: 2004/04/22 21:30:10
2004-01-12it seems i forgot to commit the api increase (demux/decoder). weird.Miguel Freitas
CVS patchset: 6030 CVS date: 2004/01/12 17:35:14
2004-01-04this->warned is not used anywhere, so it can goMichael Roitzsch
CVS patchset: 5990 CVS date: 2004/01/04 17:33:32
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-16New stream/meta info (safe) stuff.Daniel Caujolle-Bert
BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42
2003-11-16A new and hopefully clearer explanation of how to apply PTS values in ↵James Courtier-Dutton
streams from DVDs. The liba52 sync code should be made to create the correct output A52 frames with correct PTS values attached. CVS patchset: 5756 CVS date: 2003/11/16 22:20:08
2003-11-16remove empty get_frame stuff and fix some warningsMichael Roitzsch
CVS patchset: 5750 CVS date: 2003/11/16 15:31:51
2003-11-15change demux api:Miguel Freitas
- demuxers should not access stream->demux_thread_running - remove deprecated get_video_frame/got_video_frame_cb CVS patchset: 5732 CVS date: 2003/11/15 14:00:35
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-30use info_helper functions.Thibaut Mattern
CVS patchset: 5638 CVS date: 2003/10/30 00:49:07
2003-09-02leaksMiguel Freitas
CVS patchset: 5333 CVS date: 2003/09/02 18:59:06
2003-08-01assert() is not acceptable for handling stream errorsMiguel Freitas
CVS patchset: 5229 CVS date: 2003/08/01 17:06:32
2003-07-25small housekeeping: demuxer api seeks in milisecondsMiguel Freitas
CVS patchset: 5211 CVS date: 2003/07/25 21:02:04
2003-06-18extract DTS (decoder timestamps) from the MPEG stream,Michael Roitzsch
the DXR3 decoder can use them to improve sync (this removes a magic number from the DXR3 decoder) CVS patchset: 5065 CVS date: 2003/06/18 13:03:44
2003-06-07Fix for message "demux_mpeg_block: error! 00 00 00 (should be 0x000001)"James Courtier-Dutton
when playing some VCDs. CVS patchset: 5012 CVS date: 2003/06/07 14:01:38
2003-05-26Win32 cleanup (a couple things would not build correctly). Also added a ↵Tim Champagne
README file for building instructions. CVS patchset: 4946 CVS date: 2003/05/26 13:57:51
2003-05-20This adds cdda support for Win32. Also fixed the demuxer mpeg block build ↵Tim Champagne
for Win32. Lastly fixed and issue with launching xineui from a Cygwin shell. There is one small problem known with cdda under Windows and it appears that some songs can start approx 1 second early or late. CVS patchset: 4880 CVS date: 2003/05/20 01:23:56
2003-05-18Add some info.James Courtier-Dutton
CVS patchset: 4872 CVS date: 2003/05/18 17:41:37
2003-05-18Remove some assert() statements.James Courtier-Dutton
Should fix playing of DVD+RW disc recorded with a Philips DVD recorder. Problem reported by "Gert Vervoort". CVS patchset: 4871 CVS date: 2003/05/18 17:37:33
2003-05-15That comment suits better here. It is about discontiuity detection, so it shouldMichael Roitzsch
be close to the funtion doing this. CVS patchset: 4856 CVS date: 2003/05/15 20:16:42
2003-05-12We can now play from the pvr250 in real time.James Courtier-Dutton
Make sure the pvr250 is set to output in DVD mode and not PS mode. In DVD mode, we should use demux_mpeg_block. In PS mode, we should use demux_mpeg. So, here I am using demux_mpeg_block. I use the following MRL: - xine pvr://usr/local/pvr/ So that the input_pvr.c puts a tempory file in /usr/local/pvr/ One can then use ivtv utils like ptune to change channels without restarting xine. CVS patchset: 4837 CVS date: 2003/05/12 23:30:49
2003-05-12New demuxer now works fine with both VCDs and DVDs.James Courtier-Dutton
CVS patchset: 4833 CVS date: 2003/05/12 12:28:20
2003-05-11Revert to last known version that works for Video CD stills. As farRocky Bernstein
as I know it is no *worse* for DVDs. CVS patchset: 4824 CVS date: 2003/05/11 14:54:20
2003-05-11someone forgot this is C and not C++Mike Melanson
CVS patchset: 4823 CVS date: 2003/05/11 14:48:02
2003-05-11Minor fixes.James Courtier-Dutton
CVS patchset: 4819 CVS date: 2003/05/11 11:32:31
2003-05-10Enable the Encrypted/scrambled pop-up when playing DVDs.James Courtier-Dutton
There should not be any bogus pop-ups now. CVS patchset: 4818 CVS date: 2003/05/10 23:11:06
2003-05-10Handle padding streams seen on some VCDs.James Courtier-Dutton
CVS patchset: 4817 CVS date: 2003/05/10 21:28:13
2003-05-10Re-write of demux_mpeg_block.James Courtier-Dutton
DVDs play fine, but VCDs need testing. Todo: remove asserts and report nice error messages back to the user. This should fix the VCD problem, but "padding" still neads to be implemented. So, if we see a "padding" stream, we currently assert(0). This will at least prove that the VCD input plugin does not have to touch the scrambling tag. CVS patchset: 4816 CVS date: 2003/05/10 21:14:44
2003-05-07Even better test for PES scrambling.Rocky Bernstein
CVS patchset: 4792 CVS date: 2003/05/07 02:16:59
2003-05-07Disable PES scrambling control check pending decision as to what toRocky Bernstein
ultimately do. The previous code, erroneously reports that Video CD stills, especially those that are looped, might be scrambled and terminates the stream - not nice. CVS patchset: 4791 CVS date: 2003/05/07 02:04:31
2003-05-02re-revert mpeg demuxer changes (mpeg x mpeg_block)Miguel Freitas
CVS patchset: 4753 CVS date: 2003/05/02 20:48:35