summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@collabora.co.uk>2014-06-25 09:36:38 +0100
committerJulien Isorce <julien.isorce@collabora.co.uk>2014-06-25 10:50:54 +0100
commit91c6e34217a5badfd49a76b1b333b49f69cb278f (patch)
tree57b3810b64a2a9c689cc6c709577074a25b85f7d
parent31cd1fd77b893c6273c447e972f1fe975d188605 (diff)
downloadgst-omx-91c6e34217a5badfd49a76b1b333b49f69cb278f.tar.gz
testegl: add a comment for the parse command
See https://bugzilla.gnome.org/show_bug.cgi?id=728940
-rw-r--r--examples/egl/testegl.c24
1 files changed, 23 insertions, 1 deletions
diff --git a/examples/egl/testegl.c b/examples/egl/testegl.c
index 5dbb9b4..db0fc4d 100644
--- a/examples/egl/testegl.c
+++ b/examples/egl/testegl.c
@@ -1167,7 +1167,29 @@ init_parse_launch_player (APP_STATE_T * state, const gchar * spipeline)
GstElement *vsink;
GError *error = NULL;
- // TODO handle parse
+ /* ex:
+
+ ./testegl "filesrc location=big_buck_bunny_720p_h264.mov ! qtdemux ! \
+ h264parse ! omxh264dec ! glcolorscale ! fakesink name=vsink"
+
+ ./testegl "filesrc location=big_buck_bunny_720p_h264.mov ! qtdemux ! \
+ h264parse ! omxh264dec ! glcolorscale ! \
+ video/x-raw(memory:EGLImage) ! fakesink name=vsink"
+
+ ./testegl "filesrc location=big_buck_bunny_720p_h264.mov ! qtdemux ! \
+ h264parse ! omxh264dec ! glcolorscale ! \
+ video/x-raw(memory:GLMemory) ! fakesink name=vsink"
+
+ ./testegl "filesrc location=big_buck_bunny_720p_h264.mov ! qtdemux ! \
+ h264parse ! omxh264dec ! glcolorscale ! \
+ video/x-raw(meta:GstVideoGLTextureUploadMeta) ! \
+ fakesink name=vsink"
+
+ */
+
+ /* pipeline 1 and 2 are the same and the most efficient as glcolorscale
+ * will enter in passthrough mode and testegl will just bind the eglimage
+ * to a gl texture without any copy. */
state->pipeline = gst_parse_launch (spipeline, &error);