summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2009-12-23 16:20:56 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2010-01-04 11:37:41 +0100
commit45cde40ac8d9c6247418ee2904c9e442562659eb (patch)
tree47864bfbaf36000bb32248c5dcace175711122dc
parent157770e5a2ca01c476541edb896e648130a31232 (diff)
downloadclutter-gst-45cde40ac8d9c6247418ee2904c9e442562659eb.tar.gz
[VideoTexture] Use playbin2 instead of playbin
It's time to catch up with GStreamer and use playbin2 instead of playbin. It can play more URLs already and will allow us to specify a subtitle URL.
-rw-r--r--clutter-gst/clutter-gst-video-texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter-gst/clutter-gst-video-texture.c b/clutter-gst/clutter-gst-video-texture.c
index 39790a9..a9574b8 100644
--- a/clutter-gst/clutter-gst-video-texture.c
+++ b/clutter-gst/clutter-gst-video-texture.c
@@ -639,10 +639,10 @@ lay_pipeline (ClutterGstVideoTexture *video_texture)
GstElement *audio_sink = NULL;
GstElement *video_sink = NULL;
- priv->pipeline = gst_element_factory_make ("playbin", "pipeline");
+ priv->pipeline = gst_element_factory_make ("playbin2", "pipeline");
if (!priv->pipeline)
{
- g_critical ("Unable to create playbin element");
+ g_critical ("Unable to create playbin2 element");
return FALSE;
}