Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This patch adds mimetypes to src/demuxers/demux_mod.c for the file types it
can handle. After this patch is applied, then xine_get_mime_types() reports
them correctly, which allows Amarok 2.x to play them and probably prevents
other interoperability problems.
Previously Amarok 2.x rejected MOD/S3M/IT/XM/etc. files that were enqueued
there when using the xine phonon backend because their mime types were not
included in those announced by xine-lib.
|
|
get_size might return -1 (e.g. for streams whose size is unknown),
but demux_mod is not able to handle this.
This is particularly bad because it is later assigned to unsigned types
(demux_mod_t.filesize is size_t).
Based on a patch by Matthias Hopf <mhopf@suse.de>.
|
|
|
|
|
|
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.
With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().
malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.
--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
Solaris definitions.
|
|
constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too.
CVS patchset: 8523
CVS date: 2007/01/19 00:26:39
|
|
module files, using the magic numbers from GNU file. This allows to open
module files based on content rather than on their extension only.
[bug #1445746]
CVS patchset: 8445
CVS date: 2006/12/25 17:39:39
|
|
http://article.gmane.org/gmane.comp.video.xine.devel/9532
it is now up to demuxers to decide what the 0..65535 position means.
demuxers tested: ogg, voc, flac, rm, asf, vqa, vob, avi, y4m, au, mov, ts, mp3, mpg, wav, ra, mve
CVS patchset: 6686
CVS date: 2004/06/13 21:28:52
|
|
CVS patchset: 6170
CVS date: 2004/02/17 18:19:19
|
|
CVS patchset: 6153
CVS date: 2004/02/14 13:15:32
|
|
CVS patchset: 6151
CVS date: 2004/02/14 10:50:20
|
|
Detection by content must not read the whole stream...
CVS patchset: 6150
CVS date: 2004/02/14 10:40:28
|
|
configure.ac and Makefile.am from Daniel
I've ported the demuxer to current cvs (BUF_FLAG_FRAME_END issue), i've fixed the seeking problem and the pts computing.
Tested with some .mod files, it rocks ;)
Back to the amiga era ;)
(you have to install the ModPlug engine first)
CVS patchset: 6130
CVS date: 2004/02/11 20:40:00
|