Update references to decodebin

Update old references for decodebin2 to decodebin.
This commit is contained in:
Luis de Bethencourt 2015-05-08 13:54:06 +01:00
parent d1f7c0e6fe
commit 8899efae60
7 changed files with 8 additions and 8 deletions

View file

@ -61,7 +61,7 @@
* Client (receiver) * Client (receiver)
* |[ * |[
* gst-launch udpsrc port=3333 ! "caps_from_rtpasfpay_at_sender" \ * gst-launch udpsrc port=3333 ! "caps_from_rtpasfpay_at_sender" \
* ! rtpasfdepay ! decodebin2 name=d ! queue \ * ! rtpasfdepay ! decodebin name=d ! queue \
* ! videoconvert ! autovideosink \ * ! videoconvert ! autovideosink \
* d. ! queue ! audioconvert ! autoaudiosink * d. ! queue ! audioconvert ! autoaudiosink
* ]| * ]|

View file

@ -27,7 +27,7 @@
* |[ * |[
* gst-launch videotestsrc ! fpsdisplaysink * gst-launch videotestsrc ! fpsdisplaysink
* gst-launch videotestsrc ! fpsdisplaysink text-overlay=false * gst-launch videotestsrc ! fpsdisplaysink text-overlay=false
* gst-launch filesrc location=video.avi ! decodebin2 name=d ! queue ! fpsdisplaysink d. ! queue ! fakesink sync=true * gst-launch filesrc location=video.avi ! decodebin name=d ! queue ! fpsdisplaysink d. ! queue ! fakesink sync=true
* gst-launch playbin uri=file:///path/to/video.avi video-sink="fpsdisplaysink" audio-sink=fakesink * gst-launch playbin uri=file:///path/to/video.avi video-sink="fpsdisplaysink" audio-sink=fakesink
* ]| * ]|
* </refsect2> * </refsect2>

View file

@ -23,7 +23,7 @@
/* TODO: /* TODO:
* - playbin hangs on a lot of MXF/DV-DIF files (bug #563827) * - playbin hangs on a lot of MXF/DV-DIF files (bug #563827)
* - decodebin2 creates loops inside the linking graph (bug #563828) * - decodebin creates loops inside the linking graph (bug #563828)
* - track descriptor might be multiple descriptor, one for sound, one for video * - track descriptor might be multiple descriptor, one for sound, one for video
* - there might be 2 tracks for one essence, i.e. one audio/one video track * - there might be 2 tracks for one essence, i.e. one audio/one video track
*/ */

View file

@ -25,7 +25,7 @@
* <refsect2> * <refsect2>
* <title>Example launch line</title> * <title>Example launch line</title>
* |[ * |[
* gst-launch -v filesrc location=/path/to/audio ! decodebin2 ! queue ! mxfmux name=m ! filesink location=file.mxf filesrc location=/path/to/video ! decodebin2 ! queue ! m. * gst-launch -v filesrc location=/path/to/audio ! decodebin ! queue ! mxfmux name=m ! filesink location=file.mxf filesrc location=/path/to/video ! decodebin ! queue ! m.
* ]| This pipeline muxes an audio and video file into a single MXF file. * ]| This pipeline muxes an audio and video file into a single MXF file.
* </refsect2> * </refsect2>
*/ */

View file

@ -39,8 +39,8 @@
* <title>Example launch line</title> * <title>Example launch line</title>
* |[ * |[
* gst-launch ssim name=ssim ssim.src0 ! videoconvert ! glimagesink filesrc * gst-launch ssim name=ssim ssim.src0 ! videoconvert ! glimagesink filesrc
* location=orig.avi ! decodebin2 ! ssim.original filesrc location=compr.avi ! * location=orig.avi ! decodebin ! ssim.original filesrc location=compr.avi !
* decodebin2 ! ssim.modified0 * decodebin ! ssim.modified0
* ]| This pipeline produces a video stream that consists of SSIM frames. * ]| This pipeline produces a video stream that consists of SSIM frames.
* </refsect2> * </refsect2>
*/ */

View file

@ -360,7 +360,7 @@ gst_h264_parse_negotiate (GstH264Parse * h264parse, gint in_format,
caps = gst_pad_get_allowed_caps (GST_BASE_PARSE_SRC_PAD (h264parse)); caps = gst_pad_get_allowed_caps (GST_BASE_PARSE_SRC_PAD (h264parse));
GST_DEBUG_OBJECT (h264parse, "allowed caps: %" GST_PTR_FORMAT, caps); GST_DEBUG_OBJECT (h264parse, "allowed caps: %" GST_PTR_FORMAT, caps);
/* concentrate on leading structure, since decodebin2 parser /* concentrate on leading structure, since decodebin parser
* capsfilter always includes parser template caps */ * capsfilter always includes parser template caps */
if (caps) { if (caps) {
caps = gst_caps_truncate (caps); caps = gst_caps_truncate (caps);

View file

@ -320,7 +320,7 @@ gst_h265_parse_negotiate (GstH265Parse * h265parse, gint in_format,
caps = gst_pad_get_allowed_caps (GST_BASE_PARSE_SRC_PAD (h265parse)); caps = gst_pad_get_allowed_caps (GST_BASE_PARSE_SRC_PAD (h265parse));
GST_DEBUG_OBJECT (h265parse, "allowed caps: %" GST_PTR_FORMAT, caps); GST_DEBUG_OBJECT (h265parse, "allowed caps: %" GST_PTR_FORMAT, caps);
/* concentrate on leading structure, since decodebin2 parser /* concentrate on leading structure, since decodebin parser
* capsfilter always includes parser template caps */ * capsfilter always includes parser template caps */
if (caps) { if (caps) {
caps = gst_caps_truncate (caps); caps = gst_caps_truncate (caps);