Commit Graph

4172 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
cb435e2774 Add libvlc_set_exit_handler(), more powerful than libvlc_wait() 2010-05-30 20:52:23 +03:00
Laurent Aimar
6c73ecd099 Added vout_display_info_t::has_event_thread.
If false, the vout core will use a thread to dispatch key events.
It reimplement [cb72d26f08] using a bit less code
and by adding support for multiple keys pressed in a row.
The thread is created only if needed.
2010-05-30 14:51:38 +02:00
Rémi Duraffort
70ab9417b0 Playlist: repack (save some memory) 2010-05-28 22:03:17 +02:00
Rémi Duraffort
2c4f04e29d libvlc headers: try to be consistent (cosmetics). 2010-05-28 22:01:03 +02:00
Laurent Aimar
84c113542e Removed unused ZOOM_FP_FACTOR define. 2010-05-27 21:46:34 +02:00
Laurent Aimar
a5c73d38fa Added filter_GetInputAttachments.
It allows to retreive input attachments.
2010-05-26 22:42:51 +02:00
Laurent Aimar
211f72ff01 Made object created by input_resource attached to a high level object.
The high level object must at least live as long as the input_resource,
I used playlist, vlm or libvlc_media_player.
 It avoids invalid reparent of the vout, aout and sout on input changes.

 It breaks support for per input options used for creating vout, aout
and sout (:sout= is not impacted). I will fix the vout case.

 It breaks invalid usages of vlc_object_find(INPUT, PARENT) used
at least by :
 - the sout modules describe and display.
 - the sout statistics.
 - the vout splitter change
 - the snapshot vout display.
I will fix the vout related ones.
2010-05-25 20:47:49 +02:00
Laurent Aimar
2915b611a1 Moved var_InheritURational to the core. 2010-05-24 23:59:05 +02:00
Laurent Aimar
a61cb21fd6 Fixed vout reuse regression. 2010-05-23 22:38:02 +02:00
Laurent Aimar
3fd7fd49d2 Gives the needed DPB size when requesting a vout.
It properly fixes #3526.
2010-05-23 22:37:29 +02:00
Laurent Aimar
4b9c63a36e Gives the input_thread_t to use to vout_Request().
This removes a dangerous vlc_object_find(PARENT) and potentially
invalids var_DelCallback().
It also avoids useless callback destructions and so fixes some dvd menus.
2010-05-21 21:27:18 +02:00
Laurent Aimar
37a27cc644 Moved spu_Attach definition to the core. 2010-05-21 21:27:18 +02:00
Laurent Aimar
7e7f8be16b Modified the prototype of vout_Request and unexport unused vout_Create.
It will simplify improvements of vout_Request.
2010-05-21 21:27:17 +02:00
Laurent Aimar
5741789dd8 Allowed vout_display_DeleteWindow(vd, NULL) to destroy unused window. 2010-05-20 23:51:26 +02:00
Laurent Aimar
c75fafe4ec Reused vout window in vout_Request().
It basically works but they are some issues to be fixed.
2010-05-20 23:51:26 +02:00
Jean-Baptiste Kempf
2a897d1d4b Support .3gp in interface open dialogs 2010-05-19 22:44:02 +02:00
Jean-Baptiste Kempf
b35bf7d51d Recognize the new .webm extension in interfaces
I don't like the name of it.
2010-05-19 22:26:11 +02:00
Jean-Baptiste Kempf
889482503f Add VP8 fourcc VP80 2010-05-19 18:27:57 +02:00
Laurent Aimar
5a6ee7961b Moved "sub-filter" from spu_t to vout_thread_t. 2010-05-18 23:10:29 +02:00
Laurent Aimar
a4b5488b09 Made video_format_t vout_Create/Request parameter const. 2010-05-18 23:10:29 +02:00
Laurent Aimar
8bfc50dd00 Made vlc_fourcc_GetChromaDescription public. 2010-05-14 22:33:41 +02:00
Laurent Aimar
0ae5c1cda4 Added video_format_Print. 2010-05-12 20:19:51 +02:00
Laurent Aimar
6e8939e496 Made SPU commands go through vout. 2010-05-10 23:02:22 +02:00
Rémi Denis-Courmont
6d4bc50f38 Rename access_t.psz_path to psz_location 2010-05-10 23:31:57 +03:00
Rémi Denis-Courmont
c20f0e81f0 access: add a separate field for local file paths
Access plugins are now responsible for selecting the correct
media location, either the URL-without-scheme form or the local file
path form. This will help solve weird bugs with the current file://
URL decode hack, e.g. it does not work for directory://.

Lets see if we also need this for access_demux plugins (normally,
they don't use files).
2010-05-10 23:31:53 +03:00
Rémi Denis-Courmont
579368d262 Break plugin ABI (due to next commit) 2010-05-10 23:31:53 +03:00
Laurent Aimar
2991f90090 No functionnal changes (osd icons/sliders). 2010-05-10 19:33:03 +02:00
Laurent Aimar
5ce9dc48b8 Used subpicture_updater_t for vout_OSDText/Message. 2010-05-10 19:33:03 +02:00
Laurent Aimar
cae552ce56 No functionnal changes.
osd_widget.c and video_widget.c has been merged.
2010-05-10 19:33:03 +02:00
Laurent Aimar
eb95c577ff Used a vout object for vout_OSDMessage/OSDSlider/OSDIcon.
It reduces the number of executed vlc_object_find.
Some macosx calls have been commented out.
2010-05-10 19:33:03 +02:00
Laurent Aimar
54bac7d87a Made vlc_memalign public. 2010-05-09 16:18:40 +02:00
Rémi Denis-Courmont
7f42234cab Maemo: work-around segmentation fault when poll() unwinds
(This seems like a toolchain bug)
2010-05-09 14:57:12 +03:00
Laurent Aimar
287ccf1408 Added VLC_CODEC_NV12 to vlc_fourcc.h. 2010-05-08 22:21:22 +02:00
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