From edcaf2066716f629221e1c6d8008e069b63dae9d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 3 Aug 2011 22:57:48 +0200 Subject: [PATCH] fix compilation hal elements were removed, remove them from docs too change example for pad-block API (actually remove the pad block, an application should not be bothered with working around bugs in elements) --- docs/plugins/Makefile.am | 2 -- tests/icles/videocrop-test.c | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index 7130627..3702520 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -88,8 +88,6 @@ EXTRA_HFILES = \ $(top_srcdir)/ext/flac/gstflacenc.h \ $(top_srcdir)/ext/flac/gstflactag.h \ $(top_srcdir)/ext/gdk_pixbuf/gstgdkpixbufsink.h \ - $(top_srcdir)/ext/hal/gsthalaudiosink.h \ - $(top_srcdir)/ext/hal/gsthalaudiosrc.h \ $(top_srcdir)/ext/jack/gstjackaudiosrc.h \ $(top_srcdir)/ext/jack/gstjackaudiosink.h \ $(top_srcdir)/ext/jpeg/gstjpegdec.h \ diff --git a/tests/icles/videocrop-test.c b/tests/icles/videocrop-test.c index a4874e1..0106e6d 100644 --- a/tests/icles/videocrop-test.c +++ b/tests/icles/videocrop-test.c @@ -105,10 +105,10 @@ test_with_caps (GstElement * src, GstElement * videocrop, GstCaps * caps) /* need to block the streaming thread while changing these properties, * otherwise we might get random not-negotiated errors (when caps are * changed in between upstream calling pad_alloc_buffer() and pushing - * the processed buffer?) */ - gst_pad_set_blocked (pad, TRUE); + * the processed buffer?) FIXME should not be needed */ + /* gst_pad_set_blocked (pad, TRUE); */ g_object_set (videocrop, "left", hcrop, "top", vcrop, NULL); - gst_pad_set_blocked (pad, FALSE); + /* gst_pad_set_blocked (pad, FALSE); */ waited_for_block = g_timer_elapsed (timer, NULL) * (double) GST_SECOND; /* GST_LOG ("waited: %" GST_TIME_FORMAT ", frame len: %" GST_TIME_FORMAT, -- 2.7.4