2017-09-05 21:45 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > On Mon, Sep 04, 2017 at 08:16:53AM +0000, Jeyapal, Karthick wrote: >> >On 9/4/17, 1:36 PM, "Steven Liu" >> ><lingjiujia...@gmail.com<mailto:lingjiujia...@gmail.com>> wrote: >> >+ if (c->user_agent) >> >+ av_dict_set(options, "user-agent", c->user_agent, 0); >> > >> >should be >> >av_dict_set(options, "user_agent", c->user_agent, 0); >> >> Oh! OK Got it. Sorry for the confusion. Have attached the patch with >> user_agent being set. >> >> Thanks, >> Karthick > >> doc/muxers.texi | 4 ++++ >> libavformat/hlsenc.c | 5 +++++ >> libavformat/version.h | 2 +- >> 3 files changed, 10 insertions(+), 1 deletion(-) >> 012d43c19fc3e01262158cd9becb63ce582f02f9 >> 0001-avformat-hlsenc-Added-configuration-to-override-HTTP.patch >> From 7edb12511ec72ada156af86cc8b23c9410695117 Mon Sep 17 00:00:00 2001 >> From: Karthick J <kjeya...@akamai.com> >> Date: Fri, 1 Sep 2017 15:55:48 +0530 >> Subject: [PATCH 1/1] avformat/hlsenc: Added configuration to override HTTP >> User-Agent >> >> Signed-off-by: Karthick J <kjeya...@akamai.com> >> --- >> doc/muxers.texi | 4 ++++ >> libavformat/hlsenc.c | 5 +++++ >> libavformat/version.h | 2 +- >> 3 files changed, 10 insertions(+), 1 deletion(-) > > doesnt apply automatically > > Applying: avformat/hlsenc: Added configuration to override HTTP User-Agent > error: sha1 information is lacking or useless (libavformat/hlsenc.c). > error: could not build fake ancestor > Patch failed at 0001 avformat/hlsenc: Added configuration to override HTTP > User-Agent > The copy of the patch that failed is found in: .git/rebase-apply/patch > When you have resolved this problem, run "git am --continue". > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am --abort". > > > [...] > > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB > > "You are 36 times more likely to die in a bathtub than at the hands of a > terrorist. Also, you are 2.5 times more likely to become a president and > 2 times more likely to become an astronaut, than to die in a terrorist > attack." -- Thoughty2 > > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >
Modify fixed apply error and applied. Thanks. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel