summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
AgeCommit message (Collapse)Author
2002-12-22flush/seeking overhauledMiguel Freitas
- move frame discarding to inside the output loopss. it is much safer to manipulate fifos from there avoiding any races. - do not reject audio frames because vpts is smaller than previous. it might happen on seeking but it's ok, because the sound driver may have being flushed too. - fix xine_demux_flush_engine so it doesn't call output flush too early - remove scr adjusting please report any problems... CVS patchset: 3639 CVS date: 2002/12/22 23:30:29
2002-12-21xine_get_pos_length should return zero if current position is unknown. thisMiguel Freitas
prevents the gui from drawing slider at wrong positions during seek. CVS patchset: 3609 CVS date: 2002/12/21 16:13:43
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-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-12-06- add still frame hintMiguel Freitas
- improves playback on slower systems since we avoid false triggering of still frames and duplicating images CVS patchset: 3447 CVS date: 2002/12/06 18:38:35
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-25less noiseMichael Roitzsch
CVS patchset: 3365 CVS date: 2002/11/25 12:36:05
2002-11-22do not play with the clock any more, we have dedicated flush functions for ↵Michael Roitzsch
that now (This should fix Daniels MP3 problems, since the end of one stream would have adjusted the global clock thus affecting all other streams.) CVS patchset: 3334 CVS date: 2002/11/22 16:23:58
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-17bring eject back: always keep the last input plugin class that supports ejectingMichael Roitzsch
CVS patchset: 3280 CVS date: 2002/11/17 17:41:45
2002-11-14Fix memory leaksEwald Snel
CVS patchset: 3260 CVS date: 2002/11/14 19:45:01
2002-11-11fix snapshot colorsMiguel Freitas
CVS patchset: 3226 CVS date: 2002/11/11 00:54:08
2002-11-09beginnings of the get_video/audio_frame apiGuenter Bartsch
CVS patchset: 3215 CVS date: 2002/11/09 23:22:32
2002-11-05Resets stream_length when opening a new stream.Thibaut Mattern
xine_get_pos_length should work a bit better with mp3. CVS patchset: 3195 CVS date: 2002/11/05 23:29:48
2002-11-02add volume and compression settings to MRLs stream_setup partMichael Roitzsch
CVS patchset: 3145 CVS date: 2002/11/02 11:34:12
2002-11-02since the order is new----->open-->play--\Michael Roitzsch
dispose<-close<-stop<-/ we should call close in dipose instead of stop CVS patchset: 3144 CVS date: 2002/11/02 10:51:01
2002-10-31new syntax for MRLsMichael Roitzsch
basic changes: - MRLs are a subset of URIs - important new delimiter is # - everything before the # will be passed to the input plugin - after the # you can add several ;-separated stream parameters: novideo - video will be ignored noaudio - audio will be ignored nospu - spus will be ignored demux:... - specify the demuxer to use (e.g. demux:mpeg_block) entry:value - assign any config entry a new value CVS patchset: 3112 CVS date: 2002/10/31 16:58:12
2002-10-30- add mutex on seeking and avoid overuse of sched_yieldMiguel Freitas
CVS patchset: 3102 CVS date: 2002/10/30 17:51:13
2002-10-29i don't think this lock is needed (read-only access)Guenter Bartsch
CVS patchset: 3097 CVS date: 2002/10/29 21:31:02
2002-10-29engine improvementsMichael Roitzsch
- output fifo flushing - more sophisticated discontinuity handling - seek improvement by waiting for at least one frame CVS patchset: 3089 CVS date: 2002/10/29 16:02:43
2002-10-29reset metainfo on stream closeGuenter Bartsch
CVS patchset: 3086 CVS date: 2002/10/29 03:31:38
2002-10-29log outputGuenter Bartsch
CVS patchset: 3083 CVS date: 2002/10/29 01:55:44
2002-10-28fix a deadlockGuenter Bartsch
CVS patchset: 3075 CVS date: 2002/10/28 20:15:56
2002-10-28do not flush on xine_handle_stream_endMiguel Freitas
CVS patchset: 3064 CVS date: 2002/10/28 11:19:51
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-27return of ogg and vorbis, began implementing verbosity parameterGuenter Bartsch
CVS patchset: 3034 CVS date: 2002/10/27 01:52:15
2002-10-26handle demuxers that fail to startGuenter Bartsch
CVS patchset: 3028 CVS date: 2002/10/26 22:08:08
2002-10-26Removed trailing white spacesStephen Torri
CVS patchset: 3006 CVS date: 2002/10/26 03:56:31
2002-10-23remove superflous xine_scan_plugins function, load plugins in xine_init ↵Guenter Bartsch
after frontends have loaded the configfile CVS patchset: 2979 CVS date: 2002/10/23 22:23:46
2002-10-23input_dvd.c now listens for keyboard events from xine-ui.James Courtier-Dutton
CVS patchset: 2962 CVS date: 2002/10/23 11:44:30
2002-10-21Enable DVD SPU subtitles.James Courtier-Dutton
CLUT and timing do not seem to be working well yet. CVS patchset: 2897 CVS date: 2002/10/21 12:10:58
2002-10-20stop engine when necessary, start metronom only once - but in the right ↵Guenter Bartsch
place, #ifdef LOG introduction in xine.c CVS patchset: 2894 CVS date: 2002/10/20 23:55:23
2002-10-19seeking in public api is now millisecond accurate (sorry, forgot that one ↵Guenter Bartsch
but it was agreed it should be that way), events contain a timestamp now CVS patchset: 2864 CVS date: 2002/10/19 21:23:52
2002-10-18my very first try at the new streams api. some fixes to it (uninitializedMiguel Freitas
stuff and plugins being instatiated several times). actually i got it to play something (have not tried sound though). CVS patchset: 2845 CVS date: 2002/10/18 04:04:10
2002-10-16forgot to alloc event queueGuenter Bartsch
CVS patchset: 2840 CVS date: 2002/10/16 21:23:59
2002-10-15added missing stream end handling functionGuenter Bartsch
CVS patchset: 2834 CVS date: 2002/10/15 16:10:18
2002-10-14small bugfixGuenter Bartsch
CVS patchset: 2829 CVS date: 2002/10/14 18:24:59
2002-10-14introduction of xine_stream_t and async xine events - all still in developementGuenter Bartsch
CVS patchset: 2828 CVS date: 2002/10/14 15:46:48
2002-10-12Discard buffered audio driver data after the demuxer is stopped & closed.Juergen Keil
CVS patchset: 2820 CVS date: 2002/10/12 19:22:05
2002-10-12Make flush of audio work properly.James Courtier-Dutton
CVS patchset: 2813 CVS date: 2002/10/12 10:36:50
2002-10-03Slightly reorganize xine_exit, so that "xine --help" does not segfault any more.Juergen Keil
xine --help is using xine_exit() on a structure that has not been xine_init'ed. CVS patchset: 2776 CVS date: 2002/10/03 17:46:29
2002-09-22API review part IMichael Roitzsch
- bring our beloved xine_t * back (no more const there) - remove const on some input plugin functions where the data changes with media (dvd, ...) changes and is therefore not const CVS patchset: 2740 CVS date: 2002/09/22 14:29:40
2002-09-18fix reentrant in event listeners by only allowing one event per typeMichael Roitzsch
CVS patchset: 2689 CVS date: 2002/09/18 15:37:11
2002-09-18first steps towards implementing stream/meta infoGuenter Bartsch
CVS patchset: 2680 CVS date: 2002/09/18 00:51:33
2002-09-15Memory leak fixes, using a slightly modified version of the patch fromJames Courtier-Dutton
ewald@rambo.its.tudelft.nl CVS patchset: 2666 CVS date: 2002/09/15 11:35:08
2002-09-13introducing meta information and some audio controls - but nothing is really ↵Guenter Bartsch
implemented yet, so please move on, nothing to see here... CVS patchset: 2660 CVS date: 2002/09/13 18:25:22
2002-09-11- more programming guidelines in public xine headerGuenter Bartsch
- make most char pointers const in public api - simpler get_spu_lang / get_audio_lang signature CVS patchset: 2651 CVS date: 2002/09/11 17:41:07
2002-09-10- don't return failure on successMichael Roitzsch
- xine-ui now calls xine_get_pos_length with NULL pointers (the cvslog missed that again) CVS patchset: 2646 CVS date: 2002/09/10 14:07:21
2002-09-09when reading in the config file the logo callback can be called beforeuid86226
metronom is initialized CVS patchset: 2640 CVS date: 2002/09/09 20:43:20
2002-09-09Remove so const abuse ;-)Daniel Caujolle-Bert
CVS patchset: 2637 CVS date: 2002/09/09 19:24:48