summaryrefslogtreecommitdiff
path: root/src/input/vcd/xineplug_inp_vcd.c
AgeCommit message (Collapse)Author
2008-11-20Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...František Dvořák
Add warning flags to the DEBUG_CFLAGS too.
2008-05-07Use proper string functions in place of sn?printf.Diego 'Flameeyes' Pettenò
Instead of calling sprintf or snprintf with a "%s" format string, use the proper strcpy, strncpy, strdup or strndup function.
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
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
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.
2007-08-20Handle % escaping and variable numbers of /s in VCD MRLs.Darren Salt
2007-05-26Re: [xine-devel] vcd plugin - sigsegv in 1.1.6 and 1.1(.7)Manfred Tremmel
development branche Am Samstag, 26. Mai 2007 17:48 schrieb Darren Salt: > Could you also try not reverting that and instead applying one or > both of the attached patches? Both playback and eject need to be > tested. You should use the drive's eject button, though there's no > harm in also checking xine-lib's eject code. Ok, here's a modified patch, a combination of your two patches, with a little fix. It works fine here, pressing the vcd button on xine-ui starts playing vcd's directly and when pressing the stop button, I can eject the CD by pressing the eject button on the cd drive. I hope it's ok for you. -- Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/ | http://packman.links2linux.de/ Manfred | http://www.knightsoft-net.de
2007-04-08Mark various private arrays, structs & fn parameters as static and/or const.Darren Salt
Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once.
2007-02-08Remove any possibility of strcpy/sprintf overflows wrt front ends requestingDarren Salt
language & subtitle strings (given a buffer of >= XINE_LANG_MAX bytes). Also fixes an off-by-one buffer termination in the TS code. (Note: compile-tested only.) CVS patchset: 8592 CVS date: 2007/02/08 02:40:22
2006-12-19Mark string-type configuration items according to whether they're plainDarren Salt
strings or names of files, device nodes or directories. This information is available to front ends (via .num_value) so that they can present file/dir-open dialogue boxes if they so choose. Subtitle font selection is split up due to this. CVS patchset: 8425 CVS date: 2006/12/19 19:10:50
2006-12-13Close the device after building the MRL list if it wasn't previously open.Darren Salt
Holding it open prevents eject from working. CVS patchset: 8413 CVS date: 2006/12/13 19:21:10
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8064 CVS date: 2006/06/20 01:07:58
2006-06-18Misc warnings fixes.Diego 'Flameeyes' Pettenò
CVS patchset: 8055 CVS date: 2006/06/18 20:29:03
2006-04-21Wrong struct member (printf fixup).Darren Salt
CVS patchset: 7974 CVS date: 2006/04/21 22:34:19
2006-04-18- unregister the vcd config entry when disposing the plugin class. Fixes:Bastien Nocera
http://bugzilla.gnome.org/show_bug.cgi?id=338883 CVS patchset: 7971 CVS date: 2006/04/18 13:51:33
2005-10-14input plugin time seeking patch.Miguel Freitas
hopefuly somebody will be able to help fixing the mess i did in dvdnav ;) CVS patchset: 7759 CVS date: 2005/10/14 21:02:16
2005-07-28Remove unused #defineRocky Bernstein
CVS patchset: 7692 CVS date: 2005/07/28 02:17:23
2005-07-09Reduce possibility of an uninitialized variable.Rocky Bernstein
CVS patchset: 7640 CVS date: 2005/07/09 02:03:08
2005-06-26Better debugging aid so we can figure out area better.Rocky Bernstein
CVS patchset: 7634 CVS date: 2005/06/26 05:20:29
2005-06-20Cursor changes when going into/out of hot spots Some segmentRocky Bernstein
resolution-size code moved to libvcdinfo where it belongs. CVS patchset: 7631 CVS date: 2005/06/20 02:17:41
2005-06-19Correct the way the hot-spot coordinate system is treated.Rocky Bernstein
Note: some of the vcdplayer.c code to get screen max_x, max_y will probably get moved to libvcdinfo. CVS patchset: 7630 CVS date: 2005/06/19 03:47:45
2005-06-14First cut at mouse hot-spot menu selections. I'm surprised it works asRocky Bernstein
simply and well as it does. Various small code cleanups. CVS patchset: 7623 CVS date: 2005/06/14 17:27:12
2005-05-20Newer libcdio's have a free() that older ones don't.Rocky Bernstein
CVS patchset: 7551 CVS date: 2005/05/20 02:01:35
2005-04-27version.h: copy contents in case it's needed in the future. ProbablyRocky Bernstein
libvcd/version.h can be deleted *.{c,h}: CdIo -> CdIo_t vcdplayer.c: change a debug switch xineplug_inp_vcd.c: playlist -> playback-control item to avoid confusion with front-end playlists. Mostly cosmetic changes. CVS patchset: 7509 CVS date: 2005/04/27 23:28:41
2005-04-17Help tips: Now that this is glommed in with other media plugins the titlesRocky Bernstein
should more clearly indicate VCD. CVS patchset: 7460 CVS date: 2005/04/17 14:55:35
2005-02-09this has been forgottenMichael Roitzsch
CVS patchset: 7396 CVS date: 2005/02/09 20:18:17
2005-02-06Added a plugin_node_t pointer to the input plugin struct.Thibaut Mattern
Incremented all input plugins API version. CVS patchset: 7384 CVS date: 2005/02/06 15:00:34
2005-01-08Some small cleanups.Rocky Bernstein
CVS patchset: 7335 CVS date: 2005/01/08 15:12:42
2005-01-08Handle wait time accurately. Well, at least the way that dvdnav doesRocky Bernstein
it. Make vcdplayer.c more easily portable by eliminating some player-dependent calls (like to handle keyboard events or to sleep). CVS patchset: 7334 CVS date: 2005/01/08 11:59:27
2005-01-02Move wait time handling out of player-independent code (vcdplayer.c)Rocky Bernstein
to player-dependent code xineplug_inp_vcd.c. Should be in place to handle wait time more accurately. First copyright update of 2005! CVS patchset: 7318 CVS date: 2005/01/02 13:51:01
2005-01-02Make sure deinterlace is off in a still frame.Rocky Bernstein
Some more cleanups. CVS patchset: 7317 CVS date: 2005/01/02 02:51:38
2005-01-01Update internal (and messy) copies to libcdio 0.71 andRocky Bernstein
vcdimager 0.7.21. CVS patchset: 7313 CVS date: 2005/01/01 02:43:56
2004-12-30More small changes of a cleanup nature.Rocky Bernstein
CVS patchset: 7311 CVS date: 2004/12/30 09:05:57
2004-12-29title was truncated, increase max.Rocky Bernstein
Variable name changes that I think make things clearer and more consistent. Working towards a better vcdplayer-independent code and handling still wait times more correctly/accurately. CVS patchset: 7308 CVS date: 2004/12/29 09:23:56
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-07-25the worst case we will write to this buffer is largerMichael Roitzsch
CVS patchset: 6851 CVS date: 2004/07/25 17:42:55
2004-07-22do not use functions in array initialization, this is actually not allowed in CMichael Roitzsch
and some compilers do not grok it CVS patchset: 6831 CVS date: 2004/07/22 14:12:20
2004-07-20Add const to get_identifier return type since that's n fact what itRocky Bernstein
is. Should protect against a plugin returning a malloc'd variable for example. CVS patchset: 6821 CVS date: 2004/07/20 00:50:10
2004-07-20More bounds-overflow precautions. Bound max length of a MRL and addRocky Bernstein
numeric width specifiers on numeric format. Thanks to Michael Roitzsch for catching the additional problem. CVS patchset: 6820 CVS date: 2004/07/20 00:31:37
2004-07-18Pedantic change: that should be DEVICE_MAX_LEN, not MRL_MAX_LEN.Rocky Bernstein
CVS patchset: 6813 CVS date: 2004/07/18 21:42:26
2004-07-18Should have Initialized all bytes.Rocky Bernstein
CVS patchset: 6807 CVS date: 2004/07/18 14:52:50
2004-07-18Buffer overflow fix reported by C0ntex via Drew 'dantealiegri' Ogle.Rocky Bernstein
CVS patchset: 6806 CVS date: 2004/07/18 14:46:59
2004-06-13implement steps 1, 2, 3 and 4 of the seeking proposal:Miguel Freitas
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
2004-04-28typo.Rocky Bernstein
CVS patchset: 6455 CVS date: 2004/04/28 10:57:12
2004-04-10improving config help stringsMichael Roitzsch
CVS patchset: 6383 CVS date: 2004/04/10 15:45:10
2004-04-05- allow mounted DVDs to be played back on Linux 2.6, fix a free() on a ↵Bastien Nocera
static string in the VCD plugin CVS patchset: 6330 CVS date: 2004/04/05 18:01:09
2004-03-31multi-default selections work modulo some bugs. But it requires a newerRocky Bernstein
vcdimager (0.7.21 that is only CVS right now). Use the newer vcdinfo routines if available. CVS patchset: 6323 CVS date: 2004/03/31 10:13:00
2004-03-24valgrind-caught memleak.Rocky Bernstein
CVS patchset: 6307 CVS date: 2004/03/24 04:25:06
2004-03-05valgrind memleak fixesMichael Roitzsch
CVS patchset: 6218 CVS date: 2004/03/05 17:50:29