Skip to content

Commit

Permalink
cvsmooth: Deactivating blur-no-scale
Browse files Browse the repository at this point in the history
Deactivate blur-no-scale because basetransform doesn't provide a way
to override getcaps for pads, always using templatecaps independent
of properties.
  • Loading branch information
Thiago Santos committed Jun 2, 2010
1 parent e832094 commit f77a6ea
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/basicfilters/gstcvsmooth.c
Expand Up @@ -82,14 +82,23 @@ enum
PROP_PARAM4
};

/* blur-no-scale only handle: gray 8bits -> gray 16bits
* FIXME there is no way in base transform to override pad's getcaps
* to be property-sensitive, instead of using the template caps as
* the base caps, this might lead us to negotiating rgb in this
* smooth type.
*
* Keep it deactivated for now.
*/

#define GST_TYPE_CV_SMOOTH_TYPE (gst_cv_smooth_type_get_type ())
static GType
gst_cv_smooth_type_get_type (void)
{
static GType cv_smooth_type_type = 0;

static const GEnumValue smooth_types[] = {
{CV_BLUR_NO_SCALE, "CV Blur No Scale", "blur-no-scale"},
/* {CV_BLUR_NO_SCALE, "CV Blur No Scale", "blur-no-scale"}, */
{CV_BLUR, "CV Blur", "blur"},
{CV_GAUSSIAN, "CV Gaussian", "gaussian"},
{CV_MEDIAN, "CV Median", "median"},
Expand Down

0 comments on commit f77a6ea

Please sign in to comment.