Skip to content
Snippets Groups Projects
Commit 91c6e342 authored by Julien Isorce's avatar Julien Isorce
Browse files

testegl: add a comment for the parse command

See https://bugzilla.gnome.org/show_bug.cgi?id=728940
parent 31cd1fd7
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment