diff options
Diffstat (limited to 'clutter-gst/clutter-gst-video-sink.c')
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.c | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c index 6c81287..db69028 100644 --- a/clutter-gst/clutter-gst-video-sink.c +++ b/clutter-gst/clutter-gst-video-sink.c @@ -1727,8 +1727,6 @@ clutter_gst_build_caps (GSList *renderers) g_slist_foreach (renderers, append_cap, caps); - /* g_message ("Caps list : %s", gst_caps_to_string (caps)); */ - return caps; } @@ -1760,19 +1758,12 @@ clutter_gst_video_sink_get_caps (GstBaseSink *bsink, GstCaps *filter) { ClutterGstVideoSink *sink; - GstCaps *ret; sink = CLUTTER_GST_VIDEO_SINK (bsink); if (sink->priv->caps == NULL) - ret = NULL; - else if (filter == NULL) - ret = gst_caps_ref (sink->priv->caps); + return NULL; else - ret = gst_caps_intersect (filter, sink->priv->caps); - g_message ("Filter %s |||||||||| Intersect result : %s", - gst_caps_to_string (filter), gst_caps_to_string (ret)); - - return ret; + return gst_caps_ref (sink->priv->caps); } static gboolean @@ -1887,15 +1878,8 @@ clutter_gst_video_sink_set_caps (GstBaseSink *bsink, sink = CLUTTER_GST_VIDEO_SINK (bsink); priv = sink->priv; - if (!clutter_gst_video_sink_parse_caps (caps, sink, FALSE)) - { - g_message ("Caps fail : %s", gst_caps_to_string (caps)); - return FALSE; - } - - g_message ("Caps success : %s", gst_caps_to_string (caps)); - + return FALSE; g_mutex_lock (&priv->source->buffer_lock); priv->source->has_new_caps = TRUE; @@ -2212,8 +2196,6 @@ clutter_gst_video_sink_propose_allocation (GstBaseSink *base_sink, GstQuery *que gst_query_parse_allocation (query, &caps, &need_pool); - g_message ("clutter video sink propose allocation!"); - gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL); gst_query_add_allocation_meta (query, |