More docs. More logs in pngdec.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-jpeg.xml:
* docs/plugins/inspect/plugin-png.xml:
* ext/jpeg/gstjpegdec.c:
* ext/libpng/gstpngdec.c: (gst_pngdec_task),
(gst_pngdec_sink_setcaps):
More docs. More logs in pngdec.
This commit is contained in:
Stefan Kost 2007-07-18 09:21:23 +00:00
parent 1b55aabe4e
commit 73ec6b7a1d
8 changed files with 167 additions and 109 deletions

View file

@ -1,3 +1,15 @@
2007-07-18 Stefan Kost <ensonic@users.sf.net>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-jpeg.xml:
* docs/plugins/inspect/plugin-png.xml:
* ext/jpeg/gstjpegdec.c:
* ext/libpng/gstpngdec.c: (gst_pngdec_task),
(gst_pngdec_sink_setcaps):
More docs. More logs in pngdec.
2007-07-17 Stefan Kost <ensonic@users.sf.net>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init):

View file

@ -89,6 +89,8 @@ EXTRA_HFILES = \
$(top_srcdir)/ext/jpeg/gstjpegenc.h \
$(top_srcdir)/ext/jpeg/gstsmokedec.h \
$(top_srcdir)/ext/jpeg/gstsmokeenc.h \
$(top_srcdir)/ext/libpng/gstpngdec.h \
$(top_srcdir)/ext/libpng/gstpngenc.h \
$(top_srcdir)/ext/taglib/gstapev2mux.h \
$(top_srcdir)/ext/taglib/gstid3v2mux.h \
$(top_srcdir)/ext/taglib/gsttaglibmux.h \
@ -114,14 +116,14 @@ EXTRA_HFILES = \
$(top_srcdir)/gst/rtsp/gstrtspsrc.h \
$(top_srcdir)/gst/udp/gstmultiudpsink.h \
$(top_srcdir)/gst/udp/gstudpsrc.h \
$(top_srcdir)/gst/videocrop/gstvideocrop.h \
$(top_srcdir)/gst/videocrop/gstvideocrop.h \
$(top_srcdir)/gst/videofilter/gstvideobalance.h \
$(top_srcdir)/gst/videofilter/gstvideoflip.h \
$(top_srcdir)/gst/videomixer/videomixer.c \
$(top_srcdir)/sys/waveform/gstwaveformsink.h \
$(top_srcdir)/ext/wavpack/gstwavpackdec.h \
$(top_srcdir)/ext/wavpack/gstwavpackenc.h \
$(top_srcdir)/ext/wavpack/gstwavpackparse.h \
$(top_srcdir)/sys/waveform/gstwaveformsink.h \
$(top_srcdir)/ext/wavpack/gstwavpackdec.h \
$(top_srcdir)/ext/wavpack/gstwavpackenc.h \
$(top_srcdir)/ext/wavpack/gstwavpackparse.h \
$(top_srcdir)/gst/wavparse/gstwavparse.h \
$(top_srcdir)/sys/directdraw/gstdirectdrawsink.h \
$(top_srcdir)/sys/directsound/gstdirectsoundsink.h \

View file

@ -52,6 +52,8 @@
<xi:include href="xml/element-osxaudiosrc.xml" />
<xi:include href="xml/element-osxvideosink.xml" />
<xi:include href="xml/element-progressreport.xml" />
<xi:include href="xml/element-pngenc.xml" />
<xi:include href="xml/element-pngdec.xml" />
<xi:include href="xml/element-qtdemux.xml" />
<xi:include href="xml/element-rtspsrc.xml" />
<xi:include href="xml/element-rtpdec.xml" />

View file

@ -1,7 +1,7 @@
<SECTION>
<FILE>element-alphacolor</FILE>
GstAlphaColor
<TITLE>alphacolor</TITLE>
GstAlphaColor
<SUBSECTION Standard>
GstAlphaColorClass
GST_ALPHA_COLOR
@ -14,8 +14,8 @@ GST_IS_ALPHA_COLOR_CLASS
<SECTION>
<FILE>element-apedemux</FILE>
GstApeDemux
<TITLE>apedemux</TITLE>
GstApeDemux
<SUBSECTION Standard>
GstApeDemuxClass
GST_APE_DEMUX
@ -28,8 +28,8 @@ GST_IS_APE_DEMUX_CLASS
<SECTION>
<FILE>element-apev2mux</FILE>
GstApev2Mux
<TITLE>apev2mux</TITLE>
GstApev2Mux
<SUBSECTION Standard>
GstApev2MuxClass
GST_APEV2_MUX
@ -43,8 +43,8 @@ gst_apev2_mux_plugin_init
<SECTION>
<FILE>element-audiopanorama</FILE>
GstAudioPanorama
<TITLE>audiopanorama</TITLE>
GstAudioPanorama
<SUBSECTION Standard>
GstAudioPanoramaClass
GST_AUDIO_PANORAMA
@ -53,8 +53,8 @@ GST_AUDIO_PANORAMA_CLASS
<SECTION>
<FILE>element-audioinvert</FILE>
GstAudioInvert
<TITLE>audioinvert</TITLE>
GstAudioInvert
<SUBSECTION Standard>
GstAudioInvertClass
GST_AUDIO_INVERT
@ -63,8 +63,8 @@ GST_AUDIO_INVERT_CLASS
<SECTION>
<FILE>element-audioamplify</FILE>
GstAudioAmplify
<TITLE>audioamplify</TITLE>
GstAudioAmplify
<SUBSECTION Standard>
GstAudioAmplifyClass
GST_AUDIO_AMPLIFY
@ -73,8 +73,8 @@ GST_AUDIO_AMPLIFY_CLASS
<SECTION>
<FILE>element-audiodynamic</FILE>
GstAudioDynamic
<TITLE>audiodynamic</TITLE>
GstAudioDynamic
<SUBSECTION Standard>
GstAudioDynamicClass
GST_AUDIO_DYNAMIC
@ -83,8 +83,8 @@ GST_AUDIO_DYNAMIC_CLASS
<SECTION>
<FILE>element-autoaudiosink</FILE>
GstAutoAudioSink
<TITLE>autoaudiosink</TITLE>
GstAutoAudioSink
<SUBSECTION Standard>
GstAutoAudioSinkClass
GST_TYPE_AUTO_AUDIO_SINK
@ -97,8 +97,8 @@ gst_auto_audio_sink_get_type
<SECTION>
<FILE>element-autovideosink</FILE>
GstAutoVideoSink
<TITLE>autovideosink</TITLE>
GstAutoVideoSink
<SUBSECTION Standard>
GstAutoVideoSinkClass
GST_TYPE_AUTO_VIDEO_SINK
@ -111,8 +111,8 @@ gst_auto_video_sink_get_type
<SECTION>
<FILE>element-avidemux</FILE>
GstAviDemux
<TITLE>avidemux</TITLE>
GstAviDemux
<SUBSECTION Standard>
GstAviDemuxClass
GST_TYPE_AVI_DEMUX
@ -126,8 +126,8 @@ gst_avi_demux_get_type
<SECTION>
<FILE>element-avimux</FILE>
GstAviMux
<TITLE>avimux</TITLE>
GstAviMux
<SUBSECTION Standard>
GstAviMuxClass
GST_TYPE_AVI_MUX
@ -140,8 +140,8 @@ gst_avi_mux_get_type
<SECTION>
<FILE>element-cairotimeoverlay</FILE>
GstCairoTimeOverlay
<TITLE>cairotimeoverlay</TITLE>
GstCairoTimeOverlay
<SUBSECTION Standard>
GstCairoTimeOverlayClass
GST_TYPE_CAIRO_TIME_OVERLAY
@ -154,8 +154,8 @@ gst_cairo_time_overlay_get_type
<SECTION>
<FILE>element-cmmldec</FILE>
GstCmmlDec
<TITLE>cmmldec</TITLE>
GstCmmlDec
<SUBSECTION Standard>
GstCmmlDecClass
GST_TYPE_CMML_DEC
@ -169,8 +169,8 @@ gst_cmml_dec_plugin_init
<SECTION>
<FILE>element-cmmlenc</FILE>
GstCmmlEnc
<TITLE>cmmlenc</TITLE>
GstCmmlEnc
<SUBSECTION Standard>
GstCmmlEncClass
GST_TYPE_CMML_ENC
@ -184,8 +184,8 @@ gst_cmml_enc_plugin_init
<SECTION>
<FILE>element-cdiocddasrc</FILE>
GstCdioCddaSrc
<TITLE>cdiocddasrc</TITLE>
GstCdioCddaSrc
<SUBSECTION Standard>
GstCdioCddaSrcClass
GST_TYPE_CDIO_CDDA_SRC
@ -198,24 +198,24 @@ gst_cdio_cdda_src_get_type
<SECTION>
<FILE>element-directdrawsink</FILE>
GstDirectDrawSink
<TITLE>directdrawsink</TITLE>
GstDirectDrawSink
<SUBSECTION Standard>
GstDirectDrawSinkClass
</SECTION>
<SECTION>
<FILE>element-directsoundsink</FILE>
GstDirectSoundSink
<TITLE>directsoundsink</TITLE>
GstDirectSoundSink
<SUBSECTION Standard>
GstDirectSoundSinkClass
</SECTION>
<SECTION>
<FILE>element-dvdec</FILE>
GstDVDec
<TITLE>dvdec</TITLE>
GstDVDec
<SUBSECTION Standard>
GstDVDecClass
GST_TYPE_DVDEC
@ -228,8 +228,8 @@ gst_dvdec_get_type
<SECTION>
<FILE>element-dvdemux</FILE>
GstDVDemux
<TITLE>dvdemux</TITLE>
GstDVDemux
<SUBSECTION Standard>
GstDVDemuxClass
GST_TYPE_DVDEMUX
@ -242,8 +242,8 @@ gst_dvdemux_get_type
<SECTION>
<FILE>element-esdsink</FILE>
GstEsdSink
<TITLE>esdsink</TITLE>
GstEsdSink
<SUBSECTION Standard>
GstEsdSinkClass
GST_TYPE_ESDSINK
@ -256,8 +256,8 @@ gst_esdsink_get_type
<SECTION>
<FILE>element-flacdec</FILE>
GstFlacDec
<TITLE>flacdec</TITLE>
GstFlacDec
<SUBSECTION Standard>
GstFlacDecClass
GST_TYPE_FLAC_DEC
@ -270,8 +270,8 @@ gst_flac_dec_get_type
<SECTION>
<FILE>element-goom</FILE>
GstGoom
<TITLE>goom</TITLE>
GstGoom
<SUBSECTION Standard>
GstGoomClass
GOOM_SAMPLES
@ -285,8 +285,8 @@ gst_goom_get_type
<SECTION>
<FILE>element-halaudiosink</FILE>
GstHalAudioSink
<TITLE>halaudiosink</TITLE>
GstHalAudioSink
<SUBSECTION Standard>
GstHalAudioSinkClass
GST_TYPE_HAL_AUDIO_SINK
@ -299,8 +299,8 @@ gst_hal_audio_sink_get_type
<SECTION>
<FILE>element-halaudiosrc</FILE>
GstHalAudioSrc
<TITLE>halaudiosrc</TITLE>
GstHalAudioSrc
<SUBSECTION Standard>
GstHalAudioSrcClass
GST_TYPE_HAL_AUDIO_SRC
@ -313,8 +313,8 @@ gst_hal_audio_src_get_type
<SECTION>
<FILE>element-icydemux</FILE>
GstICYDemux
<TITLE>icydemux</TITLE>
GstICYDemux
<SUBSECTION Standard>
GstICYDemuxClass
GST_TYPE_ICYDEMUX
@ -327,8 +327,8 @@ gst_icydemux_get_type
<SECTION>
<FILE>element-id3demux</FILE>
GstID3Demux
<TITLE>id3demux</TITLE>
GstID3Demux
<SUBSECTION Standard>
GstID3DemuxClass
GST_TYPE_ID3DEMUX
@ -341,8 +341,8 @@ gst_id3demux_get_type
<SECTION>
<FILE>element-id3v2mux</FILE>
GstId3v2Mux
<TITLE>id3v2mux</TITLE>
GstId3v2Mux
<SUBSECTION Standard>
GstId3v2MuxClass
GST_TYPE_ID3V2_MUX
@ -355,10 +355,10 @@ gst_id3v2_mux_get_type
<SECTION>
<FILE>element-jpegdec</FILE>
<TITLE>jpegdec</TITLE>
GstJpegDec
GstJpegDecErrorMgr
GstJpegDecSourceMgr
<TITLE>jpegdec</TITLE>
<SUBSECTION Standard>
GstJpegDecClass
GST_JPEG_DEC
@ -385,8 +385,8 @@ gst_jpegenc_get_type
<SECTION>
<FILE>element-level</FILE>
GstLevel
<TITLE>level</TITLE>
GstLevel
<SUBSECTION Standard>
GstLevelClass
GST_TYPE_LEVEL
@ -400,8 +400,8 @@ gst_level_get_type
<SECTION>
<FILE>element-multipartmux</FILE>
GstMultipartMux
<TITLE>multipartmux</TITLE>
GstMultipartMux
<SUBSECTION Standard>
GstMultipartMuxClass
GST_TYPE_MULTIPART_MUX
@ -415,8 +415,8 @@ gst_multipart_mux_plugin_init
<SECTION>
<FILE>element-multipartdemux</FILE>
GstMultipartDemux
<TITLE>multipartdemux</TITLE>
GstMultipartDemux
<SUBSECTION Standard>
GstMultipartDemuxClass
GST_TYPE_MULTIPART_DEMUX
@ -430,9 +430,9 @@ gst_multipart_demux_plugin_init
<SECTION>
<FILE>element-multiudpsink</FILE>
<TITLE>multiudpsink</TITLE>
GstUDPClient
GstMultiUDPSink
<TITLE>multiudpsink</TITLE>
<SUBSECTION Standard>
GstMultiUDPSinkClass
gst_multiudpsink_add
@ -449,8 +449,8 @@ gst_multiudpsink_get_type
<SECTION>
<FILE>element-ossmixer</FILE>
GstOssMixerElement
<TITLE>ossmixer</TITLE>
GstOssMixerElement
<SUBSECTION Standard>
GstOssMixerElementClass
GST_OSS_MIXER_ELEMENT
@ -463,8 +463,8 @@ gst_oss_mixer_element_get_type
<SECTION>
<FILE>element-osssink</FILE>
GstOssSink
<TITLE>osssink</TITLE>
GstOssSink
<SUBSECTION Standard>
GstOssSinkClass
GST_TYPE_OSSSINK
@ -477,8 +477,8 @@ gst_oss_sink_get_type
<SECTION>
<FILE>element-osssrc</FILE>
GstOssSrc
<TITLE>osssrc</TITLE>
GstOssSrc
<SUBSECTION Standard>
GstOssSrcClass
GST_TYPE_OSS_SRC
@ -491,8 +491,8 @@ gst_oss_src_get_type
<SECTION>
<FILE>element-osxaudiosink</FILE>
GstOsxAudioSink
<TITLE>osxaudiosink</TITLE>
GstOsxAudioSink
<SUBSECTION Standard>
GstOsxAudioSinkClass
GST_TYPE_OSX_AUDIO_SINK
@ -500,8 +500,8 @@ GST_TYPE_OSX_AUDIO_SINK
<SECTION>
<FILE>element-osxaudiosrc</FILE>
GstOsxAudioSrc
<TITLE>osxaudiosrc</TITLE>
GstOsxAudioSrc
<SUBSECTION Standard>
GstOsxAudioSrcClass
GST_TYPE_OSX_AUDIO_SINK
@ -509,8 +509,8 @@ GST_TYPE_OSX_AUDIO_SINK
<SECTION>
<FILE>element-osxvideosink</FILE>
GstOSXVideoSink
<TITLE>osxvideosink</TITLE>
GstOSXVideoSink
<SUBSECTION Standard>
GstOSXVideoSinkClass
<SUBSECTION Private>
@ -523,10 +523,40 @@ GST_TYPE_OSX_VIDEO_SINK
GstOSXWindow
</SECTION>
<SECTION>
<FILE>element-pngdec</FILE>
<TITLE>pngdec</TITLE>
GstPngDec
GstPngDecErrorMgr
GstPngDecSourceMgr
<SUBSECTION Standard>
GstPngDecClass
GST_PNG_DEC
GST_IS_PNG_DEC
GST_TYPE_PNG_DEC
GST_PNG_DEC_CLASS
GST_IS_PNG_DEC_CLASS
gst_png_dec_get_type
</SECTION>
<SECTION>
<FILE>element-pngenc</FILE>
<TITLE>pngenc</TITLE>
GstPngEnc
<SUBSECTION Standard>
GstPngEncClass
GST_PNGENC
GST_IS_PNGENC
GST_TYPE_PNGENC
GST_PNGENC_CLASS
GST_IS_PNGENC_CLASS
gst_pngenc_get_type
</SECTION>
<SECTION>
<FILE>element-progressreport</FILE>
GstProgressReport
<TITLE>progressreport</TITLE>
GstProgressReport
<SUBSECTION Standard>
GstProgressReportClass
GST_TYPE_PROGRESS_REPORT
@ -539,17 +569,17 @@ gst_progress_report_get_type
<SECTION>
<FILE>element-qtdemux</FILE>
GstQTDemux
<TITLE>qtdemux</TITLE>
GstQTDemux
<SUBSECTION Standard>
GstQTDemuxClass
</SECTION>
<SECTION>
<FILE>element-rtspsrc</FILE>
<TITLE>rtspsrc</TITLE>
RTSPLowerTrans
GstRTSPSrc
<TITLE>rtspsrc</TITLE>
<SUBSECTION Standard>
gst_rtspsrc_send
GstRTSPStream
@ -568,8 +598,8 @@ GST_RTSP_LOOP_WAIT
<SECTION>
<FILE>element-rtpdec</FILE>
GstRTPDec
<TITLE>rtpdec</TITLE>
GstRTPDec
<SUBSECTION Standard>
GstRTPDecClass
GstRTPDecSession
@ -583,8 +613,8 @@ GST_IS_RTP_DEC_CLASS
<SECTION>
<FILE>element-smokedec</FILE>
GstSmokeDec
<TITLE>smokedec</TITLE>
GstSmokeDec
<SUBSECTION Standard>
GstSmokeDecClass
GST_SMOKEDEC
@ -597,8 +627,8 @@ GST_IS_SMOKEDEC_CLASS
<SECTION>
<FILE>element-smokeenc</FILE>
GstSmokeEnc
<TITLE>smokeenc</TITLE>
GstSmokeEnc
<SUBSECTION Standard>
GstSmokeEncClass
GST_SMOKEENC
@ -611,8 +641,8 @@ GST_IS_SMOKEENC_CLASS
<SECTION>
<FILE>element-taglibmux</FILE>
GstTagLibMux
<TITLE>taglibmux</TITLE>
GstTagLibMux
<SUBSECTION Standard>
GstTagLibMuxClass
GST_TYPE_TAG_LIB_MUX
@ -623,11 +653,10 @@ GST_IS_TAG_LIB_MUX_CLASS
gst_tag_lib_mux_get_type
</SECTION>
<SECTION>
<FILE>element-udpsrc</FILE>
GstUDPSrc
<TITLE>udpsrc</TITLE>
GstUDPSrc
<SUBSECTION Standard>
GstUDPSrcClass
GST_UDPSRC
@ -640,17 +669,17 @@ GST_IS_UDPSRC_CLASS
<SECTION>
<FILE>element-videocrop</FILE>
GstVideoCrop
<TITLE>videocrop</TITLE>
GstVideoCrop
<SUBSECTION Standard>
GstVideoCropClass
</SECTION>
<SECTION>
<FILE>element-videoflip</FILE>
<TITLE>videoflip</TITLE>
GstVideoFlip
GstVideoFlipMethod
<TITLE>videoflip</TITLE>
<SUBSECTION Standard>
GstVideoFlipClass
GST_VIDEO_FLIP
@ -663,8 +692,8 @@ GST_IS_VIDEO_FLIP_CLASS
<SECTION>
<FILE>element-videobalance</FILE>
GstVideoBalance
<TITLE>videobalance</TITLE>
GstVideoBalance
<SUBSECTION Standard>
GstVideoBalanceClass
GST_VIDEO_BALANCE
@ -677,9 +706,9 @@ GST_IS_VIDEO_BALANCE_CLASS
<SECTION>
<FILE>element-videomixer</FILE>
<TITLE>videomixer</TITLE>
GstVideoMixer
GstVideoMixerBackground
<TITLE>videomixer</TITLE>
<SUBSECTION Standard>
GstVideoMixerClass
GST_VIDEO_MIXER
@ -720,40 +749,40 @@ ROUND_UP_8
<SECTION>
<FILE>element-waveformsink</FILE>
GstWaveFormSink
<TITLE>waveformsink</TITLE>
GstWaveFormSink
<SUBSECTION Standard>
GstWaveFormSinkClass
</SECTION>
<SECTION>
<FILE>element-wavpackdec</FILE>
GstWavpackDec
<TITLE>wavpackdec</TITLE>
GstWavpackDec
<SUBSECTION Standard>
GstWavpackDecClass
</SECTION>
<SECTION>
<FILE>element-wavpackenc</FILE>
GstWavpackEnc
<TITLE>wavpackenc</TITLE>
GstWavpackEnc
<SUBSECTION Standard>
GstWavpackEncClass
</SECTION>
<SECTION>
<FILE>element-wavpackparse</FILE>
GstWavpackParse
<TITLE>wavpackparse</TITLE>
GstWavpackParse
<SUBSECTION Standard>
GstWavpackParseClass
</SECTION>
<SECTION>
<FILE>element-wavparse</FILE>
GstWavParse
<TITLE>wavparse</TITLE>
GstWavParse
<SUBSECTION Standard>
GstWavParseClass
GstWavParseState
@ -767,8 +796,8 @@ GST_IS_WAVPARSE_CLASS
<SECTION>
<FILE>element-v4l2src</FILE>
GstV4l2Src
<TITLE>v4l2src</TITLE>
GstV4l2Src
<SUBSECTION Standard>
GST_V4L2_MAX_BUFFERS
GST_V4L2_MIN_BUFFERS
@ -786,8 +815,8 @@ GST_IS_V4L2SRC_CLASS
<SECTION>
<FILE>element-ximagesrc</FILE>
GstXImageSrc
<TITLE>ximagesrc</TITLE>
GstXImageSrc
<SUBSECTION Standard>
GstXImageSrcClass
GST_XIMAGE_SRC

View file

@ -16,18 +16,18 @@
<description>Decode images from JPEG format</description>
<author>Wim Taymans &lt;wim@fluendo.com&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, 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>image/jpeg, width=(int)[ 16, 4096 ], height=(int)[ 8, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
</pads>
</element>
<element>
@ -37,18 +37,18 @@
<description>Encode images in JPEG format</description>
<author>Wim Taymans &lt;wim.taymans@tvd.be&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>image/jpeg, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
</pads>
</element>
<element>
@ -58,18 +58,18 @@
<description>Decode video from Smoke format</description>
<author>Wim Taymans &lt;wim@fluendo.com&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, 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-smoke, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
</pads>
</element>
<element>
@ -79,18 +79,18 @@
<description>Encode images into the Smoke format</description>
<author>Wim Taymans &lt;wim@fluendo.com&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-smoke, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
</pads>
</element>
</elements>

View file

@ -16,18 +16,18 @@
<description>Decode a png video frame to a raw image</description>
<author>Wim Taymans &lt;wim@fluendo.com&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>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)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 ]</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>image/png</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>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)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 ]</details>
</caps>
</pads>
</element>
<element>
@ -37,18 +37,18 @@
<description>Encode a video frame to a .png image</description>
<author>Jeremy SIMON &lt;jsimon13@yahoo.fr&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>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)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 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>image/png, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], 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)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)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 ]</details>
</caps>
</pads>
</element>
</elements>

View file

@ -17,6 +17,12 @@
* Boston, MA 02111-1307, USA.
*/
/**
* SECTION:element-jpegdec
*
* Decodes jpeg images. If there is no framerate set on sink caps, it sends EOS
* after the first picture.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"

View file

@ -13,6 +13,13 @@
*
*/
/**
* SECTION:element-pngdec
*
* Decodes png images. If there is no framerate set on sink caps, it sends EOS
* after the first picture.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@ -457,6 +464,8 @@ gst_pngdec_task (GstPad * pad)
pngdec = GST_PNGDEC (GST_OBJECT_PARENT (pad));
GST_LOG_OBJECT (pngdec, "read frame");
/* Let libpng come back here on error */
if (setjmp (png_jmpbuf (pngdec->png))) {
ret = GST_FLOW_ERROR;
@ -510,16 +519,13 @@ gst_pngdec_task (GstPad * pad)
return;
pause:
{
GST_INFO_OBJECT (pngdec, "pausing task, reason %s",
gst_flow_get_name (ret));
gst_pad_pause_task (pngdec->sinkpad);
if (GST_FLOW_IS_FATAL (ret) || ret == GST_FLOW_NOT_LINKED) {
GST_ELEMENT_ERROR (pngdec, STREAM, FAILED,
(_("Internal data stream error.")),
("stream stopped, reason %s", gst_flow_get_name (ret)));
gst_pad_push_event (pngdec->srcpad, gst_event_new_eos ());
}
GST_INFO_OBJECT (pngdec, "pausing task, reason %s", gst_flow_get_name (ret));
gst_pad_pause_task (pngdec->sinkpad);
if (GST_FLOW_IS_FATAL (ret) || ret == GST_FLOW_NOT_LINKED) {
gst_pad_push_event (pngdec->srcpad, gst_event_new_eos ());
GST_ELEMENT_ERROR (pngdec, STREAM, FAILED,
(_("Internal data stream error.")),
("stream stopped, reason %s", gst_flow_get_name (ret)));
}
}
@ -593,6 +599,7 @@ gst_pngdec_sink_setcaps (GstPad * pad, GstCaps * caps)
pngdec->fps_n = num;
pngdec->fps_d = denom;
} else {
GST_DEBUG_OBJECT (pngdec, "single picture input");
pngdec->framed = FALSE;
pngdec->fps_n = 0;
pngdec->fps_d = 1;