[gst-devel] Avi decoder
StyveA
styve.attia at gmail.com
Mon Jan 31 14:52:23 CET 2011
I tried this code :
play = gst_element_factory_make ("playbin", "play");
g_object_set (G_OBJECT (play), "uri", argv[1], NULL);
bus = gst_pipeline_get_bus (GST_PIPELINE (play));
gst_bus_add_watch (bus, my_bus_callback, loop);
gst_object_unref (bus);
gst_element_set_state (play, GST_STATE_PLAYING);
/* now run */
g_main_loop_run (loop);
/* also clean up */
gst_element_set_state (play, GST_STATE_NULL);
gst_object_unref (GST_OBJECT (play));
But I get the following error :
error : URI not valid.
don't understand =/
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Avi-decoder-tp3248462p3248759.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list