summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-09-24 15:41:57 +0200
committerJosep Torra <n770galaxy@gmail.com>2013-09-24 15:41:57 +0200
commit87cc0e654fb8025015679e945782af9aca5eff76 (patch)
tree516fb06be32220c1df4d5f0e0a1713b756c51bb2
parent22de86e3702e875bd0b428b0d183b0fd6f648da2 (diff)
downloadgst-omx-87cc0e654fb8025015679e945782af9aca5eff76.tar.gz
examples: request native video
There's no need for video conversion elements so don't autoplug them.
-rw-r--r--examples/egl/testegl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/egl/testegl.c b/examples/egl/testegl.c
index 89a846b..4f609a6 100644
--- a/examples/egl/testegl.c
+++ b/examples/egl/testegl.c
@@ -946,7 +946,8 @@ init_playbin_player (APP_STATE_T * state, const gchar * uri)
/* Instantiate and configure playbin2 */
state->pipeline = gst_element_factory_make ("playbin2", "player");
- g_object_set (state->pipeline, "uri", uri, "video-sink", vsink, NULL);
+ g_object_set (state->pipeline, "uri", uri, "video-sink", vsink,
+ "flags", 0x53, NULL);
state->vsink = gst_object_ref (vsink);
return TRUE;