summaryrefslogtreecommitdiff
path: root/src/xine-engine/metronom.h
AgeCommit message (Collapse)Author
2003-11-20"Anti audio fifo null" patch ;)Thibaut Mattern
Makes things a bit more symetric: - the audio fifo (demuxer->decoder) can't be NULL - the video driver can be NULL A dummy fifo (5 buffers) is used if the audio driver or video driver is NULL. Audio frontends (rhythmbox, seedeexeen, quark) do not need to instanciate a video driver anymore. CVS patchset: 5767 CVS date: 2003/11/20 00:42:14
2003-11-16Now isn't that amazing? xine-lib actually compiles with the metronomMichael Roitzsch
internals hidden! We are good! ;) CVS patchset: 5754 CVS date: 2003/11/16 15:44:03
2003-11-16introduce the slave metronom concept (Thibaut, Miguel: it's a bit differentMichael Roitzsch
from what we discussed, details on xine-devel) metronom holds a master metronom pointer now and uses this master to match its syncing CVS patchset: 5742 CVS date: 2003/11/16 12:15:21
2003-11-15* making metronom xine_stream_t independentMichael Roitzsch
* using xprintf() and lprintf() inside metronom * prebuffer is now a metronom option * some small structure cleanup CVS patchset: 5737 CVS date: 2003/11/15 20:43:11
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-09-13fix for duplicated pts by Simon Truss <simon@bigblue.demon.co.uk>Miguel Freitas
CVS patchset: 5363 CVS date: 2003/09/13 15:31:53
2003-05-20public header cleanup:Michael Roitzsch
* regulate mutual inclusion based on XINE_COMPILE * src/xine-engine/spu_decoder.h was unused -> make it the spu decoder API header and remove src/libspudec/spu_decoder_api.h * mark some xine_stream_t members as unused for next cleanup CVS patchset: 4883 CVS date: 2003/05/20 13:50:55
2003-05-15add broadcasterMiguel Freitas
CVS patchset: 4857 CVS date: 2003/05/15 20:23:16
2003-05-06Thibaut asked me to revert his latest patchMiguel Freitas
also set some more reasonable defaults for frame skipping (12000 pts prebuffering, at least 2 frames in advance to not skip). CVS patchset: 4786 CVS date: 2003/05/06 20:50:11
2003-04-25header beautificationMichael Roitzsch
CVS patchset: 4675 CVS date: 2003/04/25 15:34:44
2003-04-23faster seeking (heavily based on Thibaut's patch)Miguel Freitas
rework xine_play_internal, wait for first frame after seek CVS patchset: 4660 CVS date: 2003/04/23 14:33:01
2003-04-20merging in win32 portGuenter Bartsch
CVS patchset: 4643 CVS date: 2003/04/20 21:13:21
2003-03-27- demux_avi: do not set input_pos/time on audio buffers. otherwise ↵Miguel Freitas
non-interlaved or bad interleaved files show slider problems - make metronom prebuffer configurable. see metronom.h for comments. CVS patchset: 4501 CVS date: 2003/03/27 18:56:54
2003-01-13- add option to adjust spu sync (works for both dvd and external subtitles)Miguel Freitas
- implement some master/slave stuff - implement subtitle mrl: xine movie.mpg#subtitle:whatever.sub CVS patchset: 3887 CVS date: 2003/01/13 02:15:07
2003-01-11brand-new external subtitles support. (yes, it works!)Miguel Freitas
tested with asf, avi and mpeg but any media should work. todo: - clean up the master/slave stuff and public api. - implement seeking on demux_sputext.c (it must seek to closest subtitle) - general cleaning up and bugfixing CVS patchset: 3860 CVS date: 2003/01/11 03:47:01
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-12merge metronom's improvements (inform decoders about discontinuities)Miguel Freitas
http://sourceforge.net/mailarchive/forum.php?thread_id=1297475&forum_id=7131 CVS patchset: 3250 CVS date: 2002/11/12 18:40:50
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-28New way to handle streams with invalid img_duration (eg some mpeg streams).Thibaut Mattern
The concept in simple : compute duration using pts. Here the formula : duration = ( pts - last_pts ) / (nb img between the 2 pts) I've tested with libmpeg2 and ffmpeg. It works. CVS patchset: 3061 CVS date: 2002/10/28 07:53:52
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-09-05Whoops, committed the experimental metronom stuff. Taking it out again.Michael Roitzsch
(I should go to sleep now.) CVS patchset: 2619 CVS date: 2002/09/05 22:29:17
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
2002-06-29Use an other method for DISC_STREAMSEEK :Thibaut Mattern
force the detection of an audio jump instead of trying to manualy reintroduce a diff, it's looks better. It fixes also the sync problem at start, it's magic ;-) It's only used by the avi demuxer now. CVS patchset: 2175 CVS date: 2002/06/29 14:32:36
2002-06-20correct comment for DISC_STREAMSEEK after Thibaut MatternMichael Roitzsch
enlighted me about how it works CVS patchset: 2109 CVS date: 2002/06/20 19:48:23
2002-06-20add some documentation for new discontinuity DISC_STREAMSEEKMichael Roitzsch
CVS patchset: 2106 CVS date: 2002/06/20 14:51:26
2002-06-19Add a new discontinuity for seeking, and a flag to authorize a big ao_fill_gap.Thibaut Mattern
CVS patchset: 2097 CVS date: 2002/06/19 23:37:46
2002-04-24Some more adjustments to make dvd menus work better.James Courtier-Dutton
CVS patchset: 1774 CVS date: 2002/04/24 20:26:06
2002-04-07fix bug where metronom_got_audio_samples() is called beforeMiguel Freitas
in_discontinuity was set. CVS patchset: 1693 CVS date: 2002/04/07 12:09:38
2002-04-01latest dxr3 fixes from Michael Roitzsch.Miguel Freitas
removed METRONOM_DENY_BACKWARD_ADJUST hack. CVS patchset: 1653 CVS date: 2002/04/01 12:09:08
2002-03-31patches by Michael Roitzsch for dxr3 compatibility: introduce a new metronomMike Lampard
option deny_backward_adjust, which, when set, only allows positive adjustments to vpts_offset. CVS patchset: 1649 CVS date: 2002/03/31 14:36:42
2002-03-26sound card clock drift patchMiguel Freitas
CVS patchset: 1635 CVS date: 2002/03/26 01:47:17
2002-03-23moved network buffering to a seperate file so all network/stream input pluginsGuenter Bartsch
can share that code. added ability to control scr adjustability to metronom (get/set options) so strict_scr is no longer needed. CVS patchset: 1620 CVS date: 2002/03/23 18:56:55
2002-03-23audio drift patch (debug message enabled)Miguel Freitas
CVS patchset: 1619 CVS date: 2002/03/23 13:28:35
2002-03-20steps towards dvd playback:Guenter Bartsch
- cleanup / more types of discontinuity handling in metronom - disc detection based on nav-packets small video_out fix to make exiting xine easier in case it gets stuck CVS patchset: 1599 CVS date: 2002/03/20 23:12:58
2002-03-12getting rid of more LOG_ macros => output messages only once ... and another ↵Guenter Bartsch
metronom drift update - will I ever get this one correct? CVS patchset: 1564 CVS date: 2002/03/12 19:51:29
2002-03-11metronom and demuxers should work again (although not all demuxers are fully ↵Guenter Bartsch
updated at this point). demux_qt can handle compressed audio, but is still unfinished. Yes, this _is_ the big metronom update, metronom now depends on disc_off information in discontinuities. CVS patchset: 1554 CVS date: 2002/03/11 12:31:24
2002-03-10- mpeg2 frame duration fixesMiguel Freitas
- metronom fixes, drift calculation CVS patchset: 1548 CVS date: 2002/03/10 21:16:14
2002-03-08temporary fix for a/v sync problems, this is _not_ the big update I'm ↵Guenter Bartsch
planning which will use scr info for "informed" discontinuity handling. This is just a quick'n'dirty fix. CVS patchset: 1547 CVS date: 2002/03/08 19:17:05
2002-03-01memleak fixes from ewald snelGuenter Bartsch
CVS patchset: 1535 CVS date: 2002/03/01 09:29:49
2002-02-09the long-awaited video_out changes, not completely debuged (races)Guenter Bartsch
- pts are 64 bit now - scr and video_out-loop run all the time - video_out cleanups - metronom cleanups - buffer type BUF_CONTROL_DISCONTINUITY is used internally now, input plugins should no longer send this one - support for individual frame durations - using nano-/usleep instead of itimer (simpler code, maybe this will help freebsd) CVS patchset: 1487 CVS date: 2002/02/09 07:13:22
2001-12-27Add intl support + more logging messages.Daniel Caujolle-Bert
CVS patchset: 1308 CVS date: 2001/12/27 14:30:28
2001-12-22some comments on how metronom workMiguel Freitas
CVS patchset: 1286 CVS date: 2001/12/22 20:16:49
2001-11-13metronom logic changedHeiko Schaefer
CVS patchset: 1030 CVS date: 2001/11/13 21:47:57
2001-11-10very unfinished scr discontinuity detection stuff, new software audio out ↵Guenter Bartsch
buffer and thread CVS patchset: 1010 CVS date: 2001/11/10 13:48:02
2001-10-18audio decoder cleanup, tell the audio part of metronom that there are still ↵Guenter Bartsch
images so it can increment it's internal pts counters CVS patchset: 833 CVS date: 2001/10/18 18:50:53
2001-09-12further tweaks and patches for menu support: new buftypes ↵Guenter Bartsch
(BUF_CONTROL_DISCONTINUITY,BUF_CONTROL_NOP,BUF_CONTROL_AUDIO_CHANNEL,BUF_CONTROL_SPU_CHANNEL) so input plugins can enhance their communication with the xine engine (regarding pts continuities for example) - not all is implemented yet, but what is implemented is working pretty well - at least for me ;)) CVS patchset: 627 CVS date: 2001/09/12 22:18:47
2001-08-25fixed seeking (back to the old method), implementing true pause function, ↵Guenter Bartsch
introducing trick playback (slow motion and fast forward) CVS patchset: 482 CVS date: 2001/08/25 07:12:16
2001-08-07Added new System Clock Reference providers architecture.Eduard Hasenleithner
CVS patchset: 398 CVS date: 2001/08/07 16:00:10
2001-07-18Split alsa drivers, more checks about versions. Made xine lib c++ compliant.Daniel Caujolle-Bert
CVS patchset: 308 CVS date: 2001/07/18 21:38:16
2001-07-08subtitle patches from jamesGuenter Bartsch
CVS patchset: 259 CVS date: 2001/07/08 18:15:54