1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-10 19:05:07 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Rafaël Carré
ac175b34c2 services_discovery/: fix warnings 2008-01-28 17:33:15 +00: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
Pierre d'Herbemont
1421fa57d9 vlc_common.h:
* Add some proper assert() to the vlc_gc_* function to spot errors.
* Correctly initialize the refcount to 1. (This will prevent freed pointer usage). (This may also introduce leaks in some module).
modules/*.c:
* Prevent some module to leak input_item_t.
2007-12-23 14:19:00 +00:00
Rafaël Carré
c758dd299e bonjour: checks asprintf() return value, checks name before using it 2007-10-09 06:48:49 +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
Pierre d'Herbemont
48f29e4eca module/services_discovery/bonjour.c: Use the new API. 2007-08-19 16:36:27 +00:00
Pierre d'Herbemont
8ffdf4dc62 modules/services_discovery/bonjour.c: Use the new service discovery API. 2007-08-18 05:05:09 +00:00
Clément Stenac
85ff1461a2 * Start cleaning up libvlc playlist API (Refs:#457)
- Return correct item ids
  - Structures for navigating the playlist
  - Consistent locking
* Add a b_locked parameter to the remaining playlist API calls
2007-02-20 07:29:54 +00:00
Clément Stenac
496a54201d * Do not take and release the structure lock for each element of the list while
releasing it. mutex locks /= 20 on a standard preparse run
* Only create absolutely necessary variables while preparsing
--> Preparse speed *= 4 (with item in disk cache of course)

* Do not rebuild playlist too much while adding a directory. Add a new flag
  to NodeCreate and Add to control this behaviour
2006-12-10 14:00:54 +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
Clément Stenac
0900f11014 Finish the playlist API transition (hopefully)
- Remove a bunch of transition now-useless API.
 - Remove all playlist_Lock* functions. Matching functions now accept a
   b_locked parameter that should be set to VLC_TRUE if the playlist is
   locked when calling the function. The advantages are that it reduces
   the API bloat and that the b_locked flag can be propagated in the
   call stack
 - Remove useless playlist testsuite
 - Remove broken daap plugin (unmaintained wrt VLC API changes, relies on 
   an unmaintained library, probably unable to read content from new itunes, 
   ...). Implementations exist in rhythmbox, xmms2 and 
   daap-sharp, we should see if a proper lib exists or if we could 
   make one
 - Reduce verbosity a bit
 - Documentation
2006-11-19 13:20:02 +00:00
Rémi Denis-Courmont
2c036cf31c Fix Bonjour discovery 2006-10-21 20:21:03 +00:00
Antoine Cellerier
19f542a35b Fix a bunch of gcc warnings 2006-10-01 17:12:02 +00:00
Jean-Baptiste Kempf
c595078b0a Replace playlist_NodesCreateForSD by playlist_NodesPairCreate in Bonjour SD according to [16656] 2006-09-20 11:50:43 +00:00
Clément Stenac
b1f5c760a0 Fix bonjour compilation. Completely untested 2006-05-15 12:07:26 +00:00
Clément Stenac
c6e29a7dda New helper to create nodes for services discovery 2006-05-15 05:57:19 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Clément Stenac
3daa12e460 Avahi 0.6 patch by Diego 'Flameeyes' Pettenò flameeyes at gentoo d0t org
Thanks.
2005-12-04 11:54:22 +00:00
Jon Lech Johansen
2b29c3bdd1 * bonjour.c: Fixed memory leaks. Fixed IPv6 support. 2005-09-09 14:06:38 +00:00
Jon Lech Johansen
a0d5817970 * Bonjour services discovery module using avahi. 2005-09-09 02:42:40 +00:00