From 8899efae6061c7293543fdd238011c983a7b82ad Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 8 May 2015 13:54:06 +0100 Subject: [PATCH] Update references to decodebin Update old references for decodebin2 to decodebin. --- gst/asfmux/gstasfmux.c | 2 +- gst/debugutils/fpsdisplaysink.c | 2 +- gst/mxf/mxfdv-dif.c | 2 +- gst/mxf/mxfmux.c | 2 +- gst/videomeasure/gstvideomeasure_ssim.c | 4 ++-- gst/videoparsers/gsth264parse.c | 2 +- gst/videoparsers/gsth265parse.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gst/asfmux/gstasfmux.c b/gst/asfmux/gstasfmux.c index 8bcf0a0eab..7614de5717 100644 --- a/gst/asfmux/gstasfmux.c +++ b/gst/asfmux/gstasfmux.c @@ -61,7 +61,7 @@ * Client (receiver) * |[ * gst-launch udpsrc port=3333 ! "caps_from_rtpasfpay_at_sender" \ - * ! rtpasfdepay ! decodebin2 name=d ! queue \ + * ! rtpasfdepay ! decodebin name=d ! queue \ * ! videoconvert ! autovideosink \ * d. ! queue ! audioconvert ! autoaudiosink * ]| diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index a2ee5832f1..0708bc0051 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -27,7 +27,7 @@ * |[ * gst-launch videotestsrc ! fpsdisplaysink * 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 * ]| * diff --git a/gst/mxf/mxfdv-dif.c b/gst/mxf/mxfdv-dif.c index dda0caedbd..6f72c902af 100644 --- a/gst/mxf/mxfdv-dif.c +++ b/gst/mxf/mxfdv-dif.c @@ -23,7 +23,7 @@ /* TODO: * - 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 * - there might be 2 tracks for one essence, i.e. one audio/one video track */ diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c index a08d05e82c..273d3b6990 100644 --- a/gst/mxf/mxfmux.c +++ b/gst/mxf/mxfmux.c @@ -25,7 +25,7 @@ * * Example launch line * |[ - * 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. * */ diff --git a/gst/videomeasure/gstvideomeasure_ssim.c b/gst/videomeasure/gstvideomeasure_ssim.c index 8ccac88b09..e85d68fbe0 100644 --- a/gst/videomeasure/gstvideomeasure_ssim.c +++ b/gst/videomeasure/gstvideomeasure_ssim.c @@ -39,8 +39,8 @@ * Example launch line * |[ * gst-launch ssim name=ssim ssim.src0 ! videoconvert ! glimagesink filesrc - * location=orig.avi ! decodebin2 ! ssim.original filesrc location=compr.avi ! - * decodebin2 ! ssim.modified0 + * location=orig.avi ! decodebin ! ssim.original filesrc location=compr.avi ! + * decodebin ! ssim.modified0 * ]| This pipeline produces a video stream that consists of SSIM frames. * */ diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 7546e6f509..969342eb48 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -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)); 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 */ if (caps) { caps = gst_caps_truncate (caps); diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 86f4f7a9cd..896b7e8d45 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -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)); 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 */ if (caps) { caps = gst_caps_truncate (caps);