summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@nokia.com>2010-03-08 22:00:49 +0200
committerFelipe Contreras <felipe.contreras@nokia.com>2010-03-08 22:01:15 +0200
commit5e7228c9dbe6c324934d513470d39b8fec05cdfb (patch)
tree9a9e137720d8f9f9b83f219debf2e2d5b24ba1b2
parent662a32e4ff44b067391fd7ed7bbef8875a3d8e45 (diff)
Add example configuration
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
-rw-r--r--example.conf59
-rw-r--r--omx/gstomx.c1
2 files changed, 59 insertions, 1 deletions
diff --git a/example.conf b/example.conf
new file mode 100644
index 0000000..a6f7de2
--- /dev/null
+++ b/example.conf
@@ -0,0 +1,59 @@
+omx_mpeg4dec,
+ type=GstOmxMpeg4Dec,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.video_decoder.mpeg4,
+ rank=256;
+
+omx_h264dec,
+ type=GstOmxH264Dec,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.video_decoder.avc,
+ rank=256;
+
+omx_h263dec,
+ type=GstOmxH263Dec,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.video_decoder.h263,
+ rank=256;
+
+omx_wmvdec,
+ type=GstOmxWmvDec,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.video_decoder.wmv,
+ rank=256;
+
+omx_mpeg4enc,
+ type=GstOmxMpeg4Enc,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.video_encoder.mpeg4,
+ rank=256;
+
+omx_h264enc,
+ type=GstOmxH264Enc,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.video_encoder.avc,
+ rank=256;
+
+omx_h263enc,
+ type=GstOmxH263Enc,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.video_encoder.h263,
+ rank=256;
+
+omx_vorbisdec,
+ type=GstOmxVorbisDec,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.audio_decoder.ogg.single,
+ rank=128;
+
+omx_mp3dec,
+ type=GstOmxMp3Dec,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.audio_decoder.mp3.mad,
+ rank=256;
+
+omx_audiosink,
+ type=GstOmxAudioSink,
+ library-name=libomxil-bellagio.so.0,
+ component-name=OMX.st.alsa.alsasink,
+ rank=0;
diff --git a/omx/gstomx.c b/omx/gstomx.c
index 71bafd9..a27b0b3 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -132,7 +132,6 @@ get_config_path (void)
/**
* @todo find a way to call plugin_init() when the config file changes
- * @todo provide a recommended system-wide config file
*/
/* TODO: we can cache table w/ gst_plugin_{get,set}_cache_data..