[Bug 655622] [opencv] [PATCH] Feature requests and bug fixes for gstOpenCV

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 15 14:34:05 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=655622
  GStreamer | gst-plugins-bad | git

--- Comment #16 from Nicola <lists at svrinformatica.it> 2011-08-15 21:33:59 UTC ---
(From update of attachment 193898)
this patch need some more work:

GST_OBJECT_LOCK (filter)

make PROP_GRID_X/PROP_GRID_Y doesn't work anymore since these properties try to
change filter state and the filter is locked, I would like to change these
setter this way:

case PROP_GRID_X:
      //ret = gst_element_get_state (GST_ELEMENT (filter),
      //    &filter->state, NULL, 250 * GST_NSECOND);
      filter->gridx = g_value_get_int (value);
      if (filter->prevgridx != filter->gridx)
      //    && ret == GST_STATE_CHANGE_SUCCESS
      //    && filter->state == GST_STATE_PLAYING) {
      {
        filter->changed_gridx = true;
      }
      filter->prevgridx = filter->gridx;
      break;

what do you think about?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list