From: Wim Taymans Date: Fri, 9 Dec 2011 10:00:46 +0000 (+0100) Subject: example: update for new caps X-Git-Tag: 1.6.0~802 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57775e09995210e650ad555770e3f6fdbd3a2284;p=platform%2Fupstream%2Fgst-rtsp-server.git example: update for new caps --- diff --git a/examples/test-auth.c b/examples/test-auth.c index 915173a..5cba45b 100644 --- a/examples/test-auth.c +++ b/examples/test-auth.c @@ -62,9 +62,9 @@ main (int argc, char *argv[]) * element with pay%d names will be a stream */ factory = gst_rtsp_media_factory_new (); gst_rtsp_media_factory_set_launch (factory, "( " - "videotestsrc ! video/x-raw-yuv,width=352,height=288,framerate=15/1 ! " + "videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! " "x264enc ! rtph264pay name=pay0 pt=96 " - "audiotestsrc ! audio/x-raw-int,rate=8000 ! " + "audiotestsrc ! audio/x-raw,rate=8000 ! " "alawenc ! rtppcmapay name=pay1 pt=97 " ")"); /* make a new authentication manager */ @@ -80,7 +80,7 @@ main (int argc, char *argv[]) /* make another factory */ factory = gst_rtsp_media_factory_new (); gst_rtsp_media_factory_set_launch (factory, "( " - "videotestsrc ! video/x-raw-yuv,width=352,height=288,framerate=30/1 ! " + "videotestsrc ! video/x-raw,width=352,height=288,framerate=30/1 ! " "x264enc ! rtph264pay name=pay0 pt=96 )"); /* make a new authentication manager */ auth = gst_rtsp_auth_new ();