felipec gst-openmax: gst-openmax/omx/
| Newsgroups | gmane.comp.video.gstreamer.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVS Root: /cvs/gstreamer Module: gst-openmax Changes by: felipec Date: Thu Nov 20 2008 16:52:34 UTC Log message: Forward pad event properly. Otherwise the pad_pause_task might hang. Signed-off-by: René Stadler <[email protected]> Signed-off-by: Felipe Contreras <[email protected]> Modified files: omx : gstomx_base_filter.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-openmax/omx/gstomx_base_filter.c.diff?r1=1.62&r2=1.63 ====Begin Diffs==== Index: gstomx_base_filter.c =================================================================== RCS file: /cvs/gstreamer/gst-openmax/omx/gstomx_base_filter.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- gstomx_base_filter.c 20 Nov 2008 16:49:35 -0000 1.62 +++ gstomx_base_filter.c 20 Nov 2008 16:52:20 -0000 1.63 @@ -661,23 +661,27 @@ break; case GST_EVENT_FLUSH_START: + gst_pad_push_event (self->srcpad, event); + self->last_pad_push_return = GST_FLOW_WRONG_STATE; + g_omx_core_flush_start (gomx); gst_pad_pause_task (self->srcpad); g_omx_core_flush (gomx); - ret = gst_pad_push_event (self->srcpad, event); + ret = TRUE; case GST_EVENT_FLUSH_STOP: self->last_pad_push_return = GST_FLOW_OK; g_omx_core_flush_stop (gomx); gst_pad_start_task (self->srcpad, output_loop, self->srcpad); case GST_EVENT_NEWSEGMENT: ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-cvs-verbose mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose