summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-09plugin: reorganize element_table initFelipe Contreras1-35/+25
plugin_init() is *always* called, so we can assume element_table will always be initialize once. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08Add example configurationFelipe Contreras2-1/+59
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08plugin: add support for system-wide configFelipe Contreras1-1/+9
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08plugin: reorganize code into get_config_path()Felipe Contreras1-6/+17
Will be useful in next commits to extend to more config options. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08Use G_PARAM_STATIC_STRINGSRob Clark11-19/+24
As suggested by Stefan Kost. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08base: remove extra codeFelipe Contreras3-18/+6
As suggested by Rob Clark. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08base: remove unused set_property()Felipe Contreras2-38/+0
No more writeable properties. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08Make {component,library}-name read-onlyFelipe Contreras3-30/+6
As suggested by Rob Clark. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08Reorganize {library,component}-name assignsFelipe Contreras5-36/+30
Based on a patch by Rob Clark. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08Reorganize core_new()Felipe Contreras5-8/+6
So that it receives the 'object' which is kind of mandatory. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08Move component and library name fields to 'util'Felipe Contreras8-56/+37
No need to duplicate these, and also will be helpful for upcoming commits. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-08build: fixes for out-of-treeRob Clark3-4/+7
Normally with autotools, you should be able to create a directory outside of the srctree, and then run something like: ../path/to/gst-openmax/configure .... make check install but a couple small tweaks were needed to make check work properly. Mainly replacing Makefile with a Makefile.in, and avoiding relative paths to files in the src tree.
2010-03-05tests: update to use config fileRob Clark3-3/+7
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-05Add default configurationRob Clark3-2/+211
A little bit hacky, but works just fine. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-05Initial support for configuration fileRob Clark1-53/+211
Configurable mapping between gst-openmax elements and OMX library-name and component-name via config file. The config file may even create multiple different elements with unique names using the same gst-openmax class but different OMX library-name and/or component-name. In the simple case, of one OMX component per gst-openmax class, specify the gst-openmax class as the 'type', and the 'library-name' and 'compnent-name' of the OMX component, and optionally the 'rank' (defaults to 0 or GST_RANK_NONE): ---- omx_h264dec, type=GstOmxH264Dec, library-name=libomxil-bellagio.so.0, component-name=OMX.st.video_decoder.avc, rank=256; ---- Or in the advanced case of multiple OMX components per gst-openmax class, specify the gst-openmax class as the 'parent-type' and a dynamically created sub-class for the 'type': ---- omx_mp3dec_ti, parent-type=GstOmxMp3Dec, type=GstOmxMp3DecTi library-name=libOMX_Core.so.0, component-name=OMX.TI.AUDIO.DECODE, component-role=audio_decode.dsp.mp3, rank=256; omx_mp3dec_nokia, parent-type=GstOmxMp3Dec, type=GstOmxMp3DecNokia library-name=libomxil_bellagio.so.0, component-name=OMX.nokia.audio_decode.mp3, rank=128; ---- By default, the config file is stored in $HOME/.config/gst-openmax.conf, although if none is found a default config will be created. Modified by Felipe Contreras to keep using the library and component names through qdata. Plus a bunch of cleanups and reorganization. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com> Signed-off-by: Rob Clark <rob@ti.com>
2010-03-02Fixes for building for 64bit hostRob Clark2-7/+7
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-02tests: trivial fixFelipe Contreras1-1/+0
It looks like some extra messages are no the bus now. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2009-11-14videodec: fallback framerate to 0/1Felipe Contreras1-0/+4
Stupid xvimagesink. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2009-09-20base_sink: remove dead assignmentFelipe Contreras1-3/+0
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-20base_filter: more proper printf formattingFelipe Contreras1-2/+7
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-20base_filter: trivial cleanupFelipe Contreras1-6/+11
In preparation for more cleanups. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-20util: fix compilation warningFelipe Contreras1-1/+1
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-19build: update 'common' stuffFelipe Contreras2-4/+4
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-19videodec: handle empty framerateFelipe Contreras1-7/+14
Apparently sometimes we don't get it. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-19base_filter: fix race condition when shutting downMark Nauwelaerts1-1/+9
.. between starting streaming thread and mainloop. Signed-off-by: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-19base_videoenc: use 0 as automatic bitrateFelipe Contreras1-3/+3
So that the omx component can automatically calculate it. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2009-09-19util: increase timeout valueFelipe Contreras1-1/+1
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-19util: cleanup ports when going to loadedFelipe Contreras1-3/+3
The ports will be setup again next time we go to Idle. This fixes a regression when re-using omx wrappers. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2009-09-19util: improve timeout messagesFelipe Contreras1-1/+27
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-09-19util: trivial cleanupFelipe Contreras1-4/+3
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2009-09-19Update I420 to PackedPlanarFelipe Contreras4-6/+6
Which is what we really meant by 'I420'. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2009-04-27Update READMEv0.10.0.5Felipe Contreras1-76/+84
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-27Add 'patches' directory to the distFelipe Contreras1-1/+2
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-27autogen.sh: fix build and cleanupsFelipe Contreras1-1/+1
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26Remove ChangeLogFelipe Contreras1-279/+0
It should be generated automatically. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26build: add enable-experimental optionFelipe Contreras3-23/+39
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26plugin: decrease priority of vorbisdecFelipe Contreras1-1/+1
Fixes bug #576114. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26Remove core_finish, use core_unloadFelipe Contreras5-8/+8
Not much difference, but it will help for tunneling. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26util: trivial rearrangeFelipe Contreras1-19/+23
In preparation for following patches. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26Add core_stop function to split core_finishFelipe Contreras5-8/+19
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26basefilter: cleanupFelipe Contreras1-3/+8
So that logging doesn't get screwed. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26build: improve version generationFelipe Contreras2-8/+4
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26Add 'update-common' scriptFelipe Contreras1-0/+19
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26plugin: trivial cleanupFelipe Contreras1-1/+1
static > non-static Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26plugin: trivial cleanupFelipe Contreras1-27/+25
No need for a silly DEFAULT_RANK define. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26util: improve loggingFelipe Contreras1-12/+9
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26Trivial cleanup; rename client_data fieldFelipe Contreras21-22/+22
util (aka GOmx) needs to be further integrated. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26util: nicer error messagesFelipe Contreras1-1/+129
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26base_filter: cleanup PAUSED_TO_READYFelipe Contreras1-11/+4
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-04-26util: handle all errorsFelipe Contreras1-21/+8
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>