osxvideosink: warn about the future deprecation of the "embed" property

This commit is contained in:
Andoni Morales Alastruey 2013-07-11 19:45:17 +02:00
parent 6b82c89562
commit fbafca49f8

View file

@ -486,6 +486,9 @@ gst_osx_video_sink_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case ARG_EMBED:
osxvideosink->embed = g_value_get_boolean(value);
g_warning ("The \"embed\" property of osxvideosink is deprecated and "
"will be removed in the near future. Use the GstVideoOverlay "
"instead.");
break;
case ARG_FORCE_PAR:
osxvideosink->keep_par = g_value_get_boolean(value);