encoding-profile: Fix syntax in Example: Creating a profile
https://bugzilla.gnome.org/show_bug.cgi?id=645437
This commit is contained in:
parent
75897c716f
commit
0af549ace0
@ -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);
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user