summaryrefslogtreecommitdiff
path: root/src/input/input_file.c
AgeCommit message (Collapse)Author
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-10-01When the mmap()ed file grows, disable mmap() support.Diego 'Flameeyes' Pettenò
CVS patchset: 8326 CVS date: 2006/10/01 20:14:43
2006-09-16Fixed comment.Thibaut Mattern
CVS patchset: 8266 CVS date: 2006/09/16 14:38:18
2006-09-16Should fix some random crashes (see testsuite).Thibaut Mattern
CVS patchset: 8265 CVS date: 2006/09/16 14:35:44
2006-09-13Return -1 when the file is inaccessible, not found, or empty, so that other ↵Diego 'Flameeyes' Pettenò
input plugins are not tried and the proper error message is returned. Bug #1550763. CVS patchset: 8232 CVS date: 2006/09/13 23:22:51
2006-09-10Fix seeking, remove blocksize support for now, and check if mmap fails.Diego 'Flameeyes' Pettenò
CVS patchset: 8215 CVS date: 2006/09/10 01:46:45
2006-09-10Add missing line.Diego 'Flameeyes' Pettenò
CVS patchset: 8214 CVS date: 2006/09/10 00:59:37
2006-09-09Implement MMAP capable reading for files, reduces memory impact and improve ↵Diego 'Flameeyes' Pettenò
performance on local files. CVS patchset: 8213 CVS date: 2006/09/09 22:11:08
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-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2006-03-17- implement change advised by Darren:Bastien Nocera
http://article.gmane.org/gmane.comp.video.xine.devel/15139 CVS patchset: 7934 CVS date: 2006/03/17 18:21:23
2006-03-16[coverity]Thibaut Mattern
CID: 176 Checker: RESOURCE_LEAK (help) File: xine-lib/src/input/input_file.c Function: file_class_get_dir Description: Returned without freeing storage "hide_files" CID: 176 Checker: RESOURCE_LEAK (help) File: xine-lib/src/input/input_file.c Function: file_class_get_dir Description: Returned without freeing storage "dir_files" CID: 176 Checker: RESOURCE_LEAK (help) File: xine-lib/src/input/input_file.c Function: file_class_get_dir Description: Returned without freeing storage "norm_files" CVS patchset: 7932 CVS date: 2006/03/16 22:17:16
2006-03-16- Also ignore the zero file size for character device nodes, patch fromBastien Nocera
Bill Fink <billfink@mindspring.com> CVS patchset: 7927 CVS date: 2006/03/16 10:52:32
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-09-02Unregister config callbacks.Thibaut Mattern
CVS patchset: 7716 CVS date: 2005/09/02 22:39:42
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2005-06-21- Patch from Christophe Thommeret <hftom@free.fr> to avoid checkingBastien Nocera
for the size of a FIFO Fix a file descriptor leak when the length of a file is zero CVS patchset: 7632 CVS date: 2005/06/21 09:59:49
2005-05-29- Send the XINE_MSG_FILE_EMPTY UI message when trying to play an emptyBastien Nocera
(zero-sized) file CVS patchset: 7591 CVS date: 2005/05/29 12:29:41
2005-02-07Added PLUGIN_MUST_PRELOAD to all input plugins registering config entries.Thibaut Mattern
Added PLUGIN_NO_UNLOAD to the gnome_vfs plugin because unloading this plugins cause troubles (segfault). Current plugin loader preloads all input and demuxer plugins, so adding these flags will not change the current behavior of the lib. CVS patchset: 7390 CVS date: 2005/02/07 23:58:57
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
2004-12-20remove all local names beginning with double underscore, because C99Michael Roitzsch
reserves these names for use by the C implementation CVS patchset: 7288 CVS date: 2004/12/20 21:22:18
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-09-02Warnings on WIN32.František Dvořák
Compilation fix for CygWin. CVS patchset: 6932 CVS date: 2004/09/02 19:56:40
2004-07-25protect some buffers to be on the safe side (some of them might be hardMichael Roitzsch
to overflow, but it could be possible) input_cdda contains the copy&paste bug of filling the buffer to its end and then appending yet another character CVS patchset: 6848 CVS date: 2004/07/25 17:11:59
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-06-22File input module now groks file://localhost/... and file://127.0.0.1/... MRLsAndre Pang
CVS patchset: 6731 CVS date: 2004/06/22 14:31:40
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-15- generate events for "Permission denied" and "File not found" in the http ↵Bastien Nocera
and file plugins CVS patchset: 6404 CVS date: 2004/04/15 00:14:56
2004-04-10improving config help stringsMichael Roitzsch
CVS patchset: 6383 CVS date: 2004/04/10 15:45:10
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
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-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-26fix some prominent compiler warningsMichael Roitzsch
CVS patchset: 5600 CVS date: 2003/10/26 10:48:24
2003-10-15Oops, small correction yet. File MRLs which don't contain '/:' should work ↵František Dvořák
now. :-) CVS patchset: 5525 CVS date: 2003/10/15 13:51:21
2003-10-15Michael's simply solution for using crazy named directries (with ':' ↵František Dvořák
character) in file MRLs. CVS patchset: 5524 CVS date: 2003/10/15 09:20:58
2003-10-13be nicer on files with '%' insideMichael Roitzsch
CVS patchset: 5504 CVS date: 2003/10/13 11:14:46
2003-04-26bump up input plugin interface version numberGuenter Bartsch
CVS patchset: 4692 CVS date: 2003/04/26 22:34:31
2003-04-22Additional changes for win32/msvc port; This is my first real commit so ↵Tim Champagne
please be gentle with me; Everything builds except for the win32 ui CVS patchset: 4650 CVS date: 2003/04/22 23:30:29
2003-04-13Input plugin api change:Thibaut Mattern
old open() function replaced by : *_class_get_instance() : return an instance if the plugin handles the mrl *_plugin_open() : open the stream CVS patchset: 4598 CVS date: 2003/04/13 16:02:53
2003-04-04add initial async error/general message reporting to frontendMiguel Freitas
obs: more messages should be added CVS patchset: 4539 CVS date: 2003/04/04 19:20:46
2003-03-24file plugin ident should be upcase, like other autoplay featured pluginsDaniel Caujolle-Bert
CVS patchset: 4473 CVS date: 2003/03/24 14:23:56
2003-03-07properly unescape relative MRLsMichael Roitzsch
CVS patchset: 4361 CVS date: 2003/03/07 17:01:34
2003-03-03Remove pthread_cancel() support, these threads are never pthread_cancelledEwald Snel
- only some input plugins (still) have this... old code from xine 0.9.x? CVS patchset: 4325 CVS date: 2003/03/03 07:37:23
2003-01-29- add asx parser (sends mrl events)Miguel Freitas
- remove old avi subtitle hack CVS patchset: 4046 CVS date: 2003/01/29 18:53:54
2003-01-04add 2 demuxer groups (audio and games) with multiple plugins at theMiguel Freitas
same shared library (reduce loading time). demuxer api increased so old ungrouped plugins won't be loaded. Bill Fink patch to enable playback of live rawdv streams. obs: non-regular files are now supposed non-seekable. CVS patchset: 3771 CVS date: 2003/01/04 14:48:11
2002-12-29remove old hack for sputextMichael Roitzsch
CVS patchset: 3719 CVS date: 2002/12/29 16:48:34
2002-12-27man errno: "must not be explicitly declared; errno may be a macro"Miguel Freitas
(thanks Chris Rankin for noticing) CVS patchset: 3693 CVS date: 2002/12/27 16:47:10
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-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