tests: fix some caps
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 24 Feb 2012 09:21:31 +0000 (10:21 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 24 Feb 2012 09:21:31 +0000 (10:21 +0100)
tests/check/elements/mxfmux.c
tests/check/pipelines/mxf.c

index 6a531606d727cc9f831821106a8cb9c919ac6635..f8c931e2827de0f86057282799715783a2f945ce 100644 (file)
@@ -116,7 +116,7 @@ GST_START_TEST (test_mpeg2)
     return;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,framerate=25/1 ! "
+      "video/x-raw,framerate=25/1 ! "
       "%s ! " "mxfmux name=mux ! " "fakesink", mpeg2enc_name);
 
   run_test (pipeline);
@@ -130,11 +130,11 @@ GST_START_TEST (test_raw_video_raw_audio)
   gchar *pipeline;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
       "mxfmux name=mux ! "
       "fakesink  "
       "audiotestsrc num-buffers=250 ! "
-      "audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
+      "audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
 
   run_test (pipeline);
   g_free (pipeline);
@@ -147,7 +147,7 @@ GST_START_TEST (test_raw_video_stride_transform)
   gchar *pipeline;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1001,height=501,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1001,height=501,framerate=25/1 ! "
       "mxfmux name=mux ! " "fakesink");
 
   run_test (pipeline);
@@ -169,7 +169,7 @@ GST_START_TEST (test_jpeg2000_alaw)
   gst_object_unref (factory);
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,framerate=25/1 ! "
+      "video/x-raw,framerate=25/1 ! "
       "jp2kenc ! "
       "mxfmux name=mux ! "
       "fakesink  "
@@ -197,13 +197,13 @@ GST_START_TEST (test_dnxhd_mp3)
   gst_object_unref (factory);
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)Y42B,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)Y42B,width=1920,height=1080,framerate=25/1 ! "
       "ffenc_dnxhd bitrate=36000000 ! "
       "mxfmux name=mux ! "
       "fakesink  "
       "audiotestsrc num-buffers=250 ! "
       "audioconvert ! "
-      "audio/x-raw-int,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
+      "audio/x-raw,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
 
   run_test (pipeline);
   g_free (pipeline);
@@ -216,22 +216,22 @@ GST_START_TEST (test_multiple_av_streams)
   gchar *pipeline;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
       "mxfmux name=mux ! "
       "fakesink  "
       "audiotestsrc num-buffers=250 ! "
       "audioconvert ! "
-      "audio/x-raw-int,rate=48000,channels=2 ! "
+      "audio/x-raw,rate=48000,channels=2 ! "
       "mux. "
       "videotestsrc num-buffers=100 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
       "mux. "
       "audiotestsrc num-buffers=100 ! "
       "audioconvert ! "
-      "audio/x-raw-int,rate=48000,channels=2 ! "
+      "audio/x-raw,rate=48000,channels=2 ! "
       "mux. "
       "audiotestsrc num-buffers=250 ! "
-      "audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
+      "audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
 
   run_test (pipeline);
   g_free (pipeline);
index 675f446ec31af73e8892bfa18de9eec55f2910a9..230eb3aecb2d5e944b6de1c5cc6b7e2093fa972e 100644 (file)
@@ -132,7 +132,7 @@ GST_START_TEST (test_mpeg2)
     return;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,framerate=25/1 ! "
+      "video/x-raw,framerate=25/1 ! "
       "%s ! " "mxfmux name=mux ! "
       "mxfdemux name=demux ! " "fakesink", mpeg2enc_name);
 
@@ -147,12 +147,12 @@ GST_START_TEST (test_raw_video_raw_audio)
   gchar *pipeline;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
       "mxfmux name=mux ! "
       "mxfdemux name=demux ! "
       "fakesink  "
       "audiotestsrc num-buffers=250 ! "
-      "audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
+      "audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
 
   run_test (pipeline, 2);
   g_free (pipeline);
@@ -165,7 +165,7 @@ GST_START_TEST (test_raw_video_stride_transform)
   gchar *pipeline;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1001,height=501,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1001,height=501,framerate=25/1 ! "
       "mxfmux name=mux ! " "mxfdemux name=demux ! " "fakesink");
 
   run_test (pipeline, 1);
@@ -187,7 +187,7 @@ GST_START_TEST (test_jpeg2000_alaw)
   gst_object_unref (factory);
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,framerate=25/1 ! "
+      "video/x-raw,framerate=25/1 ! "
       "jp2kenc ! "
       "mxfmux name=mux ! "
       "mxfdemux name=demux ! "
@@ -216,14 +216,14 @@ GST_START_TEST (test_dnxhd_mp3)
   gst_object_unref (factory);
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)Y42B,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)Y42B,width=1920,height=1080,framerate=25/1 ! "
       "ffenc_dnxhd bitrate=36000000 ! "
       "mxfmux name=mux ! "
       "mxfdemux name=demux ! "
       "fakesink  "
       "audiotestsrc num-buffers=250 ! "
       "audioconvert ! "
-      "audio/x-raw-int,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
+      "audio/x-raw,channels=2 ! " "lame ! " "mp3parse ! " "mux. ");
 
   run_test (pipeline, 2);
   g_free (pipeline);
@@ -236,23 +236,23 @@ GST_START_TEST (test_multiple_av_streams)
   gchar *pipeline;
 
   pipeline = g_strdup_printf ("videotestsrc num-buffers=250 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
       "mxfmux name=mux ! "
       "mxfdemux name=demux ! "
       "fakesink  "
       "audiotestsrc num-buffers=250 ! "
       "audioconvert ! "
-      "audio/x-raw-int,rate=48000,channels=2 ! "
+      "audio/x-raw,rate=48000,channels=2 ! "
       "mux. "
       "videotestsrc num-buffers=100 ! "
-      "video/x-raw-yuv,format=(GstFourcc)v308,width=1920,height=1080,framerate=25/1 ! "
+      "video/x-raw,format=(string)v308,width=1920,height=1080,framerate=25/1 ! "
       "mux. "
       "audiotestsrc num-buffers=100 ! "
       "audioconvert ! "
-      "audio/x-raw-int,rate=48000,channels=2 ! "
+      "audio/x-raw,rate=48000,channels=2 ! "
       "mux. "
       "audiotestsrc num-buffers=250 ! "
-      "audioconvert ! " "audio/x-raw-int,rate=48000,channels=2 ! " "mux. ");
+      "audioconvert ! " "audio/x-raw,rate=48000,channels=2 ! " "mux. ");
 
   run_test (pipeline, 5);
   g_free (pipeline);