summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
AgeCommit message (Collapse)Author
2004-07-06fix a long standing bug: streams were not played till their very end, becauseMiguel Freitas
finished event was sent to frontend before the output fifos were empty. add a test for the number of streams attached to the output port. this will prevent deadlocking on multi-streams scenarios where fifos don't ever get empty. CVS patchset: 6777 CVS date: 2004/07/06 22:53:22
2004-04-26help strings added for all remaining config entries (so I hope)Michael Roitzsch
please everybody watch out for spelling (and other) errors CVS patchset: 6442 CVS date: 2004/04/26 17:50:06
2004-03-28move the ticket acquire/release deeper inside the decoder loopsMichael Roitzsch
(buf->free_buffer() for example must not be called with a ticket held, since it can block, when the demuxer triggered nbc, which will occupy the fifo lock) CVS patchset: 6312 CVS date: 2004/03/28 19:51:56
2004-03-14Second fix for INT16_MIN/MAX under WIN32 (without stdint.h).František Dvořák
CVS patchset: 6261 CVS date: 2004/03/14 23:07:25
2004-03-14Replace stdint.h with inttypes.h.Robin KAY
CVS patchset: 6250 CVS date: 2004/03/14 13:45:54
2004-03-14Update WIN32 port:František Dvořák
- add stdint.h with INT16_MIN/MAX - apply forgotten change _MSC_VER -> HAVE_ICONV - get rid of some _MSC_VER - changed to WIN32 since it'll be used by MINGW too CVS patchset: 6249 CVS date: 2004/03/14 09:38:03
2004-03-12<small break from my dissertation...>Miguel Freitas
this should fix hang on exit reported by Bastien. untested. CVS patchset: 6243 CVS date: 2004/03/12 14:53:16
2004-03-03just for symmetry: add a config entry for the audio fifo sizeMichael Roitzsch
CVS patchset: 6212 CVS date: 2004/03/03 20:17:40
2004-03-03use the _x_abort() macro instead of abort, since it prints some debug infoMichael Roitzsch
before aborting CVS patchset: 6211 CVS date: 2004/03/03 20:09:11
2004-02-12big commit of the new ticket system to protect the rewiring and moreMichael Roitzsch
(as discussed on xine-devel, slightly improved to block acquires from different threads between atomic revoke and issue) * xine_ticket_t is declared in xine_internal.h and implemented in xine.c * the ticket is acquired for (hopefully) all port operations (no modifications to decoders needed, decoder loop does this) * the ticket is revoked on pausing and on rewiring * OSD does not store the port pointer any more (which was very dangerous, since the pointer can change on rewire) CVS patchset: 6137 CVS date: 2004/02/12 18:19:00
2004-01-09- rework semantics of some buffer flags. check buffer.h for details.Miguel Freitas
- increase demux and decoder apis - fix runtime changing of ogg/ogm audio channels note: i hope i haven't broken any demux->decoder data exchange. please report any problems. CVS patchset: 6014 CVS date: 2004/01/09 01:26:32
2003-12-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
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-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-22bug fix from Nate Lawson <nate@root.org>Daniel Caujolle-Bert
CVS patchset: 5769 CVS date: 2003/11/22 11:58:05
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-17missing meta info changeDaniel Caujolle-Bert
CVS patchset: 5759 CVS date: 2003/11/17 10:22:57
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-16actually not every engine file uses internals, so we do not need to defineMichael Roitzsch
XINE_ENGINE_INTERNAL for every file CVS patchset: 5753 CVS date: 2003/11/16 15:41:15
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-07-27- removed xine-engine/locale.c as it is unused, fix static functions in theBastien Nocera
engine and the utils, removed unused variables CVS patchset: 5219 CVS date: 2003/07/27 12:47:23
2003-06-22some additional pthread_*_destroy() callsMichael Roitzsch
(based on the implementation, this might fix memleaks on some platforms, although I doubt that this is the case here) CVS patchset: 5091 CVS date: 2003/06/22 17:10:41
2003-04-02- remove unneeded use of pthread_exit(NULL). We do not have any cleanupBastien Nocera
handlers, so we can just use "return NULL" instead. CVS patchset: 4533 CVS date: 2003/04/02 12:28:08
2003-03-25- allow on-the-fly rewiring of streams outputMichael Roitzsch
- add missing destruction of some pthread structs - do not init streams_lock twice CVS patchset: 4479 CVS date: 2003/03/25 12:52:32
2003-03-07workaround buggy pthread implementations with a timedwaitMiguel Freitas
(thanks Ewald) CVS patchset: 4358 CVS date: 2003/03/07 15:29:30
2003-03-07more work on console output cleanupGuenter Bartsch
CVS patchset: 4357 CVS date: 2003/03/07 12:51:47
2003-01-14move default handled flag to xine.c. this fixes false alarm with -A null.Miguel Freitas
CVS patchset: 3909 CVS date: 2003/01/14 00:10:28
2003-01-13do not dispose audio and video ports on stream dispose.Miguel Freitas
CVS patchset: 3906 CVS date: 2003/01/13 23:02:41
2003-01-09- can't use HAS_VIDEO/HAS_AUDIO at this stage because some demuxers will onlyMiguel Freitas
set it on send_headers. also daniel convinced me that xine does "handle a no audio stream" - fix audio_out.c to abort filling with zero on seeking/stop/quit. CVS patchset: 3840 CVS date: 2003/01/09 02:44:39
2003-01-09handled/unhandled fixes. now it should work for dvd too.Miguel Freitas
CVS patchset: 3839 CVS date: 2003/01/09 01:09:57
2003-01-08fixes/cleanups of the handled/unhandled codecsMiguel Freitas
for more information see message on xine-devel CVS patchset: 3818 CVS date: 2003/01/08 01:02:27
2002-12-27Fix 'XINE_STREAM_INFO_MAX_SPU_CHANNEL' propertyEwald Snel
- Calculate number of spu channels in video_decoder_loop() - Use 'track_map' for spu channels, just like audio channels CVS patchset: 3700 CVS date: 2002/12/27 22:49:38
2002-12-27finally - dvb support in xine :)Guenter Bartsch
CVS patchset: 3687 CVS date: 2002/12/27 00:53:49
2002-12-26- cleanup internal interfaces for rewiringMiguel Freitas
- fix UI_PLAYBACK_FINISHED rifle CVS patchset: 3686 CVS date: 2002/12/26 21:53:41
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-18log outputGuenter Bartsch
CVS patchset: 3579 CVS date: 2002/12/18 03:59:10
2002-12-06nothing here (just small debug message updates)Miguel Freitas
CVS patchset: 3431 CVS date: 2002/12/06 01:13:15
2002-11-29no need to dispose the current decoder plugin on stream end, it will be disposedMichael Roitzsch
anyway as soon as a new stream starts or another decoder is needed benefit: the dxr3 video decoder will not close the device after playing the logo and therefore the image will stay on screen CVS patchset: 3389 CVS date: 2002/11/29 17:25:26
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-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-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-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-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-18first steps towards implementing stream/meta infoGuenter Bartsch
CVS patchset: 2680 CVS date: 2002/09/18 00:51:33
2002-09-04merging in the new_api branch ... unfortunately video_out / vo_scale is ↵Guenter Bartsch
broken now ... matthias/miguel: please fix it :-) CVS patchset: 2606 CVS date: 2002/09/04 23:31:05
2002-07-26do bounds checking on audio_track_map to never use audio channels whichMichael Roitzsch
aren't there CVS patchset: 2356 CVS date: 2002/07/26 14:51:23
2002-07-25initialize and reset audio_track_map_entries properlyMichael Roitzsch
this should fix losing audio when playing streams with different audio formats consecutively CVS patchset: 2353 CVS date: 2002/07/25 17:11:51
2002-07-14some fixes to osd displaying (show the right time after seeks)Miguel Freitas
CVS patchset: 2264 CVS date: 2002/07/14 20:55:17