[FFmpeg-devel] [PATCH V1 2/2] lavf/dashdec: Save and forward more avio options same as HLS demuxer
Jun Zhao
mypopydev at gmail.com
Fri Jun 14 04:35:50 EEST 2019
From: Jun Zhao <barryjzhao at tencent.com>
Save and forward more avio options same as HLS demuxer
Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
libavformat/dashdec.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 2c50f23..446825d 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -1834,7 +1834,9 @@ end:
static int save_avio_options(AVFormatContext *s)
{
DASHContext *c = s->priv_data;
- const char *opts[] = { "headers", "user_agent", "cookies", NULL }, **opt = opts;
+ static const char * const opts[] = {
+ "headers", "http_proxy", "user_agent", "cookies", "referer", "rw_timeout", NULL };
+ const char * const * opt = opts;
uint8_t *buf = NULL;
int ret = 0;
--
1.7.1
More information about the ffmpeg-devel
mailing list