mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
souphttpclientsink: Implement automatic-redirect property
This commit is contained in:
parent
814f741a28
commit
b2bcb3d61f
1 changed files with 2 additions and 0 deletions
|
@ -655,6 +655,8 @@ send_message_locked (GstSoupHttpClientSink * souphttpsink)
|
||||||
}
|
}
|
||||||
|
|
||||||
souphttpsink->message = soup_message_new ("PUT", souphttpsink->location);
|
souphttpsink->message = soup_message_new ("PUT", souphttpsink->location);
|
||||||
|
soup_message_set_flags (souphttpsink->message,
|
||||||
|
(souphttpsink->automatic_redirect ? 0 : SOUP_MESSAGE_NO_REDIRECT));
|
||||||
|
|
||||||
n = 0;
|
n = 0;
|
||||||
if (souphttpsink->offset == 0) {
|
if (souphttpsink->offset == 0) {
|
||||||
|
|
Loading…
Reference in a new issue