vaapisink: drop unused "synchronous" mode.

Support for X11 "synchronous" mode was never implemented, and was only
to be useful for debugging. Drop that altogether, that's not going to
be useful in practice.

https://bugzilla.gnome.org/show_bug.cgi?id=733985
This commit is contained in:
Gwenole Beauchesne 2014-07-30 16:47:20 +02:00
parent 81b5ad85b5
commit 24673dc3a4
2 changed files with 0 additions and 24 deletions

View file

@ -126,7 +126,6 @@ enum {
PROP_DISPLAY_TYPE,
PROP_DISPLAY_NAME,
PROP_FULLSCREEN,
PROP_SYNCHRONOUS,
PROP_ROTATION,
PROP_FORCE_ASPECT_RATIO,
PROP_VIEW_ID,
@ -1101,9 +1100,6 @@ gst_vaapisink_set_property(
case PROP_FULLSCREEN:
sink->fullscreen = g_value_get_boolean(value);
break;
case PROP_SYNCHRONOUS:
sink->synchronous = g_value_get_boolean(value);
break;
case PROP_VIEW_ID:
sink->view_id = g_value_get_int(value);
break;
@ -1139,9 +1135,6 @@ gst_vaapisink_get_property(
case PROP_FULLSCREEN:
g_value_set_boolean(value, sink->fullscreen);
break;
case PROP_SYNCHRONOUS:
g_value_set_boolean(value, sink->synchronous);
break;
case PROP_VIEW_ID:
g_value_set_int(value, sink->view_id);
break;
@ -1242,21 +1235,6 @@ gst_vaapisink_class_init(GstVaapiSinkClass *klass)
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* GstVaapiSink:synchronous:
*
* When enabled, runs the X display in synchronous mode. Note that
* this is used only for debugging.
*/
g_object_class_install_property
(object_class,
PROP_SYNCHRONOUS,
g_param_spec_boolean("synchronous",
"Synchronous mode",
"Toggles X display synchronous mode",
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* GstVaapiSink:rotation:
*
@ -1326,7 +1304,6 @@ gst_vaapisink_init(GstVaapiSink *sink)
sink->handle_events = TRUE;
sink->foreign_window = FALSE;
sink->fullscreen = FALSE;
sink->synchronous = FALSE;
sink->rotation = DEFAULT_ROTATION;
sink->rotation_req = DEFAULT_ROTATION;
sink->use_overlay = FALSE;

View file

@ -82,7 +82,6 @@ struct _GstVaapiSink {
guint handle_events : 1;
guint foreign_window : 1;
guint fullscreen : 1;
guint synchronous : 1;
guint use_overlay : 1;
guint use_rotation : 1;
guint keep_aspect : 1;