Req Better gestion for passed options in url for header.
#1
Hi, the bug is explained here :
http://forum.kodi.tv/showthread.php?tid=...ght=header

To solve this bug, I see a way, in the DVDDemuxFFmpeg.cpp file
Replace the line 289
Code:
AVDictionary *options = NULL;
by
Code:
AVDictionary *options = GetFFMpegOptionsFromInput();

It's a little bit expeditive, but I realy don't see why it need to be NULL here ? If I put an User-agent in option at the start, it's for it will be used all the time.
If there is a reason for that, we can too make

AVDictionary *options = GetFFMpegOptionsFromInput()
And delete the option that can be Problematic with
av_dict_set(&options, "No_wanted_header", NULL, 0);

It's easier to delete one than make a code just to add one.
Reply

Logout Mark Read Team Forum Stats Members Help
Better gestion for passed options in url for header.0