splitmuxsink: fix example pipeline properly
authorTim-Philipp Müller <tim@centricular.com>
Tue, 10 Feb 2015 16:00:07 +0000 (16:00 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 10 Feb 2015 16:00:07 +0000 (16:00 +0000)
x264enc might not have a max-key-int property, but it
has a key-int-max property...

gst/multifile/gstsplitmuxsink.c

index ff706a5..3e0932c 100644 (file)
@@ -40,7 +40,7 @@
  * <refsect2>
  * <title>Example pipelines</title>
  * |[
- * gst-launch-1.0 -e v4l2src num-buffers=500 ! video/x-raw,width=320,height=240 ! videoconvert ! queue ! timeoverlay ! x264enc ! h264parse ! splitmuxsink location=video%02d.mov max-size-time=10000000000 max-size-bytes=1000000
+ * gst-launch-1.0 -e v4l2src num-buffers=500 ! video/x-raw,width=320,height=240 ! videoconvert ! queue ! timeoverlay ! x264enc key-int-max=10 ! h264parse ! splitmuxsink location=video%02d.mov max-size-time=10000000000 max-size-bytes=1000000
  * ]|
  *
  * Records a video stream captured from a v4l2 device and muxes it into