GNOME Bugzilla – Bug 522882
Add a configure option to enable/disable OPTION_PARSING in gst_init
Last modified: 2008-04-03 15:18:51 UTC
Add a configure option to enable/disable OPTION_PARSING in gst_init. default is enable OPTION_PARSING Changed files: configure.ac Motorola would like to contribute Gstreamer patch to the Gstreamer open source community project. Please find attached the patch applicable for Gstreamer. For any questions, please feel free to contact (Zhao Liang "e3423c@motorola.com", Shi Ling "w20230@motorola.com").
Created attachment 107426 [details] [review] configue.ac patch
Hi, - what is the goal of disabling option parsing ? Why is it useful ? - it looks like your patch is missing something since it only patches configure.ac, and nothing is reacting on the change ?
In gst.c gst_init_check, there is a Marco GST_DISABLE_OPTION_PARSING which is used to disable option parsing, but no option in configure, my patch is to do this. Generally, to improve performance, OPTION_PARSING is not used sometimes.
I have checked the ChangeLog and indeed it seems David Schleef forgot to add the define in a configure switch. Adding him to the ticket. Are we okay for commit ?
Oops, saw this but forgot to comment on it. Yeah, it's ok.
Committed in CVS HEAD.