Commit c6dcd368 authored by Matthieu Bouron's avatar Matthieu Bouron Committed by Edward Hervey
Browse files

osxvideosink: advertize video meta API support

https://bugzilla.gnome.org/show_bug.cgi?id=726737
parent 98595156
......@@ -511,6 +511,14 @@ gst_osx_video_sink_get_property (GObject * object, guint prop_id,
}
}
static gboolean
gst_osx_video_sink_propose_allocation (GstBaseSink * base_sink, GstQuery * query)
{
gst_query_add_allocation_meta (query,
GST_VIDEO_META_API_TYPE, NULL);
return TRUE;
}
static void
gst_osx_video_sink_init (GstOSXVideoSink * sink)
......@@ -572,6 +580,7 @@ gst_osx_video_sink_class_init (GstOSXVideoSinkClass * klass)
gstbasesink_class->set_caps = gst_osx_video_sink_setcaps;
gstbasesink_class->preroll = gst_osx_video_sink_show_frame;
gstbasesink_class->render = gst_osx_video_sink_show_frame;
gstbasesink_class->propose_allocation = gst_osx_video_sink_propose_allocation;
gstelement_class->change_state = gst_osx_video_sink_change_state;
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment