[vlc-devel] [PATCH 1/2] Split key=val, parsing from config_ChainCreate

Rafaël Carré funman at videolan.org
Sat Mar 3 21:23:30 CET 2012


Le 03/03/2012 15:12, Rémi Denis-Courmont a écrit :
> Le samedi 3 mars 2012 21:58:23 Rafaël Carré, vous avez écrit :
>> Le 02/03/2012 12:54, Rafaël Carré a écrit :
>>> ---
>>>
>>>  include/vlc_configuration.h |   11 ++++++
>>>  src/config/chain.c          |   83
>>>  ++++++++++++++++++++++++------------------ src/libvlccore.sym         
>>>  |    1 +
>>>  3 files changed, 59 insertions(+), 36 deletions(-)
>>
>> This probably breaks sout chain parsing.
> 
> I do not know what you are aiming for, but wouldn't var_LocationParse() work?

Nope, we don't want to set VLC variables, we want to give a list of
arbitrary keys to ffmpeg.

If you look at the other patch it calls:
+        av_dict_set(&struct, key, val, flags)
repeatedly for each keys.



More information about the vlc-devel mailing list