docs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert
[platform/upstream/gstreamer.git] / gst / videobox / gstvideobox.c
index 0cb2200..247224f 100644 (file)
@@ -49,8 +49,8 @@
  * 
  * Sample pipeline:
  * |[
- * gst-launch videotestsrc ! videobox autocrop=true ! \
- *   "video/x-raw-yuv, width=600, height=400" ! ffmpegcolorspace ! ximagesink
+ * gst-launch-1.0 videotestsrc ! videobox autocrop=true ! \
+ *   "video/x-raw, width=600, height=400" ! videoconvert ! ximagesink
  * ]|
  */
 
@@ -161,10 +161,10 @@ fill_ayuv (GstVideoBoxFill fill_type, guint b_alpha,
   stride = GST_VIDEO_FRAME_PLANE_STRIDE (frame, 0);
 
   if (G_LIKELY (stride == 4 * width))
-    orc_splat_u32 ((guint32 *) dest, empty_pixel, width * height);
+    video_box_orc_splat_u32 ((guint32 *) dest, empty_pixel, width * height);
   else if (height) {
     for (; height; --height) {
-      orc_splat_u32 ((guint32 *) dest, empty_pixel, width);
+      video_box_orc_splat_u32 ((guint32 *) dest, empty_pixel, width);
       dest += stride;
     }
   }
@@ -1786,10 +1786,10 @@ fill_rgb32 (GstVideoBoxFill fill_type, guint b_alpha,
       (rgb_colors_B[fill_type] << (p[3] * 8)));
 
   if (stride == width * 4) {
-    orc_splat_u32 ((guint32 *) dest, empty_pixel, width * height);
+    video_box_orc_splat_u32 ((guint32 *) dest, empty_pixel, width * height);
   } else if (height) {
     for (; height; --height) {
-      orc_splat_u32 ((guint32 *) dest, empty_pixel, width);
+      video_box_orc_splat_u32 ((guint32 *) dest, empty_pixel, width);
       dest += stride;
     }
   }