summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-01-04 09:52:47 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-01-04 09:55:28 +0200
commitb53972a5cb98830b2ed837a8b74c6b3750e3a330 (patch)
tree7d4711c1592e5d5ddddc2c1c4c42f87d77aacd5d /tests
parent40b0736dfd2640f296ff0889709c9b824fde5edd (diff)
downloadgstreamer-plugins-bad-b53972a5cb98830b2ed837a8b74c6b3750e3a330.tar.gz
player: Remove gst_player_new() and make gst_player_new_full() the normal constructor
In very few cases the simple version was actually needed and having the parameters hidden by a _full() version caused application that actually needed it to not use it.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/player.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/check/libs/player.c b/tests/check/libs/player.c
index 0f7a63c28..5586e63dd 100644
--- a/tests/check/libs/player.c
+++ b/tests/check/libs/player.c
@@ -69,7 +69,7 @@ START_TEST (test_create_and_free)
{
GstPlayer *player;
- player = gst_player_new ();
+ player = gst_player_new (NULL, NULL);
fail_unless (player != NULL);
g_object_unref (player);
}
@@ -81,7 +81,7 @@ START_TEST (test_set_and_get_uri)
GstPlayer *player;
gchar *uri;
- player = gst_player_new ();
+ player = gst_player_new (NULL, NULL);
fail_unless (player != NULL);
@@ -101,7 +101,7 @@ START_TEST (test_set_and_get_position_update_interval)
GstPlayer *player;
guint interval = 0;
- player = gst_player_new ();
+ player = gst_player_new (NULL, NULL);
fail_unless (player != NULL);
@@ -355,7 +355,7 @@ test_player_new (TestPlayerState * state)
GstElement *playbin, *fakesink;
player =
- gst_player_new_full (NULL,
+ gst_player_new (NULL,
gst_player_g_main_context_signal_dispatcher_new (NULL));
fail_unless (player != NULL);