diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2013-12-02 14:16:20 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2013-12-02 14:16:20 -0500 |
commit | 18c378634bee3e6ccaa56703e1973f2557c507b4 (patch) | |
tree | 1d96536e24a5d572b51297e3a77f1fcfc88e5b73 | |
parent | 5847b5b34a51f44ec8bcdae53e889298d6d9b174 (diff) | |
download | evas_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.c | 2 |
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); |