155
155
/* get the bus, we need to install a sync handler */
156
156
bus = gst_pipeline_get_bus (GST_PIPELINE (bin));
157
gst_bus_set_sync_handler (bus, (GstBusSyncHandler) sync_bus_handler, bin,
160
161
ret = gst_element_set_state (bin, GST_STATE_PLAYING);