gstream资源

本文详细介绍了GStreamer中的消息机制,包括如何使用gst_bus_post发送消息以及在gst-launch中处理message的方法。同时,文章提及了MicroDrop,一个用于数字微流控系统控制的图形用户界面,其依赖于matplotlib、pygst、pygtk和特定版本的pymunk等Python包。
摘要由CSDN通过智能技术生成

官网资料:http://gstreamer.freedesktop.org

消息机制: http://blog.sina.com.cn/s/blog_80ce3a550100y2oh.html

//把message发到bus上

gboolean gst_bus_post (GstBus *bus, GstMessage * message)


例子:

    s =gst_structure_new ("test_message", "msg_id", G_TYPE_INT, i,NULL);
    m =gst_message_new_element (NULL, s);
    GST_LOG("posting element message");
    gst_bus_post(test_bus, m);



在gst-launch中,由application直接去处理message,

 static EventLoopResult
event_loop (GstElement * pipeline, gboolean

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值