adding NEW debug level
Tim-Philipp Müller
t.i.m at zen.co.uk
Sat Mar 2 06:14:55 PST 2013
On Sat, 2013-03-02 at 06:04 -0800, Raju wrote:
> That is a very helpful reply. Suppose If i want to modify the existing enum
> value like following. How can I achieve that. Will it be good enough if I
> change the enum or do I have to do any other changes?
>
> typedef enum {
> GST_LEVEL_NONE = 0,
> GST_LEVEL_ERROR = 1,
> GST_LEVEL_WARNING = 2,
> GST_LEVEL_FIXME = 3,
> GST_LEVEL_INFO = 4,
> GST_LEVEL_LOG = 6,
> GST_LEVEL_TRACE = 7,
> /* add more */
> GST_LEVEL_MEMDUMP = 9,
> /* add more */
> GST_LEVEL_DEBUG = 10,
> GST_LEVEL_COUNT
> } GstDebugLevel;
>
> Thanks in advance.
Yes, you can do that. I don't think it makes sense, but you *can*. Why
don't you just try it and see what happens?
Cheers
-Tim
More information about the gstreamer-devel
mailing list