[gst-cvs] gst-openmax: Cleanups

Felipe Contreras felipec at kemper.freedesktop.org
Wed Apr 8 16:02:05 PDT 2009


Module: gst-openmax
Branch: master
Commit: 9e28af9c8a8ba4ee421cf8bd346a4575d50196c1
URL:    http://cgit.freedesktop.org/gstreamer/gst-openmax/commit/?id=9e28af9c8a8ba4ee421cf8bd346a4575d50196c1

Author: Felipe Contreras <felipe.contreras at gmail.com>
Date:   Thu Apr  9 00:02:16 2009 +0300

Cleanups

Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>

---

 omx/gstomx_base_filter.c |    4 +---
 omx/gstomx_util.c        |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/omx/gstomx_base_filter.c b/omx/gstomx_base_filter.c
index 7d5df41..6c72c62 100644
--- a/omx/gstomx_base_filter.c
+++ b/omx/gstomx_base_filter.c
@@ -108,6 +108,7 @@ change_state (GstElement *element,
             g_mutex_lock (self->ready_lock);
             if (self->ready)
             {
+                /* unlock */
                 g_omx_port_finish (self->in_port);
                 g_omx_port_finish (self->out_port);
             }
@@ -125,9 +126,6 @@ change_state (GstElement *element,
 
     switch (transition)
     {
-        case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
-            break;
-
         case GST_STATE_CHANGE_PAUSED_TO_READY:
             g_mutex_lock (self->ready_lock);
             if (self->ready)
diff --git a/omx/gstomx_util.c b/omx/gstomx_util.c
index 80869d4..7485523 100644
--- a/omx/gstomx_util.c
+++ b/omx/gstomx_util.c
@@ -288,7 +288,7 @@ g_omx_core_init (GOmxCore *core,
     }
 
     core->omx_error = core->imp->sym_table.get_handle (&core->omx_handle,
-                                                       (gchar *) component_name,
+                                                       (char *) component_name,
                                                        core,
                                                        &callbacks);
     core->omx_state = OMX_StateLoaded;





More information about the Gstreamer-commits mailing list