Lukasz Marek
3a92ee5953
avformat/ftp: add log regarding passive mode failure
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-10-12 13:52:33 +02:00
Lukasz Marek
e1fb3143bb
avformat/ftp: fix possible deadlock
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-10-12 13:52:33 +02:00
Lukasz Marek
7b1640c4a6
avdevice/pulse_audio_enc: fix stream index
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-10-12 13:52:26 +02:00
Lukasz Marek and Michael Niedermayer
60136345e6
lavd/pulse: move common code to separate file
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-08 23:02:47 +02:00
Lukasz Marek and Michael Niedermayer
1ab9f322ee
lavd/pulse: rename pulse.c into pulse_audio_dec.c
...
This make name of the file more specific
as there is also encoder implementation.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-08 22:28:39 +02:00
Lukasz Marek and Michael Niedermayer
361b56c379
lavd: pulse audio encoder
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-08 14:31:50 +02:00
Lukasz Marek and Stefano Sabatini
c21be5845f
doc/indevs: make pulse dev formatting consistent with other devices
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-10-07 12:01:51 +02:00
Lukasz Marek and Michael Niedermayer
b611ea041d
lavd/pulse: add MAINTAINERS entry
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-04 23:26:40 +02:00
Lukasz Marek and Michael Niedermayer
23ad4d6f58
doc/outdevs: add sdl window_fullscreen option
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 23:37:14 +02:00
Lukasz Marek and Michael Niedermayer
ef23b7fd6d
lavf/libssh: add MAINTAINERS entry
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-21 16:35:41 +02:00
Lukasz Marek and Michael Niedermayer
5b153f8164
lavf: add SFTP protocol via libssh
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-21 03:26:54 +02:00
Lukasz Marek and Michael Niedermayer
0b46d6f3ef
lavu/bprint: add append buffer function
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Reveiwed-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-30 22:36:38 +02:00
Lukasz Marek
f3ace37a3b
lavf/ftp: fix possible crash
2013-08-29 01:57:38 +02:00
Lukasz Marek and Paul B Mahol
a289f418e4
doc/filters: add sepia example for colorchannelmixer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-19 19:36:37 +00:00
Lukasz Marek
816c579cf3
ftp: warning about pure-ftp server used as and output
2013-07-17 14:42:20 +02:00
Lukasz Marek
2217243e12
ftp: comments
2013-07-17 14:42:20 +02:00
Lukasz Marek
db72b7742a
ftp: remove unused headers
2013-07-17 14:42:20 +02:00
Lukasz Marek
247e658784
ftp: fix interrupt callback misuse
...
FTP protocol used interrupt callback to simulate nonblock
operation which is a misuse of this callback.
This commit make FTP protocol fully blocking and removes
invalid usage of interrutp callback
Also adds support for multiline responses delimited with dashes
2013-07-17 14:42:20 +02:00
Lukasz Marek
ff35c7cdfa
ftp: add invalid code for RETR operation
...
554 is possible invalid code:
- Restart not valid
- Command terminated due to server shutdown in progress
- etc...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:34 +02:00
Lukasz Marek
89b4800eef
ftp: probe seek capability
...
Make FTP streamed when server doesn't accept REST command
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:34 +02:00
Lukasz Marek
eeedca4b7f
ftp: fix seeking beyond file size
...
adjust to ff* tools seek nature
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:33 +02:00
Lukasz Marek
4d617715c9
ftp: abort function optimalization
...
It seems some ftp servers doesn't respect ABOR command,
but closing both connection is slow.
This commit keeps control connection open when possible.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:26 +02:00
Lukasz Marek
bc29acdc76
ftp: explicit return code checks
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 03:54:55 +02:00
Lukasz Marek
43eda88200
ftp: fix flush control connection input
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 03:54:55 +02:00
Lukasz Marek
23a76b71de
ftp: reconnect on tcp read error
...
This commit reconnect both connections and retries before ftp_read returns an error.
Practical use case: resume after lock screen on iOS devices.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 03:54:55 +02:00
Lukasz Marek
7faafe606f
ftp: fix using uninitialized value
...
Fix coverity issue CID 1026777
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-04 13:08:23 +02:00
Lukasz Marek
ddbcc48b64
ftp: enhanced error handling
...
Add error codes to expected codes to make responses faster.
Success of a command is validated by comparing code to a success code.
2013-05-31 16:54:03 +02:00
Lukasz Marek
34c423894c
ftp: reconnect on seek
...
ABOR command usually takes long (FTP server implementation dependent).
It also produces different response codes from different servers.
It is save for ffmpeg to reconnect both connection during seek for two reasons:
1. Alreay mentioned heavy manner of ABOR command.
2. Server may disconnected due to no transfer (seek after a long pause in ffmpeg client)
2013-05-31 16:52:39 +02:00
Lukasz Marek
d99beeb70e
ftp: move common commands code to function
...
Each send command routine requires the same steps.
This commit moves repeated code into one function.
2013-05-31 16:42:26 +02:00
Lukasz Marek
3f00521809
ftp: enhanced status code handling
...
Reimplementation of ftp_status function.
New version requires explicit list of expected codes.
It flush data connection input before sending a command
and blocks until expected result appears.
2013-05-31 16:42:25 +02:00
Lukasz Marek
1931c2d265
ftp: reconnect on read
...
FTP server may disconnect after some period of time when no transfer is done.
FTP protocol should reconnect and seek to last position.
2013-05-31 16:40:03 +02:00
Lukasz Marek
c84d6aa2f6
ftp: move create control connection to function
...
Move common code that opens control connection to function.
This code can be reused when reconnecting to FTP server
after inactivity.
2013-05-31 15:57:58 +02:00
Lukasz Marek
e46e49e31d
ftp: credentials moved into FTPContext
...
FTP server may disconnect client.
This commit stores credentials for future reconnect.
2013-05-31 15:57:58 +02:00
Lukasz Marek
80cce899f6
ftp: rename function name
...
ftp_send_command was used only once.
This commit makes this function specific, not generic
2013-05-31 15:57:58 +02:00
Lukasz Marek
afa30e51d1
ftp: formatting and typos fixes
2013-05-31 15:57:57 +02:00
Lukasz Marek and Michael Niedermayer
c86d3a54de
FTP protocol support
...
Implementation of ftp protocol.
Fixes #1672
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 22:16:02 +02:00