From: <fe...@ke...> - 2008-08-15 15:00:54
|
CVS Root: /cvs/gstreamer Module: gst-openmax Changes by: felipec Date: Fri Aug 15 2008 15:01:04 UTC Log message: Make port_enable more extensible. Modified files: omx : gstomx_util.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-openmax/omx/gstomx_util.c.diff?r1=1.36&r2=1.37 ====Begin Diffs==== Index: gstomx_util.c =================================================================== RCS file: /cvs/gstreamer/gst-openmax/omx/gstomx_util.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- gstomx_util.c 15 Aug 2008 15:00:01 -0000 1.36 +++ gstomx_util.c 15 Aug 2008 15:00:50 -0000 1.37 @@ -588,7 +588,8 @@ OMX_SendCommand (core->omx_handle, OMX_CommandPortEnable, port->port_index, NULL); port_allocate_buffers (port); - port_start_buffers (port); + if (core->omx_state != OMX_StateLoaded) + port_start_buffers (port); g_omx_port_resume (port); g_omx_sem_down (core->port_sem); |