[FFmpeg-devel] [PATCH V1 2/2] lavf/dashdec: Save and forward more avio options same as HLS demuxer
Liu Steven
lq at chinaffmpeg.org
Fri Jun 14 05:05:15 EEST 2019
https://patchwork.ffmpeg.org/patch/13388/
reference this patch.
> 在 2019年6月14日,上午9:35,Jun Zhao <mypopydev at gmail.com> 写道:
>
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list