[vlc-commits] satip: remove write-only parameter
Rémi Denis-Courmont
git at videolan.org
Sun Apr 12 18:23:56 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 12 19:22:36 2020 +0300| [4f322e756581b05ae5eda2db5d4c57effdfd312d] | committer: Rémi Denis-Courmont
satip: remove write-only parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f322e756581b05ae5eda2db5d4c57effdfd312d
---
modules/access/satip.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/modules/access/satip.c b/modules/access/satip.c
index 2cbdbe0f56..a883d2355d 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -57,9 +57,6 @@
static int satip_open(vlc_object_t *);
static void satip_close(vlc_object_t *);
-#define BUFFER_TEXT N_("Receive buffer")
-#define BUFFER_LONGTEXT N_("UDP receive buffer size (bytes)")
-
#define MULTICAST_TEXT N_("Request multicast stream")
#define MULTICAST_LONGTEXT N_("Request server to send stream as multicast")
@@ -72,7 +69,7 @@ vlc_module_begin()
set_callbacks(satip_open, satip_close)
set_category(CAT_INPUT)
set_subcategory(SUBCAT_INPUT_ACCESS)
- add_integer("satip-buffer", 0x400000, BUFFER_TEXT, BUFFER_LONGTEXT, true)
+ add_obsolete_integer("satip-buffer") /* obsolete since 4.0.0 */
add_bool("satip-multicast", false, MULTICAST_TEXT, MULTICAST_LONGTEXT, true)
add_string("satip-host", "", SATIP_HOST_TEXT, SATIP_HOST_TEXT, true)
change_safe()
@@ -110,7 +107,6 @@ typedef struct
enum rtsp_state state;
int cseq;
- size_t fifo_size;
block_fifo_t *fifo;
vlc_thread_t thread;
uint16_t last_seq_nr;
@@ -791,7 +787,6 @@ static int satip_open(vlc_object_t *obj)
msg_Err(access, "Failed to allocate block fifo.");
goto error;
}
- sys->fifo_size = var_InheritInteger(access, "satip-buffer");
if (vlc_clone(&sys->thread, satip_thread, access, VLC_THREAD_PRIORITY_INPUT)) {
msg_Err(access, "Failed to create worker thread.");
More information about the vlc-commits
mailing list