From 0af549ace012db3a8fb18a099a6fa4198257857d Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Mon, 21 Mar 2011 19:22:30 +0100 Subject: [PATCH] encoding-profile: Fix syntax in Example: Creating a profile https://bugzilla.gnome.org/show_bug.cgi?id=645437 --- gst-libs/gst/pbutils/encoding-profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index b1c8051b6e..eaa7507cba 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -68,12 +68,12 @@ * gst_caps_unref (caps); * * caps = gst_caps_from_string("video/x-theora"); - * sprof = gst_encoding_container_profile_add_profile( + * gst_encoding_container_profile_add_profile(prof, * (GstEncodingProfile*) gst_encoding_video_profile_new(caps, NULL, NULL, 0)); * gst_caps_unref (caps); * * caps = gst_caps_from_string("audio/x-vorbis"); - * sprof = gst_encoding_container_profile_add_profile( + * gst_encoding_container_profile_add_profile(prof, * (GstEncodingProfile*) gst_encoding_audio_profile_new(caps, NULL, NULL, 0)); * gst_caps_unref (caps); *