x11: fix typos

This commit is contained in:
Wim Taymans 2012-03-06 15:20:02 +01:00
parent 4da57f08a1
commit 863252258c
2 changed files with 2 additions and 2 deletions

View file

@ -1319,7 +1319,7 @@ gst_ximagesink_show_frame (GstVideoSink * vsink, GstBuffer * buf)
if (!gst_buffer_pool_set_active (ximagesink->pool, TRUE)) if (!gst_buffer_pool_set_active (ximagesink->pool, TRUE))
goto activate_failed; goto activate_failed;
/* take a buffer form our pool */ /* take a buffer from our pool */
res = gst_buffer_pool_acquire_buffer (ximagesink->pool, &to_put, NULL); res = gst_buffer_pool_acquire_buffer (ximagesink->pool, &to_put, NULL);
if (res != GST_FLOW_OK) if (res != GST_FLOW_OK)
goto no_buffer; goto no_buffer;

View file

@ -1833,7 +1833,7 @@ gst_xvimagesink_show_frame (GstVideoSink * vsink, GstBuffer * buf)
if (!gst_buffer_pool_set_active (xvimagesink->pool, TRUE)) if (!gst_buffer_pool_set_active (xvimagesink->pool, TRUE))
goto activate_failed; goto activate_failed;
/* take a buffer form our pool */ /* take a buffer from our pool */
res = gst_buffer_pool_acquire_buffer (xvimagesink->pool, &to_put, NULL); res = gst_buffer_pool_acquire_buffer (xvimagesink->pool, &to_put, NULL);
if (res != GST_FLOW_OK) if (res != GST_FLOW_OK)
goto no_buffer; goto no_buffer;