Commit Graph

4139 Commits

Author SHA1 Message Date
Juho Vähä-Herttua
f76374224a pthread: Use Mach semaphores instead of POSIX semaphores on Mac OS X
Unnamed POSIX semaphores don't work on Mac OS X at all.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2010-05-07 17:08:20 +03:00
Rémi Denis-Courmont
bb7ae441f9 net_Listen: pass socket type parameter
We cannot use any random type semantic that we do not know of.
This also works around bugs in deficient getaddrinfo() implementations.
2010-05-05 19:29:57 +03:00
Laurent Aimar
776b826403 Cleaned up a bit spu_t API. 2010-05-04 22:25:34 +02:00
Laurent Aimar
021bda3e79 Splitted out specific vout osd functions to its own header. 2010-05-04 22:25:34 +02:00
Laurent Aimar
5ba9cf2726 Splitted out spu_t and related functions to its own header. 2010-05-04 22:25:33 +02:00
Laurent Aimar
d6a118bda1 Splitted out text_style_t and related function to its own header. 2010-05-04 22:25:33 +02:00
Laurent Aimar
8f0d629298 Made vout_ShowText* private to the core. 2010-05-04 22:25:33 +02:00
Laurent Aimar
e875fef573 Removed OSD_ALIGN_* flags.
SUBPICTURE_ALIGN_* must be used instead.
2010-05-04 22:25:33 +02:00
Laurent Aimar
933d6755d4 Added vlc_GetCPUCount() to retreive the number of available CPU.
It is implemented for win32 and when sched_getaffinity() is available.
2010-05-03 22:53:19 +02:00
Laurent Aimar
cd70bf3154 Privatized remaining vout fields. 2010-05-01 13:39:54 +02:00
Laurent Aimar
72aabd9464 Added mouse support to sub-filter. 2010-05-01 13:39:54 +02:00
Laurent Aimar
08a73f8b33 Simplify the creation of subpicture with dynamic content. 2010-04-29 21:18:43 +02:00
Ilkka Ollakka
d8bc8db8f0 add comment that BlockChainAppend() can take NULL (somewhat obvious, but just in case) 2010-04-29 21:50:08 +03:00
Rémi Denis-Courmont
8abe30826a Remove useless freeaddrinfo wrapper 2010-04-28 23:50:08 +03:00
Rémi Denis-Courmont
95a84cda1e Remove getnameinfo and getaddrinfo wrappers
They weren't thread-safe (and did not support IPv6).
2010-04-28 23:48:30 +03:00
Laurent Aimar
94e0618bb5 Removed now unused picture_t fields and associated enums.
They are p_data, i_status, i_type and b_slow.
2010-04-23 23:45:56 +02:00
Laurent Aimar
0c5adb0ef5 Modified vout_*Picture API.
It is a bit simpler and cleaner.
I plan to remove the need for specific vout
vout_HoldPicture/ReleasePicture functions, but it is not yet possible.
2010-04-23 23:18:56 +02:00
Laurent Aimar
889ae4fb26 Added picture_pool_GetSize helper. 2010-04-23 20:19:33 +02:00
Laurent Aimar
0a3c6b714f Added picture_pool_Reserve helper. 2010-04-23 20:19:33 +02:00
Rémi Duraffort
9e90c99a3b module_config_t: pack the structure. This save 10K on a 64bit system. 2010-04-21 11:57:14 +02:00
Laurent Aimar
b147e3fa23 Moved picture_heap_t out of vlc_vout.h 2010-04-18 19:58:19 +02:00
Laurent Aimar
38ac8544e2 Moved most of private vout_thread_t fields out of vlc_vout.h 2010-04-18 19:51:16 +02:00
Laurent Aimar
4cd0b03690 Removed picture_heap_t::i_aspect/width/height/chroma. 2010-04-18 16:27:50 +02:00
Laurent Aimar
4820423079 Removed picture_heap_t rgb informations.
They are copies of vout->fmt_*.
2010-04-18 14:58:38 +02:00
Laurent Aimar
6bffcd8055 Removed write only vout_thread_t::i_zoom. 2010-04-18 14:58:37 +02:00
Laurent Aimar
67936bb121 Removed write only vout_thread_t::i_window_width/height/i_alignment/b_autoscale. 2010-04-18 14:58:37 +02:00
Laurent Aimar
9754c0acfb Moved vout_sys_t out of vlc_common.h. 2010-04-18 14:58:37 +02:00
Laurent Aimar
a94151f19e Removed write only picture_heap_t::b_allow_modify_pics. 2010-04-18 14:58:37 +02:00
Laurent Aimar
b189e402a1 Removed write only vout_thread_t::i_heap_size field. 2010-04-18 14:58:37 +02:00
Laurent Aimar
d83763e8bd Moved some private fields out of vlc_vout.h 2010-04-18 14:58:37 +02:00
Laurent Aimar
e0e818e1db Moved vout_AllocatePicture out of vlc_vout.h 2010-04-18 14:58:37 +02:00
Laurent Aimar
447d0c8fad Moved vout_IntfInit out of vlc_vout.h 2010-04-18 14:58:36 +02:00
Laurent Aimar
2447adc624 Removed vout_PlacePicture function. 2010-04-18 14:58:36 +02:00
Laurent Aimar
f25a03a237 Removed unused vout flags. 2010-04-18 14:58:36 +02:00
Laurent Aimar
2fb8a236e4 Removed dead code in vout. 2010-04-18 14:58:36 +02:00
Laurent Aimar
8a1ee23adf Removed picture_heap_t::pf_setpalette 2010-04-18 14:58:36 +02:00
Laurent Aimar
6d2319a0c7 Calls directly the vout wrapper iof using function pointers. 2010-04-18 14:58:36 +02:00
Laurent Aimar
14f9486ce6 Removed unused vout_thread_t:pf_lock/unlock/swap fields. 2010-04-18 14:58:36 +02:00
Laurent Aimar
6d8975b217 Removed unused vout_thread_t:pf_control field and related code. 2010-04-18 14:58:36 +02:00
Laurent Aimar
030555469c Removed unused vout_thread_t:p_module field. 2010-04-18 14:58:36 +02:00
Francois Cartegnie
1de44b7c8a Use pragma packing for suncc
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2010-04-14 19:32:46 +03:00
Francois Cartegnie
7dafb03c02 void function cannot return a value
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2010-04-14 19:00:45 +03:00
Rémi Denis-Courmont
5f687f53d5 utf8_lstat is called vlc_lstat nowadays 2010-04-10 17:36:10 +03:00
Rémi Denis-Courmont
9e8bf20982 ssize_t requires sys/types.h (fix #3504) 2010-04-10 13:16:44 +03:00
Rémi Denis-Courmont
ef4f0e4d7a Replacement for getdelim and getline - fixes #3503 2010-04-08 18:50:02 +03:00
Rémi Denis-Courmont
e7b765a182 Win32: inline vlc_cancel_self 2010-04-07 21:55:17 +03:00
Rémi Denis-Courmont
fa343f78a5 Compile fix 2010-03-31 23:41:55 +03:00
Rémi Denis-Courmont
af64d14a00 Use vlc_accept()
This should also fix the accept4() ENOSYS infinite loop in httpd
pointed out by Aurélion Nephtali.
2010-03-31 19:28:41 +03:00
Rémi Denis-Courmont
a2f2d51d03 vlc_accept: accept() with close-on-exec 2010-03-31 19:23:47 +03:00
Rémi Denis-Courmont
3eb3e72a31 vlc_socket: create socket with close-on-exec à la vlc_dup() 2010-03-31 19:07:47 +03:00