mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
gtk: add to the generic/states test
This commit is contained in:
parent
c3f1f2d78b
commit
469ea20754
2 changed files with 2 additions and 2 deletions
|
@ -586,7 +586,7 @@ gtk_gst_gl_widget_set_buffer (GtkGstGLWidget * widget, GstBuffer * buffer)
|
|||
GMainContext *main_context = g_main_context_default ();
|
||||
|
||||
g_return_if_fail (GTK_IS_GST_GL_WIDGET (widget));
|
||||
g_return_if_fail (widget->priv->negotiated);
|
||||
g_return_if_fail (buffer == NULL || widget->priv->negotiated);
|
||||
|
||||
g_mutex_lock (&widget->priv->lock);
|
||||
|
||||
|
|
|
@ -341,7 +341,7 @@ gtk_gst_widget_set_buffer (GtkGstWidget * widget, GstBuffer * buffer)
|
|||
GMainContext *main_context = g_main_context_default ();
|
||||
|
||||
g_return_if_fail (GTK_IS_GST_WIDGET (widget));
|
||||
g_return_if_fail (widget->priv->negotiated);
|
||||
g_return_if_fail (buffer == NULL || widget->priv->negotiated);
|
||||
|
||||
g_mutex_lock (&widget->priv->lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue