hi everyone
I have met a problem when
I using the freescale imx platform with gstreamer.
I modified the gplay program which only call gst_init();
but I got the following error message.
==========================================
(gst-plugin-scanner:1309): GLib-GObject-WARNING **: cannot register existing type 'GstVorbisDec'
(gst-plugin-scanner:1309): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gst-plugin-scanner:1309): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
MAX resolution 1024x768
==========================================
does anyone has any idea about this problem?
thanks for your help.
thank you for your reply
here are the codes of gplay which I modified
void gst_api_test()
{
GstElement* pipeline;
GstElement* photobin;
GstElement* photo_sink;
GError *error;
error = NULL;
gst_init(NULL, NULL);//here i test the gst_init()
printf("gst_api_test S\n");
}
int main(int argc,char *argv[])
{
fsl_player_s8 sCommand[256];
fsl_player_s8 uri_buffer[500];
fsl_player_thread_t display_thread;
fsl_player_thread_t msg_thread;
fsl_player_ret_val ret_val = FSL_PLAYER_SUCCESS;
fsl_player_handle player_handle = NULL;
fsl_player* pplayer = NULL;
fsl_player_drm_format drm_format;
fsl_player_config config;
fsl_player_s32 ret;
fsl_player_s32 volume = 1;
struct sigaction act;
act.sa_handler = signal_handler;
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
sigaction(SIGINT, &act, NULL);
printf("stevesujr gplay test\n");
gst_api_test();//here i test the gst_init()
return 0;