[sound-juicer] mb-test: Initialize gstreamer



commit ca73933fafd5d170a34c3b2695800fb19112cf91
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Wed Feb 25 11:07:03 2015 +0000

    mb-test: Initialize gstreamer
    
    Now that we use GstDateTime for the date metadata we need to initialize
    gstreamer before calling mb_metadata_getter_list_albums().

 tests/mb-test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/mb-test.c b/tests/mb-test.c
index c8f08cf..345cf9a 100644
--- a/tests/mb-test.c
+++ b/tests/mb-test.c
@@ -98,6 +98,7 @@ int main (int argc, char** argv)
   BraseroMediumMonitor *monitor;
 
   setlocale (LC_ALL, "");
+  gst_init (&argc, &argv);
 
   /* Make sure probing of the various media have settled before going on */
   monitor = brasero_medium_monitor_get_default ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]