diff --git a/sys/shm/gstshmsink.c b/sys/shm/gstshmsink.c index a44097b6ec..c3514c7829 100644 --- a/sys/shm/gstshmsink.c +++ b/sys/shm/gstshmsink.c @@ -26,7 +26,9 @@ * * Example launch lines * |[ - * gst-launch-1.0 -v videotestsrc ! shmsink socket-path=/tmp/blah shm-size=1000000 + * gst-launch-1.0 -v videotestsrc ! "video/x-raw, format=YUY2, color-matrix=sdtv, \ + * chroma-site=mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" \ + * ! shmsink socket-path=/tmp/blah shm-size=2000000 * ]| Send video to shm buffers. * */ diff --git a/sys/shm/gstshmsrc.c b/sys/shm/gstshmsrc.c index 59fe44d09c..86955602ae 100644 --- a/sys/shm/gstshmsrc.c +++ b/sys/shm/gstshmsrc.c @@ -27,8 +27,9 @@ * Example launch lines * |[ * gst-launch-1.0 shmsrc socket-path=/tmp/blah ! \ - * "video/x-yuv, format=YUY2, color-matrix=sdtv, \ - * chroma-site=mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" ! autovideosink + * "video/x-raw, format=YUY2, color-matrix=sdtv, \ + * chroma-site=mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" \ + * ! queue ! videoconvert ! autovideosink * ]| Render video from shm buffers. * */