Commit ba989edd authored by Simon Morlat's avatar Simon Morlat

add support of outgoing metadata

parent c7c24fef
......@@ -22,6 +22,12 @@
#include "mediastreamer2/mscodecutils.h"
#include "bcg729/encoder.h"
#ifdef HAVE_ms_bufferizer_fill_current_metas
#define ms_bufferizer_fill_current_metas(b,m) ms_bufferizer_fill_current_metas(b,m)
#else
#define ms_bufferizer_fill_current_metas(b,m)
#endif
/*filter common method*/
struct bcg729Encoder_struct {
bcg729EncoderChannelContextStruct *encoderChannelContext;
......@@ -69,6 +75,7 @@ static void filter_process(MSFilter *f){
}
obj->ts+=obj->ptime*8;
mblk_set_timestamp_info(outputMessage,obj->ts);
ms_bufferizer_fill_current_metas(obj->bufferizer, outputMessage);
ms_queue_put(f->outputs[0],outputMessage);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment