mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
tests/examples/test4.c: C90 fixes
This commit is contained in:
parent
175296c174
commit
ebaffc5b33
1 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,8 @@
|
||||||
#include <ges/ges.h>
|
#include <ges/ges.h>
|
||||||
#include <gst/profile/gstprofile.h>
|
#include <gst/profile/gstprofile.h>
|
||||||
|
|
||||||
|
GstEncodingProfile *make_ogg_vorbis_profile (void);
|
||||||
|
|
||||||
/* This example will take a series of files and create a audio-only timeline
|
/* This example will take a series of files and create a audio-only timeline
|
||||||
* containing the first second of each file and render it to the output uri
|
* containing the first second of each file and render it to the output uri
|
||||||
* using ogg/vorbis */
|
* using ogg/vorbis */
|
||||||
|
@ -33,7 +35,7 @@ make_ogg_vorbis_profile (void)
|
||||||
GstEncodingProfile *profile;
|
GstEncodingProfile *profile;
|
||||||
GstStreamEncodingProfile *audiostream;
|
GstStreamEncodingProfile *audiostream;
|
||||||
|
|
||||||
profile = gst_encoding_profile_new ("ges-test4",
|
profile = gst_encoding_profile_new ((gchar *) "ges-test4",
|
||||||
gst_caps_new_simple ("application/ogg", NULL), NULL, FALSE);
|
gst_caps_new_simple ("application/ogg", NULL), NULL, FALSE);
|
||||||
audiostream = gst_stream_encoding_profile_new (GST_ENCODING_PROFILE_AUDIO,
|
audiostream = gst_stream_encoding_profile_new (GST_ENCODING_PROFILE_AUDIO,
|
||||||
gst_caps_new_simple ("audio/x-vorbis", NULL), NULL, NULL, 1);
|
gst_caps_new_simple ("audio/x-vorbis", NULL), NULL, NULL, 1);
|
||||||
|
|
Loading…
Reference in a new issue