gstpad: use hook_id instead of hook in called_probes list
[platform/upstream/gstreamer.git] / tests / benchmarks / gstclockstress.c
index 47aa5cc..0d30900 100644 (file)
@@ -13,8 +13,8 @@
  *
  * You should have received a copy of the GNU Library General Public
  * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 
 #include <stdio.h>
@@ -74,7 +74,8 @@ main (gint argc, gchar * argv[])
         sysclock, &error);
 
     if (error) {
-      printf ("ERROR: g_thread_create() %s\n", error->message);
+      printf ("ERROR: g_thread_try_new() %s\n", error->message);
+      g_clear_error (&error);
       exit (-1);
     }
   }