Using libesp-tremor directtly fails on av_open_callbacks
Posted: Thu May 23, 2019 3:15 pm
Hi - I'm trying to use tremor with libesp-tremor.a (instead of compiling myself tremor). Strangely, my application fails when calling ov_open_callbacks, it returns an OV_EREAD but my read callback is not even called. The exact same code works fine when compile on my x86 or arm Linux box. All the callbacks except read are set to NULL (I've tried with non-NULL callbacks as well).
The only thing I can think of is that my datasource points to an object of my own that is not of any kind knows by esp-idf, but that why you do have callbacks that pass you back that datasource, don't you?
When I compile tremor directly, it works but consumes 16k of stacks which I'm unhappy with, so I could need to find out why (using -fstack-usage of gcc did not give any useful information, there has to be some recusing happening somewhere), but I'd prefer to use the espressif-provided version of tremor.
The only thing I can think of is that my datasource points to an object of my own that is not of any kind knows by esp-idf, but that why you do have callbacks that pass you back that datasource, don't you?
When I compile tremor directly, it works but consumes 16k of stacks which I'm unhappy with, so I could need to find out why (using -fstack-usage of gcc did not give any useful information, there has to be some recusing happening somewhere), but I'd prefer to use the espressif-provided version of tremor.