[farsight2/master] Use the new function names for the codec discovery tests
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:19:53 PST 2008
---
tests/rtp/codec-discovery.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/rtp/codec-discovery.c b/tests/rtp/codec-discovery.c
index 376169a..d1063ca 100644
--- a/tests/rtp/codec-discovery.c
+++ b/tests/rtp/codec-discovery.c
@@ -15,27 +15,27 @@ int main (int argc, char **argv)
g_debug ("AUDIO STARTING!!");
- elements = load_codecs (FS_MEDIA_TYPE_AUDIO, &error);
+ elements = fs_rtp_blueprints_get (FS_MEDIA_TYPE_AUDIO, &error);
if (error)
g_debug ("Error: %s", error->message);
g_clear_error (&error);
- unload_codecs (FS_MEDIA_TYPE_AUDIO);
+ fs_rtp_blueprints_unref (FS_MEDIA_TYPE_AUDIO);
g_debug ("AUDIO FINISHED!!");
g_debug ("VIDEO STARTING!!");
- elements = load_codecs (FS_MEDIA_TYPE_VIDEO, &error);
+ elements = fs_rtp_blueprints_get (FS_MEDIA_TYPE_VIDEO, &error);
if (error)
g_debug ("Error: %s", error->message);
g_clear_error (&error);
- unload_codecs (FS_MEDIA_TYPE_VIDEO);
+ fs_rtp_blueprints_unref (FS_MEDIA_TYPE_VIDEO);
g_debug ("VIDEO FINISHED!!");
--
1.5.6.5
More information about the farsight-commits
mailing list