From: Benoit F. <ben...@pu...> - 2006-08-24 15:08:02
|
Hi all, I have a problem watching my pipeline bus. My bus watch funtion is as follows: static gboolean player_bus_call( GstBus *bus, GstMessage *message, gpointer userData ) { g_print( "I'm alive !\n" ); return TRUE; } and I create the bus watch as follows: /* create video player pipeline */ pl_ctx->p_pipeline = gst_pipeline_new( "playervideo" ); if ( !pl_ctx->p_pipeline ) { g_print( "Failed to create pipeline\n" ); goto error; } /* Add bus watch */ gst_bus_add_watch( gst_pipeline_get_bus( GST_PIPELINE( pl_ctx->p_pipeline ) ), player_bus_call, pl_ctx ); Any clue about what's missing ? Thanks, -- Ben |