gst/playback/: Fix tests again

Original commit message from CVS:
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
Fix tests again
This commit is contained in:
Wim Taymans 2005-10-20 17:42:57 +00:00
parent 2548818edc
commit 42f0462534
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2005-10-20 Wim Taymans <wim@fluendo.com>
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
Fix tests again
2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audiotestsrc_src_query):

View file

@ -68,7 +68,7 @@ dump_element_stats (GstElement * element)
g_print (" caps: %s\n", str);
g_free (str);
query = gst_query_new_position (GST_FORMAT_TIME);
query = gst_query_new_duration (GST_FORMAT_TIME);
if (gst_pad_query (pad, query)) {
gint64 duration;

View file

@ -74,7 +74,7 @@ main (gint argc, gchar * argv[])
g_print (" caps: %s\n", str);
g_free (str);
query = gst_query_new_position (GST_FORMAT_TIME);
query = gst_query_new_duration (GST_FORMAT_TIME);
if (gst_pad_query (pad, query)) {
gint64 duration;