Index: src/vp/gstplayer.cc =================================================================== --- src/vp/gstplayer.cc (révision 829) +++ src/vp/gstplayer.cc (copie de travail) @@ -571,9 +571,12 @@ // Clean or destroy the old pipeline set_pipeline_null(); - - m_pipeline = Gst::PlayBin2::create("pipeline"); - + + // FIXME: Ubuntu bug?! + // m_pipeline = Gst::PlayBin2::create("pipeline"); + Glib::RefPtr playbin_element = Gst::ElementFactory::create_element("playbin2", "pipeline"); + m_pipeline = Glib::RefPtr::cast_dynamic(playbin_element); + m_pipeline->property_audio_sink() = gen_audio_element(); m_pipeline->property_video_sink() = gen_video_element(); // each time the audio changed, emit the message STREAM_AUDIO_CHANGED