CVS Root: /cvs/gstreamer
Module: gst-openmax
Changes by: felipec
Date: Thu Nov 20 2008 16:42:22 UTC
Log message:
Random cleanups.
Modified files:
omx : gstomx_base_filter.h gstomx_util.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-openmax/omx/gstomx_base_filter.h.diff?r1=1.16&r2=1.17
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-openmax/omx/gstomx_util.c.diff?r1=1.41&r2=1.42
====Begin Diffs====
Index: gstomx_base_filter.h
===================================================================
RCS file: /cvs/gstreamer/gst-openmax/omx/gstomx_base_filter.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- gstomx_base_filter.h 20 Nov 2008 16:19:25 -0000 1.16
+++ gstomx_base_filter.h 20 Nov 2008 16:42:07 -0000 1.17
@@ -34,7 +34,7 @@
typedef struct GstOmxBaseFilterClass GstOmxBaseFilterClass;
typedef void (*GstOmxBaseFilterCb) (GstOmxBaseFilter *self);
-#include <gstomx_util.h>
+#include "gstomx_util.h"
#include <async_queue.h>
struct GstOmxBaseFilter
Index: gstomx_util.c
RCS file: /cvs/gstreamer/gst-openmax/omx/gstomx_util.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- gstomx_util.c 20 Nov 2008 16:09:49 -0000 1.41
+++ gstomx_util.c 20 Nov 2008 16:42:08 -0000 1.42
@@ -29,23 +29,23 @@
* Forward declarations
*/
-inline void
+static inline void
change_state (GOmxCore *core,
OMX_STATETYPE state);
wait_for_state (GOmxCore *core,
OMX_STATETYPE state);
in_port_cb (GOmxPort *port,
OMX_BUFFERHEADERTYPE *omx_buffer);
out_port_cb (GOmxPort *port,
OMX_BUFFERHEADERTYPE *omx_buffer);
got_buffer (GOmxCore *core,
GOmxPort *port,
@@ -68,7 +68,7 @@
OMX_PTR app_data,
OMX_BUFFERHEADERTYPE *omx_buffer);
-inline GOmxPort *
+static inline GOmxPort *
g_omx_core_get_port (GOmxCore *core,
guint index);
@@ -358,7 +358,7 @@
return port;
}
guint index)
{
@@ -673,14 +673,14 @@
* Helper functions.
OMX_STATETYPE state)
OMX_SendCommand (core->omx_handle, OMX_CommandStateSet, state, NULL);
complete_change_state (GOmxCore *core,
OMX_STATETYPE state)
@@ -692,7 +692,7 @@
g_mutex_unlock (core->omx_state_mutex);
OMX_STATETYPE state)
@@ -710,7 +710,7 @@
* Callbacks
OMX_BUFFERHEADERTYPE *omx_buffer)
@@ -720,7 +720,7 @@
return;
OMX_BUFFERHEADERTYPE *omx_buffer)
@@ -738,7 +738,7 @@
#endif
-------------------------------------------------------------------------
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=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.