summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpeg_block.c
AgeCommit message (Collapse)Author
2003-03-07Recognize VCD and CVD subtitle streams.Rocky Bernstein
Changes courtesy of Julio Sánchez <j.sanchez AT terra.es> CVS patchset: 4366 CVS date: 2003/03/07 22:19:20
2003-02-15do not do discontinuity detection on SPU packet's PTS, these can be way offMichael Roitzsch
fixes "Dances with Wolves" German RC2 playback stutter CVS patchset: 4168 CVS date: 2003/02/15 18:27:29
2003-02-13someone must have forgot this debug code hereMiguel Freitas
CVS patchset: 4147 CVS date: 2003/02/13 23:54:25
2003-01-26no need for <pthread.h> or <sched.h>Mike Melanson
CVS patchset: 4009 CVS date: 2003/01/26 15:56:21
2003-01-23preparations for beta3:Miguel Freitas
- disable debug messages in flac decoder - review demuxer mimetypes - use fourcc internal functions in demux_real CVS patchset: 3995 CVS date: 2003/01/23 16:11:56
2003-01-11Fix 'crackling sound' at the beginning of some MPEG filesEwald Snel
CVS patchset: 3867 CVS date: 2003/01/11 11:29:22
2003-01-10have length in miliseconds tooMiguel Freitas
fix some intermediate calculation CVS patchset: 3856 CVS date: 2003/01/10 21:10:50
2003-01-10internal input_time is miliseconds nowMiguel Freitas
CVS patchset: 3851 CVS date: 2003/01/10 11:57:15
2003-01-04add 2 demuxer groups (audio and games) with multiple plugins at theMiguel Freitas
same shared library (reduce loading time). demuxer api increased so old ungrouped plugins won't be loaded. Bill Fink patch to enable playback of live rawdv streams. obs: non-regular files are now supposed non-seekable. CVS patchset: 3771 CVS date: 2003/01/04 14:48:11
2003-01-03Ooops meant to protect with "LOG"Rocky Bernstein
CVS patchset: 3760 CVS date: 2003/01/03 13:32:56
2003-01-03Correct misleading message about estimating bit rate. It's not doneRocky Bernstein
and probably shouldn't be done by default and led to problems when it was done! And printf output is supposed to be "protected" by #ifdef. CVS patchset: 3759 CVS date: 2003/01/03 13:21:19
2002-12-21- add buf->decoder_info_ptr: portability for systems where pointer hasMiguel Freitas
different sizeof than integer. - add extra_info structure to pass informations from input/demuxers down to the output frame. this can be used, for example, to pass the frame number of a frame (when known by decoder). also, immediate benefict is that we now have a slider which really shows the current position of the playing stream. new fields can be added to extra_info keeping binary compatibility - bumpy everybody's api versions CVS patchset: 3603 CVS date: 2002/12/21 12:56:44
2002-12-15Disable demux_mpeg_block_estimate_rate. This should be used only ifRocky Bernstein
the mux rate is found faulty since 1. It has problems of its own. 2. It does more I/O and work than just using the mux rate 3. The protocol way should be given the first chance. CVS patchset: 3535 CVS date: 2002/12/15 04:58:07
2002-12-15demux_mpeg_block_estimate_rate():Rocky Bernstein
Don't read outside of region that we are supposed to get bitrate estimate of. Bound the number of reads and samples (which also bounds the time spent in this routine. CVS patchset: 3530 CVS date: 2002/12/15 01:05:36
2002-12-08- get xine_demux_control_headers_done() out of the demuxers.Miguel Freitas
i want to make sure we have a 1:1 mapping of sending and waiting for BUF_CONTROL_HEADERS_DONE.) - bring asf demuxer into a saner state when seeking. that fixes the problem of wrong audio pts and hanging audio_out on huge sleeps (at least for asf). CVS patchset: 3465 CVS date: 2002/12/08 21:43:50
2002-11-28Extended demuxer API with the methods get_capabilities() and ↵Peter Liljenberg
get_optional_data(). Bumped API version to 18. Added calls to these methods in xine_get_{spu,audio}_lang(). Added DVBSUB support in demux_ts.c CVS patchset: 3386 CVS date: 2002/11/28 10:21:05
2002-11-20engine modifications to allow post plugin layer:Michael Roitzsch
* new public output interface xine_{audio,video}_port_t instead of xine_{ao,vo}_driver_t, old names kept as aliases for compatibility * modified the engine to allow multiple streams per output * renaming of some internal structures according to public changes * moving SCR out of per-stream-metronom into a global metronom_clock_t residing in xine_t and therefore easily available to the output layer * adapting all available plugins (note to external projects: the compiler will help you a lot, if a plugin compiles, it is adapted, because all changes add new parameters to some functions) * bump up all interface versions because of xine_t and xine_stream_t changes CVS patchset: 3312 CVS date: 2002/11/20 11:57:38
2002-11-18resort the checks so that DVD playback finally worksMichael Roitzsch
(without eating the first stillframes) CVS patchset: 3293 CVS date: 2002/11/18 13:07:29
2002-11-18getting rid of obviously unused INPUT_CAP_VARIABLE_BITRATEMichael Roitzsch
fix detection for DVD input as suggested by guenter CVS patchset: 3290 CVS date: 2002/11/18 11:44:55
2002-11-17check for seekable instead of preview flagGuenter Bartsch
CVS patchset: 3279 CVS date: 2002/11/17 17:32:11
2002-11-17This one is the reason why initial stillframes on DVDs do not show up.Michael Roitzsch
They are eaten by the preview, but the DVD input plugin is not preview capable. CVS patchset: 3278 CVS date: 2002/11/17 16:33:39
2002-11-16send the NAV packet AFTER a discontinuity, not BEFOREMichael Roitzsch
(I have a DVD - Back to the Future RC2 - where there are stillframes, that are only detectable by the fact, that the audio track is still playing. No DVD still flags are set at all. So the player should play the audio up to the end and then release the still and go on with decoding. This in fact does already work, since because of the discontinuity after the still, metronom will block video decoder thread until audio is finished, except for the NAV packet, which is send BEFORE the discontinuity and therefore comes far too early. Result is, that the menu buttons are already laid out and reacting according to the next menu, although the image of the one before is still shown.) CVS patchset: 3272 CVS date: 2002/11/16 12:22:15
2002-11-15Fix more memory leaksEwald Snel
CVS patchset: 3266 CVS date: 2002/11/15 17:59:47
2002-11-15cleaning up spu types. now avi subtitles may be enabled again.Miguel Freitas
(+ missed ffmpeg/dv patch) CVS patchset: 3263 CVS date: 2002/11/15 00:20:31
2002-11-10fix wrong abs macro; many thanks to James Slorach for finding this nasty,Michael Roitzsch
well-hidden bug CVS patchset: 3220 CVS date: 2002/11/10 13:33:13
2002-11-09beginnings of the get_video/audio_frame apiGuenter Bartsch
CVS patchset: 3215 CVS date: 2002/11/09 23:22:32
2002-11-01new content detection method METHOD_EXPLICIT for demuxer given in MRLMichael Roitzsch
CVS patchset: 3126 CVS date: 2002/11/01 17:41:02
2002-10-28hey, i want to join xine breakage party! (what do you wanna break today? tm)Miguel Freitas
- time to cleanup demuxer mess... no more pthread stuff on any demuxer. of course i haven't tested all demuxers, but they at least compile. (sorry Mike, we will need to move a few variables around to make most of your demuxers work again - not big deal i think) - make api more consistent by providing xine_open/xine_close and xine_start/xine_stop. CVS patchset: 3058 CVS date: 2002/10/28 03:24:42
2002-10-27fix extensions detectionGuenter Bartsch
CVS patchset: 3055 CVS date: 2002/10/27 22:56:08
2002-10-27return of ogg and vorbis, began implementing verbosity parameterGuenter Bartsch
CVS patchset: 3034 CVS date: 2002/10/27 01:52:15
2002-10-27some demuxers still don't report their status correctlyGuenter Bartsch
CVS patchset: 3032 CVS date: 2002/10/27 00:01:13
2002-10-26make demuxers return their status so xine engine can check if demuxers fail ↵Guenter Bartsch
to send headers CVS patchset: 3026 CVS date: 2002/10/26 22:00:49
2002-10-26don't forget to call stop during disposeMichael Roitzsch
CVS patchset: 3023 CVS date: 2002/10/26 21:47:29
2002-10-26fix strategy constantsThibaut Mattern
CVS patchset: 3007 CVS date: 2002/10/26 10:02:42
2002-10-26send preview buffers, set stream_info, make demux_qt stay away from block ↵Guenter Bartsch
devices CVS patchset: 2999 CVS date: 2002/10/26 02:32:52
2002-10-26Remove assert(0), left over from testing.James Courtier-Dutton
dispose of event queue. CVS patchset: 2998 CVS date: 2002/10/26 02:12:27
2002-10-25remove obviously obsolete INPUT_CAP_CLUT and INPUT_OPTIONAL_DATA_CLUTMichael Roitzsch
CVS patchset: 2997 CVS date: 2002/10/25 15:36:16
2002-10-23re-enable demux_mpegJuergen Keil
CVS patchset: 2958 CVS date: 2002/10/23 10:08:48
2002-10-22Update input_dvd.c to new api.James Courtier-Dutton
Plays DVDs now, but not menu buttons work yet. CVS patchset: 2933 CVS date: 2002/10/22 07:36:05
2002-10-22Changed non standard comment (//).Stephen Torri
Compiler warnings to be fixed: demux_asf.c: In function `demux_asf_send_headers': demux_asf.c:1272: warning: implicit declaration of function `strdup' demux_asf.c:1272: warning: assignment makes pointer from integer without a castdemux_asf.c:1274: warning: assignment makes pointer from integer without a castdemux_asf.c:1276: warning: assignment makes pointer from integer without a castdemux_asf.c: In function `open_plugin': demux_asf.c:1453: warning: implicit declaration of function `strncasecmp' demux_asf.c: In function `demux_asf_send_headers': demux_asf.c:1226: warning: `bitrate' might be used uninitialized in this function CVS patchset: 2905 CVS date: 2002/10/22 04:23:19
2002-10-18Enable liba52 for new api.James Courtier-Dutton
CVS patchset: 2847 CVS date: 2002/10/18 12:28:09
2002-10-18demux_mpeg_block compiles, but does not output any audio or video yet.James Courtier-Dutton
CVS patchset: 2846 CVS date: 2002/10/18 07:13:10
2002-10-12While the demuxer mutex is unlocked, relinquish the processor in the mainJuergen Keil
demuxer loop, otherwise (on solaris) demux_*_stop() has no chance to lock the mutex and change the demuxer status variable for interrupting the demuxer. Fixes xine_stop() problems on solaris. CVS patchset: 2815 CVS date: 2002/10/12 17:11:58
2002-10-08Fix a segfault when we reach the end of the playlist.James Courtier-Dutton
strdup segfaults if passed a NULL. CVS patchset: 2802 CVS date: 2002/10/08 10:29:42
2002-09-24prevent pts based wrap detections after we had a nav-detectedMichael Roitzsch
discontinuity CVS patchset: 2745 CVS date: 2002/09/24 13:10:25
2002-09-19Update configure.in for new libdvdnav version.James Courtier-Dutton
Get DVD support to compile. FIXME: We need to sort out the nav_types.h include file. Basically, Which version of it should we use ? CVS patchset: 2704 CVS date: 2002/09/19 05:01:57
2002-09-18make new plugin loader check api versions, fix api versions for adapted ↵Guenter Bartsch
demux plugins, remove dvd plugin from build while it doesn't compile CVS patchset: 2696 CVS date: 2002/09/18 22:12:16
2002-09-18first steps towards implementing stream/meta infoGuenter Bartsch
CVS patchset: 2680 CVS date: 2002/09/18 00:51:33
2002-09-07one more 'const' and independent x/y zooming parametersMichael Roitzsch
CVS patchset: 2625 CVS date: 2002/09/07 20:09:28
2002-09-05remove plugin's private priority and interface membersMichael Roitzsch
adapt some more decoders CVS patchset: 2618 CVS date: 2002/09/05 22:18:50