1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

60971 Commits

Author SHA1 Message Date
Thomas Guillem
438dfdba74 dsm: free(NULL) is safe 2015-05-21 17:10:38 +02:00
Thomas Guillem
cd9f04fda2 dsm: don't save Guest login/password into item options 2015-05-21 17:10:38 +02:00
Thomas Guillem
874245a237 dsm: try to connect to the share to check if login is valid
If the host accepts guests, the login will be valid but we won't be able to
connect to the share.
2015-05-21 17:10:38 +02:00
Thomas Guillem
9acd0bb300 dsm: use domain only when specified 2015-05-21 17:10:38 +02:00
Thomas Guillem
6f4454b3b4 dsm: factor set_creds and login 2015-05-21 17:10:38 +02:00
Thomas Guillem
1ba5920aa8 dsm: remove useless b_is_browsing 2015-05-21 17:10:38 +02:00
Thomas Guillem
f5fb092310 dsm: fix guest detection 2015-05-21 17:10:38 +02:00
Jean-Baptiste Kempf
fb658352fd Avcodec: Map YUVA444P10*E 2015-05-20 23:42:21 +02:00
Jean-Baptiste Kempf
bae7849b79 QSV: fix string mistake 2015-05-20 23:13:16 +02:00
Thomas Guillem
dee937cb3f fix POTFILES.in 2015-05-20 16:24:32 +02:00
Thomas Guillem
712cbd42a1 smb: implement readdir using libsmbclient
vlc smb:// to browse domains
vlc smb://domain to browse servers
vlc smb://server to browse shares
vlc smb://server/share* to browse files
2015-05-20 16:07:32 +02:00
Thomas Guillem
784ee08484 access: remote accesses can loop 2015-05-20 16:07:32 +02:00
Thomas Guillem
e4b58df621 playlist: don't play directories that can loop into themselves 2015-05-20 16:07:32 +02:00
Thomas Guillem
8990da12cc demux/playlist: move recursive option 2015-05-20 16:07:32 +02:00
Thomas Guillem
fb5f5d1f4d demux/directory: add show-hiddenfiles option
False by default, i.e. we don't show hidden files by default.
2015-05-20 16:07:32 +02:00
Thomas Guillem
353f77fc40 access/directory: remove recursive code
Recursive parsing is not handled anymore by accesses.
2015-05-20 16:07:32 +02:00
Thomas Guillem
b62156ba79 move ignore-filetypes option from directory access to directory demux 2015-05-20 16:07:32 +02:00
Thomas Guillem
50922179cf move directory-sort option from directory access to directory demux
All readdir access that are used from demux directory can now be sorted like
the directory access.
2015-05-20 16:07:32 +02:00
Thomas Guillem
0b79f865b6 input: add input_item_node_Sort
Sort all p_item children of the node recursively.
2015-05-20 16:07:32 +02:00
Thomas Guillem
feb2e06540 upnp: items are already sorted
Since items are already sorted by the server.
2015-05-20 16:07:32 +02:00
Thomas Guillem
3840a03dbb access: extend STREAM_IS_DIRECTORY
It now takes two new bool* arguments.

 - specify if the access returns items that are already sorted.
 - specify if directories can loop into themselves
2015-05-20 16:07:32 +02:00
Thomas Guillem
88ffe15878 access: refactor pf_readdir
The main advantage is to move the management of the input_item_node_t from all
accesses to the directory demux.
2015-05-20 16:07:32 +02:00
Thomas Guillem
5fe33893f3 sftp: fix crash when no directory is specified
Fallback to the remote Home directory.
2015-05-20 16:07:32 +02:00
Thomas Guillem
286fa11d50 mediacodec: add NDK module
The JNI module is now a submodule.
2015-05-20 16:06:07 +02:00
Thomas Guillem
cae9e8d893 mediacodec: add JNI module
Add the mc_api struct, used by Decoder to access a MediaCodec API.
2015-05-20 16:06:07 +02:00
Thomas Guillem
ac4a4aee64 mediacodec: GetOutput: separate JNI part from Decoder part 2015-05-20 16:06:07 +02:00
Thomas Guillem
ebb8fafb14 mediacodec: PutInput: separate JNI part from Decoder part 2015-05-20 16:06:07 +02:00
Thomas Guillem
d6d6f3013c mediacodec: Open/Close: separate JNI part from Decoder part
Rename OpenMediaCodec to StartMediaCodec and CloseMediaCodec to StopMediaCodec.
2015-05-20 16:06:07 +02:00
Thomas Guillem
5a79bd418c rename android_mediacodec to mediacodec.c 2015-05-20 16:06:07 +02:00
Jean-Baptiste Kempf
71a05464a4 Add wMP4 fourCC for Mp4v 2015-05-19 23:30:01 +02:00
Jean-Baptiste Kempf
ebee486e9b Add wIVG as MJPEG fourcc 2015-05-19 23:30:01 +02:00
Rémi Denis-Courmont
5287f8e10c network: use send(MSG_NOSIGNAL) in net_Write()
This ensures that SIGPIPE is not emitted if the connection is closed by
the other end. Using send() is fine given that all net_Write(),
net_vaPrintf() and net_Printf() call sites use (only) sockets.
2015-05-19 23:28:54 +03:00
Rémi Denis-Courmont
eb37a5b720 decomp: block SIGPIPE on the writer thread
If the decompression process exits unexpectedly (or otherwise closes
the read end of the pipe), we want EPIPE, not SIGPIPE.
2015-05-19 23:27:17 +03:00
Rémi Denis-Courmont
139b927fd4 atmo: open serial port with close-on-exec flag 2015-05-19 23:26:44 +03:00
Rémi Denis-Courmont
f822d4a899 Lua intf: fix use-after-free 2015-05-19 21:42:27 +03:00
Gian Marco Sibilla
776564bf4a Jamendo Lua Service Discovery extension update
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-05-19 11:42:19 +02:00
Rémi Denis-Courmont
d1bc9375a1 win32: factor common code in vlc_cond_(timed)wait() 2015-05-18 19:14:09 +03:00
Rémi Denis-Courmont
a90029df63 screen/win32: set sample A/R 2015-05-17 20:47:39 +03:00
Rémi Denis-Courmont
c5f289dada win32: fix missing unlock/lock with static condition variables
The mutex needs to be unlocked while the thread sleeps. Otherwise, a
deadlock may occur in case of contention for the mutex.
2015-05-17 17:09:25 +03:00
Rémi Denis-Courmont
8762b9415c win32: avoid broadcast in vlc_cond_signal() 2015-05-17 17:09:23 +03:00
Rémi Denis-Courmont
52894f2fe9 win32: fix vlc_cond_broadcast()
Signaling an event ensures that at least one thread wakes up, but it
does not warrant that all of them do.
2015-05-17 16:24:12 +03:00
Rémi Denis-Courmont
8459d80839 threads: remove arbitrary timeout in Windows poll() emulation 2015-05-17 14:49:43 +03:00
Rémi Denis-Courmont
59f7783152 threads: reorder code
(No functional changes)
2015-05-17 14:49:43 +03:00
Rémi Denis-Courmont
74337dd2f2 compat: reimplement and make poll() alertable on Windows 2015-05-17 14:49:43 +03:00
Rémi Denis-Courmont
80170ba796 fixups: add missing poll() event flags 2015-05-17 13:30:17 +03:00
Rémi Denis-Courmont
62e6b50fe6 adaptive: fix format string 2015-05-17 12:30:14 +03:00
Rémi Denis-Courmont
8d03dee93c Use MSG_NOSIGNAL in send()/sendto()/sendmsg()
This avoids SIGPIPE firing when writing to a remote-closed connection-
oriented socket (it is useless for datagram sockets or on Windows
though). SIGPIPE is blocked ins VLC, but not necessarily in LibVLC.

The problem remains for write() on broken pipe and sockets.
2015-05-17 11:02:03 +03:00
Rémi Denis-Courmont
3d94da0dbd mkv: remove incorrect use of N_() 2015-05-16 23:32:30 +03:00
David Fuhrmann
dce178aa68 fix POTFILES.in 2015-05-16 22:08:43 +02:00
David Fuhrmann
0aad5ff31e macosx: Use NSWindowController for error panel, lazy initialization 2015-05-16 21:57:36 +02:00