1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-21 07:24:15 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
0549228196 Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b.
2008-10-29 22:14:26 +02:00
Derk-Jan Hartman
76003f0e6c dvdread: minimum value for ps_pkt_size is 6
(cherry picked from commit b1aa0a1a872627bb6bf6d94fea8145f4b6c3fccd)
2008-10-06 13:17:34 +02:00
Laurent Aimar
9901a6edca Fixed AR setting for dvdsimple, support AR for dvdnav. 2008-08-27 13:46:33 +02:00
Rémi Duraffort
5ad6561cea Fix [10fcb9f9c3] (win doesn't have setenv). 2008-08-01 12:06:06 +02:00
Rémi Duraffort
10fcb9f9c3 Access dvdread: use setenv instead of putenv to fix a memleak. 2008-07-31 17:53:11 +02:00
Jean-Baptiste Kempf
9ecd18578e Fix previous commit.
Stop the drinking... Sorry about that.
2008-06-27 23:10:52 -07:00
Jean-Baptiste Kempf
d3b448c731 Headers for newer libdvdread have moved :D 2008-06-27 23:00:52 -07:00
Rémi Denis-Courmont
3561b9b28f Plugins: include vlc_common.h directly instead of vlc/vlc.h 2008-05-31 22:10:30 +03:00
Rémi Denis-Courmont
5e15258c9e A lot of missing const in options lists 2008-05-27 22:16:52 +03:00
Pierre d'Herbemont
562773d60e libvlccore: Rename iso_lang.h to vlc_iso_lang.h because we use VLC_EXPORT there, and plugins may use it. 2008-05-26 20:28:17 +02:00
Rafaël Carré
c0a898e18e Include assert.h where assert() is used 2008-05-26 18:46:07 +02:00
Rémi Denis-Courmont
13ae40b0ef Use gettext_noop() consistently 2008-05-21 20:19:25 +03:00
Rémi Denis-Courmont
27d483e9ef Include vlc_plugin.h as needed 2008-05-08 19:20:21 +03:00
Rémi Denis-Courmont
8aa3a9c40e Disc reading libs want ANSI rather than UTF-8 paths - fixes #1560 2008-04-30 20:05:28 +03:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Rémi Duraffort
9630c00c6b Another time "Remove useless test before a free". 2008-03-12 12:07:42 +01:00
Rémi Denis-Courmont
99fab9089e Don't include config.h from the headers - refs #297.
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
2008-01-23 21:50:58 +00:00
Rémi Denis-Courmont
4f02842805 Revert the so-called whitelisting commits that are actually blacklisting 2008-01-16 17:51:21 +00:00
Rafaël Carré
806cf51658 input options whitelisting, step 2 (refs #1371) 2008-01-16 17:36:14 +00:00
Pierre d'Herbemont
bae7c730d1 input/input.c: Define DEMUX_CAN_SEEK and correctly set "seekable" accordingly. (This could introduce regression such as seekable item no more seekable, but I should have greped enough...). 2008-01-04 02:36:00 +00:00
Felix Paul Kühne
42ee1b383a * English grammar fixes and beautifications for the intf_UserFatal messages 2007-11-10 23:14:17 +00:00
Laurent Aimar
3f07af6acd Added const wheen needed for stream_Peek (demuxer/access)
Made demux2_IsPathExtension case insensitive.
Used demux2_IsPathExtension/p_demux->b_force when appropriate
Fixed a regression in flac demuxer (segfault when reading meta data)
Added a VLC_UNUSED(x) macro to avoid seeing ugly (void)x around the code.
Improved a bit a few vlc_common.h macro (do {} while(0))
2007-09-30 15:40:34 +00:00
Rafaël Carré
6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Rémi Denis-Courmont
9e595c955f Remove stdio while we're at it.
Finally rid of the strcasestr warning
2007-08-20 19:23:10 +00:00
Rémi Denis-Courmont
e40d134c69 Remove _GNU_SOURCE and string.h too 2007-08-20 19:10:23 +00:00
Rémi Denis-Courmont
81c5ac29fa Remove stdlib.h 2007-08-20 19:08:22 +00:00
Derk-Jan Hartman
075b16473c * Some more const warning fixes 2006-12-11 20:55:22 +00:00
Clément Stenac
3a6b3918c3 Compile fixes, round 1 2006-11-26 14:39:39 +00:00
Clément Stenac
d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00
Felix Paul Kühne
89298c16e4 * browsed through all code files starting with A to F and added non-blocking intf_UserFatal calls next to msg_err where I think that it is necessary.
I tried to select the most important msg_errs. If I missed your favourite, feel free to add it.
Feedback on the wording and the placement of the interaction calls is strongly welcomed.

For the records: I'm using some general topics for most of the dialogues to produce less work for the translators. The current ones go like this:
"Audio output failed", "Network interaction failed", "Streaming / Transcoding failed", "Audio filtering failed", "File reading failed", "Playback failure"

More to come.
2006-08-22 23:22:14 +00:00
Clément Stenac
90a4caea90 Some more demux and access code factorization 2006-07-19 09:33:41 +00:00
Christophe Mutricy
4f15591e47 Access/*: Second lecture (refs #438) 2006-03-31 23:07:01 +00:00
Clément Stenac
36a5efe8b5 Access strings (Refs:#438) 2006-03-29 13:49:40 +00:00
Derk-Jan Hartman
b7d2846e63 * Fix the duration of the dvdread module. refs #198.
Now duration is accurate, but current time is still block based, so on VBR discs the duration of a second may have some weird variations. Getting accurate time is possible (see what was reverted in [12862]), but this will break the relative SET_TIME (might actually go seeking in the wrong direction for instance). The correct fix here is to expand dvdread with a method that checks the TMAPTI IFO table of a Title, to find what block approximately goes with a certain time. (the TMAPTI table is usually in .5 secs interpolation might possibly be required as well) As a backup an estimate can be made using the ADMAP table.

The behaviour of the dvdread module is now equal to that of the dvdnav module when it comes to time and seeking.
2006-02-11 01:37:30 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Jean-Paul Saman
695cb26ae1 Rolled back part of revision 10144 and 11422. The solutions is the same as revision 8360 2005-10-16 20:08:22 +00:00
Christophe Massiot
9da70ef6b0 * ALL: Do no longer assume a default DVD drive. If no DVD drive is
specified (an empty string), forward the empty string to libdvdcss
   and let it do autodetection.
 * extras/contrib/src/Patches: Patched libdvdread to accept an empty
   string as a device path.
2005-08-31 19:09:50 +00:00
Rémi Denis-Courmont
fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont
85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Christophe Mutricy
7971877055 access/dvdread.c: Compilation fix 2005-06-15 09:24:55 +00:00
Derk-Jan Hartman
1e2dc4cd23 * remove some useless i_mux_rate stuff that we don't use anymore 2005-06-14 23:08:54 +00:00
Derk-Jan Hartman
76ed22f123 * Accurate GET_TIME for dvdread 2005-06-14 15:58:47 +00:00
Gildas Bazin
e5e9c9447c * modules/access/dvdnav.c,dvdread.c: don't crash if the DVD can't be decrypted/read. 2005-06-05 18:07:08 +00:00
Gildas Bazin
f7bc314e7e * modules/access/dvdread.c: fixed bug that made some DVDs unplayable. 2005-06-05 02:25:44 +00:00
Steve Lhomme
286a9420a2 dvdread.c: fix the title duration & time reports 2005-03-05 14:02:39 +00:00
Clément Stenac
d5eacbea63 Really fix all the set_name.
Sorry for the trouble
2004-12-16 18:58:12 +00:00
Clément Stenac
a90a19a6b0 Improvements to preferences
* Each module can declare a "human-readable short name" with set_name
* Modules are sorted by category (set_category, set_subcategory).
  Modules configs can be separated by set_section()
* Separated audio-filter and audio-visual
* Separated extraintf and control
* New command and widget : add_module_list() for comma-separated modules
* Vfilters now use "," as separator
2004-12-11 14:45:46 +00:00
Gildas Bazin
869331a4c7 * modules/demux/ps.c,ps.h: PSM parsing remotely based on a patch by Pascal Claes. 2004-09-22 13:43:03 +00:00
Gildas Bazin
d5225a4365 * modules/access/dvdread.c: fixed chapter change detection. 2004-08-22 11:06:28 +00:00
Gildas Bazin
25d2a663a9 * src/input/*, include/vlc_input.h: the MRL is now parsed for titles/chapters directly in the core.
- syntax is: [url][@[title-start][,chapter-start][-[title-end][,chapter-end]]]
  - core also handles start/end boundaries itself (simplifies the access plugins).
* modules/access/dvdread.c,dvdnav.c,cdda.c: removed MRL parsing code.
2004-08-20 23:37:40 +00:00