[Bug 655622] [opencv] [PATCH] Feature requests and bug fixes for gstOpenCV
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Aug 16 00:22:51 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=655622
GStreamer | gst-plugins-bad | git
--- Comment #19 from Nicola <lists at svrinformatica.it> 2011-08-16 07:22:48 UTC ---
Sorry Robert, I didn't tested the datafile thing, I looked at the code and we
can do something like this then:
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 && !filter->firstframe)
// && ret == GST_STATE_CHANGE_SUCCESS
// && filter->state == GST_STATE_PLAYING) {
{
filter->changed_gridx = true;
}
filter->prevgridx = filter->gridx;
break;
I think this is however better than query the pipeline state since an
application could change the state, there is already a firstframe variable and
we could use this to do the same check,
what do you think about?
Nicola
--
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