summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-02 14:16:20 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-02 14:16:20 -0500
commit18c378634bee3e6ccaa56703e1973f2557c507b4 (patch)
tree1d96536e24a5d572b51297e3a77f1fcfc88e5b73
parent5847b5b34a51f44ec8bcdae53e889298d6d9b174 (diff)
downloadevas_generic_loaders-18c378634bee3e6ccaa56703e1973f2557c507b4.tar.gz
bugfix: add a typefind to gstreamer plugin pipeline
previously, we would load any file and try to force it into video/x-raw-rgb, which was (obviously) problematic for audio-only files. with a typefind added to the pipeline, only files which can output to video/x-raw-rgb will be processed
-rw-r--r--src/bin/gst/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/gst/main.c b/src/bin/gst/main.c
index 4ef774a..5e3fc7c 100644
--- a/src/bin/gst/main.c
+++ b/src/bin/gst/main.c
@@ -67,7 +67,7 @@ _gst_init(const char *filename)
D("Setting file %s\n", uri);
- descr = g_strdup_printf("uridecodebin uri=%s ! ffmpegcolorspace ! "
+ descr = g_strdup_printf("uridecodebin uri=%s ! typefind ! ffmpegcolorspace ! "
" appsink name=sink caps=\"" CAPS "\"", uri);
pipeline = gst_parse_launch(descr, &error);
free(uri);