diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-02-27 15:49:56 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-02-27 15:50:20 +0100 |
commit | b12610efd75840269c62e8f69324b7a0fb2c7503 (patch) | |
tree | d3c6c0d4c23e2a9c94fe23a8b0d47607299e1117 /omx/gstomx.h | |
parent | 26b69d99a27d64898e6c9a229d0c089a4bd4732a (diff) | |
download | gst-omx-b12610efd75840269c62e8f69324b7a0fb2c7503.tar.gz |
omx: Clean up port settings change handling
Diffstat (limited to 'omx/gstomx.h')
-rw-r--r-- | omx/gstomx.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/omx/gstomx.h b/omx/gstomx.h index c3e1ac9..8b1badf 100644 --- a/omx/gstomx.h +++ b/omx/gstomx.h @@ -119,9 +119,6 @@ typedef enum { GST_OMX_ACQUIRE_BUFFER_FLUSHING, /* The port must be reconfigured */ GST_OMX_ACQUIRE_BUFFER_RECONFIGURE, - /* The port was reconfigured and the caps might have changed - * NOTE: This is only returned a single time! */ - GST_OMX_ACQUIRE_BUFFER_RECONFIGURED, /* A fatal error happened */ GST_OMX_ACQUIRE_BUFFER_ERROR } GstOMXAcquireBufferReturn; @@ -191,8 +188,6 @@ struct _GstOMXPort { OMX_PARAM_PORTDEFINITIONTYPE port_def; GPtrArray *buffers; /* Contains GstOMXBuffer* */ GQueue pending_buffers; /* Contains GstOMXBuffer* */ - /* If TRUE we need to get the new caps of this port */ - gboolean settings_changed; gboolean flushing; gboolean flushed; /* TRUE after OMX_CommandFlush was done */ gboolean enabled_pending; /* TRUE after OMX_Command{En,Dis}able */ @@ -284,8 +279,6 @@ const gchar * gst_omx_component_get_last_error_string (GstOMXComponent * com GstOMXPort * gst_omx_component_add_port (GstOMXComponent * comp, guint32 index); GstOMXPort * gst_omx_component_get_port (GstOMXComponent * comp, guint32 index); -void gst_omx_component_trigger_settings_changed (GstOMXComponent * comp, guint32 port_index); - OMX_ERRORTYPE gst_omx_component_get_parameter (GstOMXComponent * comp, OMX_INDEXTYPE index, gpointer param); OMX_ERRORTYPE gst_omx_component_set_parameter (GstOMXComponent * comp, OMX_INDEXTYPE index, gpointer param); @@ -308,13 +301,12 @@ OMX_ERRORTYPE gst_omx_port_allocate_buffers (GstOMXPort *port); OMX_ERRORTYPE gst_omx_port_deallocate_buffers (GstOMXPort *port); OMX_ERRORTYPE gst_omx_port_wait_buffers_released (GstOMXPort * port, GstClockTime timeout); -OMX_ERRORTYPE gst_omx_port_reconfigure (GstOMXPort * port); +OMX_ERRORTYPE gst_omx_port_mark_reconfigured (GstOMXPort * port); OMX_ERRORTYPE gst_omx_port_set_enabled (GstOMXPort * port, gboolean enabled); OMX_ERRORTYPE gst_omx_port_wait_enabled (GstOMXPort * port, GstClockTime timeout); gboolean gst_omx_port_is_enabled (GstOMXPort * port); -OMX_ERRORTYPE gst_omx_port_manual_reconfigure (GstOMXPort * port, gboolean start); void gst_omx_set_default_role (GstOMXClassData *class_data, const gchar *default_role); |