* <refsect2>
* <title>Example launch line</title>
* |[
- * gst-launch-0.10 -v dataurisrc uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAfElEQVQ4je2MwQnAIAxFgziA4EnczIsO4MEROo/gzZWc4xdTbe1R6LGRR74heYS7iKElzfcMiRnt4hf8gk8EayB6luefue/HzlJfCA50XsNjYRxprZmenXNIKSGEsC+QUqK1hhgj521BzhnWWiilUGvdF5RS4L2HMQZCCJy8sHMm2TYdJAAAAABJRU5ErkJggg==" ! pngdec ! ffmpegcolorspace ! freeze ! ffmpegcolorspace ! autovideosink
+ * gst-launch-0.10 -v dataurisrc uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAfElEQVQ4je2MwQnAIAxFgziA4EnczIsO4MEROo/gzZWc4xdTbe1R6LGRR74heYS7iKElzfcMiRnt4hf8gk8EayB6luefue/HzlJfCA50XsNjYRxprZmenXNIKSGEsC+QUqK1hhgj521BzhnWWiilUGvdF5RS4L2HMQZCCJy8sHMm2TYdJAAAAABJRU5ErkJggg==" ! pngdec ! videoconvert ! freeze ! videoconvert ! autovideosink
* ]| This pipeline displays a small 16x16 PNG image from the data URI.
* </refsect2>
*/
/* sine wave encoded in ogg/vorbis, created with:
* gst-launch-0.10 audiotestsrc num-buffers=110 ! audioconvert ! \
- * audio/x-raw-float,channels=1 ! vorbisenc ! oggmux ! \
+ * audio/x-raw,channels=1 ! vorbisenc ! oggmux ! \
* filesink location=sine.ogg
* and then encoded to base64 */
const gchar data_uri[] = "data:audio/ogg;base64,"
GstElement *playbin, *sink;
int loops = 2;
- playbin = gst_element_factory_make ("playbin2", NULL);
+ playbin = gst_element_factory_make ("playbin", NULL);
sink = gst_element_factory_make ("fakesink", NULL);
if (playbin == NULL || sink == NULL) {
- GST_WARNING ("skipping test, no playbin2 or fakesink element(s)");
+ GST_WARNING ("skipping test, no playbin or fakesink element(s)");
return;
}