summaryrefslogtreecommitdiff
path: root/src/xine-engine/metronom.h
AgeCommit message (Collapse)Author
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.
2006-09-26Use protected visibility for all the functions exported by libxine.so, so ↵Diego 'Flameeyes' Pettenò
that their binding is local to the library (has a similar effect to -Bsymbolic, but will work better with hidden visibility enabled, that is step two). CVS patchset: 8289 CVS date: 2006/09/26 05:19:47
2005-09-19*BUGFIX*František Dvořák
added missing mutex init in xine_ticket (fixes pause assert with win32-pthreads) added missing destroys due to pthread doc spells and houskeeping use directx of older versions too, possibility to use xine w/o HW accel CVS patchset: 7738 CVS date: 2005/09/19 16:14:02
2004-09-26 - almost finalize headers refactoring needed for MSVC frontends (and for otherFrantišek Dvořák
poor platforms, of course) - fix a bug in generated xine-config for WIN32 and make it relocateable under Windows - MSVC port: update, fix some warnings, remove old unneeded files - improve function for getting runtime directory, it will need next fix yet (bug probably due to active volume drives) CVS patchset: 7001 CVS date: 2004/09/26 22:54:51
2004-08-02no objections so far: committing the fine speed control patchMiguel Freitas
(in case of major trouble just revert the patch i sent to xine-devel) CVS patchset: 6871 CVS date: 2004/08/02 12:51:07
2004-06-19this comment is outdated since decoders provide the discontinuity() functionMichael Roitzsch
CVS patchset: 6711 CVS date: 2004/06/19 19:53:29
2004-04-24I forgot to commit this file.Thibaut Mattern
Thanks Michael ;) CVS patchset: 6429 CVS date: 2004/04/24 11:28:00
2004-04-09improving precision of audio vpts calculation, the comment in metronom.c ↵Michael Roitzsch
explains CVS patchset: 6363 CVS date: 2004/04/09 15:06:02
2004-02-16fix freezes with input plugins that play with the speed:uid86226
* use _x_set_speed() for speed manipulations, since it is ticket-safe * _x_set_speed() is an internal helper function now, move frontend locking outside of it * restrict access to metronom clock internal stuff CVS patchset: 6165 CVS date: 2004/02/16 20:19:09
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