Add documentation for aspectratiocrop
authorThijs Vermeir <thijsvermeir@gmail.com>
Fri, 23 Jan 2009 20:46:13 +0000 (21:46 +0100)
committerThijs Vermeir <thijsvermeir@gmail.com>
Sat, 24 Jan 2009 13:21:56 +0000 (14:21 +0100)
docs/plugins/Makefile.am
docs/plugins/gst-plugins-good-plugins-docs.sgml
docs/plugins/gst-plugins-good-plugins-sections.txt
docs/plugins/gst-plugins-good-plugins.args
docs/plugins/gst-plugins-good-plugins.hierarchy
docs/plugins/gst-plugins-good-plugins.interfaces
docs/plugins/gst-plugins-good-plugins.prerequisites
docs/plugins/inspect/plugin-videocrop.xml
gst/videocrop/gstaspectratiocrop.c

index f5f0d97..49b811a 100644 (file)
@@ -155,6 +155,7 @@ EXTRA_HFILES = \
        $(top_srcdir)/gst/udp/gstmultiudpsink.h \
        $(top_srcdir)/gst/udp/gstudpsrc.h \
        $(top_srcdir)/gst/videocrop/gstvideocrop.h \
+       $(top_srcdir)/gst/videocrop/gstaspectratiocrop.h \
        $(top_srcdir)/gst/videofilter/gstgamma.h \
        $(top_srcdir)/gst/videofilter/gstvideobalance.h \
        $(top_srcdir)/gst/videofilter/gstvideoflip.h \
index 1a9c2ea..7a81eaf 100644 (file)
     <xi:include href="xml/element-alphacolor.xml" />
     <xi:include href="xml/element-apedemux.xml" />
     <xi:include href="xml/element-apev2mux.xml" />
+    <xi:include href="xml/element-aspectratiocrop.xml" />
     <xi:include href="xml/element-audioamplify.xml" />
     <xi:include href="xml/element-audiochebband.xml" />
     <xi:include href="xml/element-audiocheblimit.xml" />
+    <xi:include href="xml/element-audiofirfilter.xml" />
     <xi:include href="xml/element-audioiirfilter.xml" />
     <xi:include href="xml/element-audiowsincband.xml" />
     <xi:include href="xml/element-audiowsinclimit.xml" />
-    <xi:include href="xml/element-audiofirfilter.xml" />
     <xi:include href="xml/element-audioecho.xml" />
     <xi:include href="xml/element-audiodynamic.xml" />
     <xi:include href="xml/element-audioinvert.xml" />
index 332c36d..398effd 100644 (file)
@@ -1349,6 +1349,21 @@ GST_TYPE_VIDEO_CROP
 </SECTION>
 
 <SECTION>
+<FILE>element-aspectratiocrop</FILE>
+<TITLE>aspectratiocrop</TITLE>
+GstAspectRatioCrop
+<SUBSECTION Standard>
+GstAspectRatioCropClass
+AspectRatioCropPixelFormat
+GstAspectRatioCropImageDetails
+GST_IS_ASPECT_RATIO_CROP
+GST_IS_ASPECT_RATIO_CROP_CLASS
+GST_ASPECT_RATIO_CROP
+GST_ASPECT_RATIO_CROP_CLASS
+GST_TYPE_ASPECT_RATIO_CROP
+</SECTION>
+
+<SECTION>
 <FILE>element-videoflip</FILE>
 <TITLE>videoflip</TITLE>
 GstVideoFlip
index 5d64628..f352ceb 100644 (file)
 <DEFAULT>0</DEFAULT>
 </ARG>
 
+<ARG>
+<NAME>GstAspectRatioCrop::aspect-ratio</NAME>
+<TYPE>GstFraction</TYPE>
+<RANGE></RANGE>
+<FLAGS>rw</FLAGS>
+<NICK>aspect-ratio</NICK>
+<BLURB>Target aspect-ratio of video.</BLURB>
+<DEFAULT></DEFAULT>
+</ARG>
+
index 914c4d8..edae7e4 100644 (file)
@@ -11,32 +11,79 @@ GObject
     GstElement
       GstBin
         GstPipeline
-        GstHalAudioSink
-        GstHalAudioSrc
         GstGConfVideoSink
         GstGConfVideoSrc
         GstSwitchSink
           GstGConfAudioSink
         GstGConfAudioSrc
-        GstRTSPSrc
+        GstHalAudioSink
+        GstHalAudioSrc
+        GstAspectRatioCrop
+        GstRgVolume
         GstAutoVideoSink
         GstAutoVideoSrc
         GstAutoAudioSink
         GstAutoAudioSrc
-        GstRgVolume
-      GstCairoTextOverlay
+        GstRTSPSrc
+      GstTagLibMux
+        GstId3v2Mux
+        GstApev2Mux
+      GstPngDec
+      GstPngEnc
+      GstBaseSrc
+        GstPushSrc
+          GstSoupHTTPSrc
+          GstBaseAudioSrc
+            GstAudioSrc
+              GstPulseSrc
+              GstOssSrc
+          GstDV1394Src
+          GstHDV1394Src
+          GstV4l2Src
+          GstXImageSrc
+          GstMultiFileSrc
+          GstUDPSrc
+      GstBaseSink
+        GstBaseAudioSink
+          GstAudioSink
+            GstEsdSink
+            GstPulseSink
+            GstOssSink
+        GstAASink
+        GstVideoSink
+          GstGdkPixbufSink
+        GstCACASink
+        GstShout2send
+        GstTest
+        GstMultiFileSink
+        GstMultiUDPSink
+          GstUDPSink
+        GstDynUDPSink
+      GstPulseMixer
+      GstJpegEnc
+      GstJpegDec
+      GstSmokeEnc
+      GstSmokeDec
+      GstWavpackParse
+      GstWavpackDec
+      GstWavpackEnc
+      GstFlacEnc
+      GstFlacDec
+      GstFlacTag
+      GstDVDemux
+      GstDVDec
+      GstSpeexEnc
+      GstSpeexDec
+      GstGdkPixbuf
       GstBaseTransform
-        GstCairoTimeOverlay
         GstPixbufScale
+        GstCairoTimeOverlay
         GstVideoBox
-        GstAlpha
-        GstAlphaColor
         GstVideoFilter
-          GstNavigationtest
-          GstVideoBalance
           GstVideoFlip
+          GstVideoBalance
           GstGamma
-          GstSMPTEAlpha
+          GstNavigationtest
           GstEdgeTV
           GstAgingTV
           GstDiceTV
@@ -45,13 +92,10 @@ GObject
           GstVertigoTV
           GstRevTV
           GstQuarkTV
-        GstBreakMyData
-        GstNavSeek
-        GstProgressReport
-        GstTagInject
-        GstLevel
+          GstSMPTEAlpha
+        GstVideoCrop
+        GstAudioPanorama
         GstAudioFilter
-          GstSpectrum
           GstAudioInvert
           GstAudioKaraoke
           GstAudioAmplify
@@ -69,88 +113,38 @@ GObject
             GstIirEqualizerNBands
             GstIirEqualizer3Bands
             GstIirEqualizer10Bands
-        GstAudioPanorama
+          GstSpectrum
         GstRgAnalysis
         GstRgLimiter
-        GstVideoCrop
-      GstBaseSrc
-        GstPushSrc
-          GstSoupHTTPSrc
-          GstBaseAudioSrc
-            GstAudioSrc
-              GstPulseSrc
-              GstOssSrc
-          GstDV1394Src
-          GstHDV1394Src
-          GstXImageSrc
-          GstV4l2Src
-          GstUDPSrc
-          GstMultiFileSrc
-      GstBaseSink
-        GstCACASink
-        GstBaseAudioSink
-          GstAudioSink
-            GstPulseSink
-            GstEsdSink
-            GstOssSink
-        GstAASink
-        GstVideoSink
-          GstGdkPixbufSink
-        GstShout2send
-        GstTest
-        GstMultiUDPSink
-          GstUDPSink
-        GstDynUDPSink
-        GstMultiFileSink
-      GstPulseMixer
-      GstTagLibMux
-        GstId3v2Mux
-        GstApev2Mux
-      GstJpegEnc
-      GstJpegDec
-      GstSmokeEnc
-      GstSmokeDec
-      GstDVDemux
-      GstDVDec
+        GstBreakMyData
+        GstNavSeek
+        GstProgressReport
+        GstTagInject
+        GstAlphaColor
+        GstAlpha
+        GstLevel
       GstCmmlEnc
       GstCmmlDec
-      GstFlacEnc
-      GstFlacDec
-      GstFlacTag
-      GstPngDec
-      GstPngEnc
-      GstGdkPixbuf
-      GstWavpackParse
-      GstWavpackDec
-      GstWavpackEnc
-      GstSpeexEnc
-      GstSpeexDec
+      GstCairoTextOverlay
       GstOssMixerElement
-      GstRTPDec
-      GstICYDemux
-      GstWavParse
-      GstEbmlRead
-        GstMatroskaDemux
-      GstMatroskaMux
+      GstMultipartDemux
+      GstMultipartMux
       GstFlxDec
+      GstAuParse
+      GstALawEnc
+      GstALawDec
+      GstMuLawEnc
+      GstMuLawDec
       GstVideoMixer
-      GstTagDemux
-        GstApeDemux
-        GstID3Demux
       GstRndBufferSize
       GstEFence
-      GstGoom
+      GstTagDemux
+        GstID3Demux
+        GstApeDemux
       GstGoom2k1
-      GstMultipartDemux
-      GstMultipartMux
-      GstMuLawEnc
-      GstMuLawDec
-      GstALawEnc
-      GstALawDec
-      GstCutter
-      GstQTDemux
+      GstWavEnc
+      GstRTPDepay
       GstBaseRTPDepayload
-        GstRtpXQTDepay
         GstRtpAC3Depay
         GstRTPDVDepay
         GstRTPiLBCDepay
@@ -177,16 +171,7 @@ GObject
         GstRtpTheoraDepay
         GstRtpVorbisDepay
         GstRtpVRawDepay
-      GstAviDemux
-      GstAviMux
-      GstAviSubtitle
-      GstSMPTE
-      GstInterleave
-      GstDeinterleave
-      GstMonoscope
-      GstWavEnc
-      GstAuParse
-      GstRTPDepay
+        GstRtpXQTDepay
       GstBaseRTPPayload
         GstRTPDVPay
         GstBaseRTPAudioPayload
@@ -213,6 +198,21 @@ GObject
         GstRtpVorbisPay
         GstRtpVRawPay
       GstAsteriskh263
+      GstEbmlRead
+        GstMatroskaDemux
+      GstMatroskaMux
+      GstCutter
+      GstICYDemux
+      GstAviDemux
+      GstAviMux
+      GstAviSubtitle
+      GstRTPDec
+      GstWavParse
+      GstQTDemux
+      GstSMPTE
+      GstInterleave
+      GstDeinterleave
+      GstGoom
     GstBus
     GstTask
     GstClock
@@ -224,10 +224,10 @@ GObject
   GstSignalObject
   GstMixerTrack
     GstMixerOptions
+  GdkPixbuf
   GstCmmlTagStream
   GstCmmlTagHead
   GstCmmlTagClip
-  GdkPixbuf
   GstTunerNorm
   GstTunerChannel
   GstColorBalanceChannel
@@ -235,10 +235,10 @@ GInterface
   GTypePlugin
   GstChildProxy
   GstURIHandler
+  GstTagSetter
   GstImplementsInterface
   GstPropertyProbe
   GstMixer
-  GstTagSetter
   GstTuner
   GstColorBalance
   GstVideoOrientation
index 85f94c9..b5c5bbb 100644 (file)
@@ -1,23 +1,22 @@
 GstBin GstChildProxy
 GstPipeline GstChildProxy
-GstHalAudioSink GstChildProxy
-GstHalAudioSrc GstChildProxy
 GstGConfVideoSink GstChildProxy
 GstGConfVideoSrc GstChildProxy
 GstSwitchSink GstChildProxy
 GstGConfAudioSink GstChildProxy
 GstGConfAudioSrc GstChildProxy
-GstRTSPSrc GstChildProxy GstURIHandler
+GstHalAudioSink GstChildProxy
+GstHalAudioSrc GstChildProxy
+GstAspectRatioCrop GstChildProxy
+GstRgVolume GstChildProxy
 GstAutoVideoSink GstChildProxy
 GstAutoVideoSrc GstChildProxy
 GstAutoAudioSink GstChildProxy
 GstAutoAudioSrc GstChildProxy
-GstRgVolume GstChildProxy
-GstVideoBalance GstImplementsInterface GstColorBalance
-GstIirEqualizer GstChildProxy
-GstIirEqualizerNBands GstChildProxy
-GstIirEqualizer3Bands GstChildProxy GstPreset
-GstIirEqualizer10Bands GstChildProxy GstPreset
+GstRTSPSrc GstChildProxy GstURIHandler
+GstTagLibMux GstTagSetter
+GstId3v2Mux GstTagSetter
+GstApev2Mux GstTagSetter
 GstSoupHTTPSrc GstURIHandler
 GstPulseSrc GstImplementsInterface GstPropertyProbe GstMixer
 GstOssSrc GstImplementsInterface GstMixer
@@ -29,13 +28,15 @@ GstPulseSink GstImplementsInterface GstPropertyProbe
 GstShout2send GstTagSetter
 GstUDPSink GstURIHandler
 GstPulseMixer GstImplementsInterface GstPropertyProbe GstMixer
-GstTagLibMux GstTagSetter
-GstId3v2Mux GstTagSetter
-GstApev2Mux GstTagSetter
 GstFlacEnc GstTagSetter
 GstFlacTag GstTagSetter
 GstSpeexEnc GstTagSetter
+GstVideoBalance GstImplementsInterface GstColorBalance
+GstIirEqualizer GstChildProxy
+GstIirEqualizerNBands GstChildProxy
+GstIirEqualizer3Bands GstChildProxy GstPreset
+GstIirEqualizer10Bands GstChildProxy GstPreset
 GstOssMixerElement GstImplementsInterface GstMixer
-GstMatroskaMux GstTagSetter
 GstVideoMixer GstChildProxy
+GstMatroskaMux GstTagSetter
 GstAviMux GstTagSetter
index eb1fa16..a54c8fe 100644 (file)
@@ -1,7 +1,7 @@
 GstChildProxy GstObject
+GstTagSetter GstObject GstElement
 GstImplementsInterface GstObject GstElement
 GstMixer GstObject GstImplementsInterface GstElement
-GstTagSetter GstObject GstElement
 GstTuner GstObject GstImplementsInterface GstElement
 GstColorBalance GstObject GstImplementsInterface GstElement
 GstVideoOrientation GstObject GstImplementsInterface GstElement
index f1ebfe2..42085b8 100644 (file)
@@ -3,13 +3,34 @@
   <description>Crops video into a user-defined region</description>
   <filename>../../gst/videocrop/.libs/libgstvideocrop.so</filename>
   <basename>libgstvideocrop.so</basename>
-  <version>0.10.11.1</version>
+  <version>0.10.13.1</version>
   <license>LGPL</license>
   <source>gst-plugins-good</source>
   <package>GStreamer Good Plug-ins CVS/prerelease</package>
   <origin>Unknown package origin</origin>
   <elements>
     <element>
+      <name>aspectratiocrop</name>
+      <longname>aspectratiocrop</longname>
+      <class>Filter/Effect/Video</class>
+      <description>Crops video into a user-defined aspect-ratio</description>
+      <author>Thijs Vermeir &lt;thijsvermeir@gmail.com&gt;</author>
+      <pads>
+        <caps>
+          <name>src</name>
+          <direction>source</direction>
+          <presence>always</presence>
+          <details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)Y800, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)63488, green_mask=(int)2016, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)15, endianness=(int)1234, red_mask=(int)31744, green_mask=(int)992, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
+        </caps>
+        <caps>
+          <name>sink</name>
+          <direction>sink</direction>
+          <presence>always</presence>
+          <details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)Y800, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)63488, green_mask=(int)2016, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)15, endianness=(int)1234, red_mask=(int)31744, green_mask=(int)992, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
+        </caps>
+      </pads>
+    </element>
+    <element>
       <name>videocrop</name>
       <longname>Crop</longname>
       <class>Filter/Effect/Video</class>
index 2c0407b..2cdd51c 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+/**
+ * SECTION:element-aspectratiocrop
+ * @see_also: #GstVideoCrop
+ *
+ * This element crops video frames to a specified aspect-ratio.
+ *
+ * If the aspect-ratio is already correct, the element will operate in pass-through mode.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[gst-launch -v videotestsrc ! video/x-raw-rgb,height=640,width=480 ! aspectratiocrop aspect-ratio=16/9 ! ximagesink]|
+ * This pipeline generates a videostream in 4/3 and crops it to 16/9.
+ * </refsect2>
+ */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif