encoding-profile: Fix syntax in Example: Creating a profile

https://bugzilla.gnome.org/show_bug.cgi?id=645437
This commit is contained in:
Fraxinas 2011-03-21 19:22:30 +01:00 committed by Edward Hervey
parent 75897c716f
commit 0af549ace0

View file

@ -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);
*