X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fexamples%2Fencoding%2Fencoding.c;h=bb0072a86a2618c285a6823ecfa654c4efb23e31;hb=fb6d09055ae90979682fa4b1c6ee4f4abdaafd8f;hp=1fe34d084a324b765f14fbd1aaf6c70fa61c490b;hpb=32b14c6ed3501518aafa2cfe7aad3ccef7184bad;p=platform%2Fupstream%2Fgstreamer.git diff --git a/tests/examples/encoding/encoding.c b/tests/examples/encoding/encoding.c index 1fe34d0..bb0072a 100644 --- a/tests/examples/encoding/encoding.c +++ b/tests/examples/encoding/encoding.c @@ -395,8 +395,10 @@ main (int argc, char **argv) GstEncodingProfile *prof; gchar *inputuri; +#if !GLIB_CHECK_VERSION (2, 31, 0) if (!g_thread_supported ()) g_thread_init (NULL); +#endif ctx = g_option_context_new ("- encode URIs with GstProfile and encodebin"); g_option_context_add_main_entries (ctx, options, NULL); @@ -501,7 +503,7 @@ main (int argc, char **argv) return 1; } - /* Trancode file */ + /* Transcode file */ transcode_file (inputuri, outputuri, prof); /* cleanup */