CVS Root: /cvs/gstreamer
Module: gst-openmax
Changes by: felipec
Date: Thu Nov 20 2008 17:01:26 UTC
Log message:
Random cleanups.
Modified files:
omx : gstomx_util.c
tests : check_async_queue.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-openmax/omx/gstomx_util.c.diff?r1=1.44&r2=1.45
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-openmax/tests/check_async_queue.c.diff?r1=1.4&r2=1.5
====Begin Diffs====
Index: gstomx_util.c
===================================================================
RCS file: /cvs/gstreamer/gst-openmax/omx/gstomx_util.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- gstomx_util.c 20 Nov 2008 16:58:37 -0000 1.44
+++ gstomx_util.c 20 Nov 2008 17:01:12 -0000 1.45
@@ -53,10 +53,10 @@
static OMX_ERRORTYPE
EventHandler (OMX_HANDLETYPE omx_handle,
OMX_PTR app_data,
- OMX_EVENTTYPE eEvent,
- OMX_U32 nData1,
- OMX_U32 nData2,
- OMX_PTR pEventData);
+ OMX_EVENTTYPE event,
+ OMX_U32 data_1,
+ OMX_U32 data_2,
+ OMX_PTR event_data);
EmptyBufferDone (OMX_HANDLETYPE omx_handle,
@@ -783,27 +783,27 @@
- OMX_PTR pEventData)
+ OMX_PTR event_data)
{
GOmxCore *core;
core = (GOmxCore *) app_data;
- switch (eEvent)
+ switch (event)
{
case OMX_EventCmdComplete:
{
OMX_COMMANDTYPE cmd;
- cmd = (OMX_COMMANDTYPE) nData1;
+ cmd = (OMX_COMMANDTYPE) data_1;
switch (cmd)
{
case OMX_CommandStateSet:
- complete_change_state (core, nData2);
+ complete_change_state (core, data_2);
break;
case OMX_CommandFlush:
g_omx_sem_up (core->flush_sem);
@@ -818,7 +818,7 @@
}
case OMX_EventBufferFlag:
- if (nData2 & OMX_BUFFERFLAG_EOS)
+ if (data_2 & OMX_BUFFERFLAG_EOS)
g_omx_core_set_done (core);
}
Index: check_async_queue.c
RCS file: /cvs/gstreamer/gst-openmax/tests/check_async_queue.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- check_async_queue.c 20 Nov 2008 17:00:34 -0000 1.4
+++ check_async_queue.c 20 Nov 2008 17:01:12 -0000 1.5
@@ -385,9 +385,7 @@
Suite *s = suite_create ("util");
if (!g_thread_supported ())
- {
g_thread_init (NULL);
- }
/* Core test case */
TCase *tc_core = tcase_create ("Core");
-------------------------------------------------------------------------
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.