summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.c
Commit message (Collapse)AuthorAgeFilesLines
* dvdec: set bottom field first on PAL interlaced content, not top field firstZaheer Merali2009-08-141-5/+1
| | | | DV interlaced content is always bottom field first. Fixes #591712.
* Fix the field dominanceDavid Schleef2009-02-271-2/+2
| | | | | PAL is TFF, NTSC is BFF. Some day I will learn to keep this straight.
* dvdec: Add interlacing info to caps and buffersDavid Schleef2009-02-251-1/+9
|
* Update and add documentation for plugins with deps (ext).Stefan Kost2009-01-281-12/+8
| | | | Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered. Fix warnings that gtk-doc points out.
* ext/dv/: Really call dv_init() exactly one time, not one time for the ↵Sebastian Dröge2008-12-081-3/+0
| | | | | | | | | | | demuxer and one time for the decoder. Original commit message from CVS: * ext/dv/gstdv.c: (plugin_init): * ext/dv/gstdvdec.c: (gst_dvdec_class_init): * ext/dv/gstdvdemux.c: (gst_dvdemux_class_init): Really call dv_init() exactly one time, not one time for the demuxer and one time for the decoder.
* ext/dv/gstdvdec.*: Infer pixel-aspect-ratio from the video frame format if ↵Wim Taymans2007-03-091-24/+107
| | | | | | | | | | | | | | | it isn't provided by the container, as hap... Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_setcaps), (gst_dvdec_src_negotiate), (gst_dvdec_chain), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: Infer pixel-aspect-ratio from the video frame format if it isn't provided by the container, as happens when playing DV from AVI or Quicktime containers. Patch by: Wim Taymans <wim@fluendo.com> Fixes #380944
* ext/dv/gstdvdec.c: Use gst_pad_new_from_static_template instead of ↵Jan Schmidt2007-03-041-8/+2
| | | | | | | | | static_pad_template_get+pad_new. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init): Use gst_pad_new_from_static_template instead of static_pad_template_get+pad_new.
* gst/id3demux/id3v2frames.c: We require a -base more recent than 0.10.9, so ↵Tim-Philipp Müller2006-11-011-6/+5
| | | | | | | | | | | | | | | it's safe to use Original commit message from CVS: * gst/id3demux/id3v2frames.c: (parse_picture_frame): We require a -base more recent than 0.10.9, so it's safe to use GST_TYPE_TAG_IMAGE_TYPE unconditionally now. * ext/dv/gstdvdec.c: (gst_dvdec_sink_event): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_sink_event): Use _newsegment_full() now that we depend on a recent enough core. * gst/wavparse/gstwavparse.c: Remove cruft that we don't need any longer now that we depend on a recent enough -base.
* Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) plus two minor macro ↵Tim-Philipp Müller2006-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes. Original commit message from CVS: * ext/annodex/gstcmmldec.c: * ext/annodex/gstcmmlenc.c: * ext/annodex/gstcmmlparser.c: * ext/dv/gstdvdec.c: * ext/dv/gstdvdemux.c: * ext/gdk_pixbuf/pixbufscale.c: * ext/jpeg/gstjpegenc.c: * ext/jpeg/gstsmokedec.c: * ext/jpeg/gstsmokeenc.c: * ext/libpng/gstpngdec.c: * ext/libpng/gstpngenc.c: * ext/speex/gstspeexenc.c: * gst/alpha/gstalphacolor.c: * gst/cutter/gstcutter.c: * gst/debug/gstnavigationtest.c: * gst/icydemux/gsticydemux.c: * gst/level/gstlevel.c: * gst/multipart/multipart.c: * gst/rtp/gstrtpamrpay.c: * gst/rtp/gstrtpdepay.c: * gst/rtp/gstrtpilbcpay.c: * gst/rtp/gstrtpmp4gpay.c: * gst/rtp/gstrtpmp4vpay.c: * gst/rtsp/gstrtpdec.c: * gst/rtsp/gstrtspsrc.c: * gst/udp/gstdynudpsink.c: * gst/udp/gstmultiudpsink.c: * gst/udp/gstudpsrc.c: * gst/videobox/gstvideobox.c: * gst/videofilter/gstvideoflip.c: Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) plus two minor macro fixes.
* ext/dv/gstdvdec.c: Reset segment info on flush.Wim Taymans2006-06-141-4/+19
| | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init), (gst_dvdec_finalize), (gst_dvdec_sink_event), (gst_dvdec_change_state): Reset segment info on flush. Alloc segment in _init, free in _finalize. * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_pull_seek): Don't send segments twice.
* ext/dv/gstdvdec.*: Added GstSegment handling, now implements dropping/clipping.Edward Hervey2006-06-021-1/+61
| | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_event), (gst_dvdec_chain), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: Added GstSegment handling, now implements dropping/clipping.
* Define GstElementDetails as const and also static (when defined as global)Stefan Kost2006-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/aalib/gstaasink.c: * ext/annodex/gstcmmldec.c: * ext/annodex/gstcmmlenc.c: * ext/cairo/gsttextoverlay.c: * ext/cairo/gsttimeoverlay.c: * ext/cdio/gstcdiocddasrc.c: * ext/dv/gstdvdec.c: * ext/dv/gstdvdemux.c: * ext/esd/esdmon.c: * ext/esd/esdsink.c: * ext/flac/gstflacenc.c: * ext/flac/gstflactag.c: * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init): * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init): * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init): * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init): * ext/gdk_pixbuf/pixbufscale.c: * ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init): * ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init): * ext/jpeg/gstjpegdec.c: * ext/jpeg/gstjpegenc.c: * ext/jpeg/gstsmokedec.c: * ext/jpeg/gstsmokeenc.c: * ext/libcaca/gstcacasink.c: * ext/libmng/gstmngdec.c: * ext/libmng/gstmngenc.c: * ext/libpng/gstpngdec.c: * ext/libpng/gstpngenc.c: * ext/mikmod/gstmikmod.c: * ext/raw1394/gstdv1394src.c: * ext/shout2/gstshout2.c: (gst_shout2send_init): * ext/shout2/gstshout2.h: * ext/speex/gstspeexdec.c: * ext/speex/gstspeexenc.c: * gst/alpha/gstalpha.c: * gst/alpha/gstalphacolor.c: * gst/apetag/gstapedemux.c: * gst/auparse/gstauparse.c: * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_base_init): * gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_base_init): * gst/avi/gstavidemux.c: (gst_avi_demux_base_init): * gst/avi/gstavimux.c: (gst_avimux_base_init): * gst/cutter/gstcutter.c: * gst/debug/breakmydata.c: * gst/debug/efence.c: * gst/debug/gstnavigationtest.c: * gst/debug/gstnavseek.c: * gst/debug/negotiation.c: * gst/debug/progressreport.c: * gst/debug/testplugin.c: * gst/effectv/gstaging.c: * gst/effectv/gstdice.c: * gst/effectv/gstedge.c: * gst/effectv/gstquark.c: * gst/effectv/gstrev.c: * gst/effectv/gstshagadelic.c: * gst/effectv/gstvertigo.c: * gst/effectv/gstwarp.c: * gst/flx/gstflxdec.c: * gst/goom/gstgoom.c: * gst/icydemux/gsticydemux.c: * gst/id3demux/gstid3demux.c: * gst/interleave/deinterleave.c: * gst/interleave/interleave.c: * gst/law/alaw-decode.c: (gst_alawdec_base_init): * gst/law/alaw-encode.c: (gst_alawenc_base_init): * gst/law/mulaw-decode.c: (gst_mulawdec_base_init): * gst/law/mulaw-encode.c: (gst_mulawenc_base_init): * gst/level/gstlevel.c: * gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init): * gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init): * gst/median/gstmedian.c: * gst/monoscope/gstmonoscope.c: * gst/multipart/multipartdemux.c: * gst/multipart/multipartmux.c: * gst/oldcore/gstaggregator.c: * gst/oldcore/gstfdsink.c: * gst/oldcore/gstmd5sink.c: * gst/oldcore/gstmultifilesrc.c: * gst/oldcore/gstpipefilter.c: * gst/oldcore/gstshaper.c: * gst/oldcore/gststatistics.c: * gst/rtp/gstasteriskh263.c: * gst/rtp/gstrtpL16depay.c: * gst/rtp/gstrtpL16pay.c: * gst/rtp/gstrtpamrdepay.c: * gst/rtp/gstrtpamrpay.c: * gst/rtp/gstrtpdepay.c: * gst/rtp/gstrtpgsmpay.c: * gst/rtp/gstrtph263pay.c: * gst/rtp/gstrtph263pdepay.c: * gst/rtp/gstrtph263ppay.c: * gst/rtp/gstrtpilbcdepay.c: * gst/rtp/gstrtpmp4gpay.c: * gst/rtp/gstrtpmp4vdepay.c: * gst/rtp/gstrtpmp4vpay.c: * gst/rtp/gstrtpmpadepay.c: * gst/rtp/gstrtpmpapay.c: * gst/rtp/gstrtppcmadepay.c: * gst/rtp/gstrtppcmapay.c: * gst/rtp/gstrtppcmudepay.c: * gst/rtp/gstrtppcmupay.c: * gst/rtp/gstrtpspeexdepay.c: * gst/rtp/gstrtpspeexpay.c: * gst/rtsp/gstrtpdec.c: * gst/rtsp/gstrtspsrc.c: * gst/smpte/gstsmpte.c: * gst/udp/gstdynudpsink.c: * gst/udp/gstmultiudpsink.c: * gst/udp/gstudpsink.c: * gst/udp/gstudpsrc.c: * gst/videobox/gstvideobox.c: * gst/videofilter/gstgamma.c: (gst_gamma_base_init): * gst/videofilter/gstvideobalance.c: * gst/videofilter/gstvideoflip.c: * gst/videofilter/gstvideotemplate.c: (gst_videotemplate_base_init): * gst/videomixer/videomixer.c: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_class_init), (gst_wavparse_dispose), (gst_wavparse_reset), (gst_wavparse_init), (gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info), (gst_wavparse_peek_chunk), (gst_wavparse_stream_headers), (gst_wavparse_parse_stream_init), (gst_wavparse_send_event), (gst_wavparse_add_src_pad), (gst_wavparse_stream_data), (gst_wavparse_chain), (gst_wavparse_srcpad_event), (gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull), (gst_wavparse_change_state): * gst/wavparse/gstwavparse.h: * sys/oss/gstossmixerelement.c: * sys/oss/gstosssink.c: * sys/oss/gstosssrc.c: * sys/osxaudio/gstosxaudioelement.c: * sys/osxaudio/gstosxaudiosink.c: * sys/osxaudio/gstosxaudiosrc.c: * sys/sunaudio/gstsunaudiomixer.c: * sys/sunaudio/gstsunaudiosink.c: Define GstElementDetails as const and also static (when defined as global)
* better/unified long descriptionsWim Taymans2006-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/aalib/gstaasink.c: * ext/annodex/gstcmmldec.c: * ext/annodex/gstcmmlenc.c: * ext/cairo/gsttextoverlay.c: * ext/cairo/gsttimeoverlay.c: * ext/cdio/gstcdiocddasrc.c: * ext/dv/gstdvdec.c: * ext/esd/esdmon.c: * ext/esd/esdsink.c: * ext/flac/gstflacdec.c: * ext/flac/gstflacenc.c: * ext/flac/gstflactag.c: * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init): * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init): * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init): * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init): * ext/gdk_pixbuf/gstgdkpixbuf.c: * ext/gdk_pixbuf/pixbufscale.c: * ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init): * ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init): * ext/jpeg/gstjpegdec.c: * ext/jpeg/gstjpegenc.c: * ext/jpeg/gstsmokedec.c: * ext/jpeg/gstsmokeenc.c: * ext/libcaca/gstcacasink.c: * ext/libmng/gstmngdec.c: * ext/libmng/gstmngenc.c: * ext/libpng/gstpngdec.c: * ext/libpng/gstpngenc.c: * ext/mikmod/gstmikmod.c: * ext/raw1394/gstdv1394src.c: * ext/shout2/gstshout2.c: * ext/speex/gstspeexdec.c: * ext/speex/gstspeexenc.c: * gst/alpha/gstalpha.c: * gst/alpha/gstalphacolor.c: * gst/auparse/gstauparse.c: * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_base_init): * gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_base_init): * gst/avi/gstavimux.c: (gst_avimux_base_init): * gst/cutter/gstcutter.c: * gst/debug/breakmydata.c: * gst/debug/efence.c: * gst/debug/gstnavigationtest.c: * gst/debug/negotiation.c: * gst/debug/progressreport.c: * gst/debug/testplugin.c: * gst/effectv/gstaging.c: * gst/effectv/gstdice.c: * gst/effectv/gstedge.c: * gst/effectv/gstquark.c: * gst/effectv/gstrev.c: * gst/effectv/gstvertigo.c: * gst/effectv/gstwarp.c: * gst/flx/gstflxdec.c: * gst/goom/gstgoom.c: * gst/interleave/deinterleave.c: * gst/interleave/interleave.c: * gst/law/alaw-decode.c: (gst_alawdec_base_init): * gst/law/alaw-encode.c: (gst_alawenc_base_init): * gst/law/mulaw-decode.c: (gst_mulawdec_base_init): * gst/law/mulaw-encode.c: (gst_mulawenc_base_init): * gst/level/gstlevel.c: * gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init): * gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init): * gst/median/gstmedian.c: * gst/monoscope/gstmonoscope.c: * gst/multipart/multipartdemux.c: * gst/multipart/multipartmux.c: * gst/oldcore/gstmd5sink.c: * gst/oldcore/gstmultifilesrc.c: * gst/oldcore/gstpipefilter.c: * gst/oldcore/gstshaper.c: * gst/oldcore/gststatistics.c: * gst/rtp/gstasteriskh263.c: * gst/rtp/gstrtpL16depay.c: * gst/rtp/gstrtpL16pay.c: * gst/rtp/gstrtpamrdepay.c: * gst/rtp/gstrtpamrpay.c: * gst/rtp/gstrtpdepay.c: * gst/rtp/gstrtpgsmpay.c: * gst/rtp/gstrtph263pay.c: * gst/rtp/gstrtph263pdepay.c: * gst/rtp/gstrtph263ppay.c: * gst/rtp/gstrtpmp4gpay.c: * gst/rtp/gstrtpmp4vdepay.c: * gst/rtp/gstrtpmp4vpay.c: * gst/rtp/gstrtpmpadepay.c: * gst/rtp/gstrtpmpapay.c: * gst/rtp/gstrtppcmadepay.c: * gst/rtp/gstrtppcmapay.c: * gst/rtp/gstrtppcmudepay.c: * gst/rtp/gstrtppcmupay.c: * gst/rtp/gstrtpspeexdepay.c: * gst/rtp/gstrtpspeexpay.c: * gst/rtsp/gstrtpdec.c: * gst/smpte/gstsmpte.c: * gst/videobox/gstvideobox.c: * gst/videofilter/gstgamma.c: (gst_gamma_base_init): * gst/videofilter/gstvideobalance.c: * gst/videofilter/gstvideoflip.c: * gst/videofilter/gstvideotemplate.c: (gst_videotemplate_base_init): * gst/videomixer/videomixer.c: * gst/wavenc/gstwavenc.c: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init): better/unified long descriptions Fixed #336602 Some cleanups to auparse, don't send multiple newsegments.
* docs/plugins/: Added dvdec and dvdemux to docs.Wim Taymans2006-02-281-7/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Added dvdec and dvdemux to docs. * ext/dv/gstdvdec.c: (gst_dvdec_base_init), (gst_dvdec_chain): Added docs. Check frame sizes so we don't crash when don't have enough data. Send nice error messages on error. * ext/dv/gstdvdemux.c: (gst_dvdemux_base_init), (gst_dvdemux_class_init), (gst_dvdemux_init), (gst_dvdemux_finalize), (gst_dvdemux_reset), (gst_dvdemux_src_convert), (gst_dvdemux_sink_convert), (gst_dvdemux_src_query), (gst_dvdemux_sink_query), (gst_dvdemux_push_event), (gst_dvdemux_handle_sink_event), (gst_dvdemux_convert_src_pair), (gst_dvdemux_convert_sink_pair), (gst_dvdemux_convert_src_to_sink), (gst_dvdemux_handle_push_seek), (gst_dvdemux_do_seek), (gst_dvdemux_handle_pull_seek), (gst_dvdemux_handle_src_event), (gst_dvdemux_demux_audio), (gst_dvdemux_demux_video), (gst_dvdemux_demux_frame), (gst_dvdemux_flush), (gst_dvdemux_chain), (gst_dvdemux_loop), (gst_dvdemux_sink_activate_push), (gst_dvdemux_sink_activate_pull), (gst_dvdemux_sink_activate), (gst_dvdemux_change_state): * ext/dv/gstdvdemux.h: Added docs. Implement pull mode. Fix memleaks. Reduce memcpy for the video demuxing.
* ext/dv/: Ueber spiffify some more, added debug category.Wim Taymans2006-02-221-2/+5
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_base_init), (gst_dvdec_init), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: * ext/dv/gstdvdemux.c: (gst_dvdemux_base_init), (gst_dvdemux_init), (gst_dvdemux_src_convert), (gst_dvdemux_sink_convert), (gst_dvdemux_src_query), (gst_dvdemux_sink_query), (gst_dvdemux_handle_sink_event), (gst_dvdemux_demux_frame), (gst_dvdemux_flush), (gst_dvdemux_chain), (gst_dvdemux_change_state): * ext/dv/gstdvdemux.h: Ueber spiffify some more, added debug category. Use _scale. Use segments, respect playback rate from newsegment. Fix refcount issue.
* ext/dv/: Call dv_set_error_log (dv_decoder_t *, NULL); after dv_decoder_new ↵Andy Wingo2006-01-271-0/+1
| | | | | | | | | | | | | | | to not have warings flooding stderr. this... Original commit message from CVS: 2006-01-27 Jan Gerber <j@bootlab.org> Reviewed by: Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c (gst_dvdec_change_state): * ext/dv/gstdvdemux.c (gst_dvdemux_change_state): Call dv_set_error_log (dv_decoder_t *, NULL); after dv_decoder_new to not have warings flooding stderr. this is the suggested way also used in dvgrab and kino. (#328336)
* Update for alloc_buffer changes.Andy Wingo2005-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-12-05 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c: (gst_dvdec_chain): * ext/flac/gstflacdec.c: (gst_flacdec_write): * ext/flac/gstflacenc.c: (gst_flacenc_write_callback): * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_chain): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_chain): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain): * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_process): * ext/libpng/gstpngdec.c: (user_info_callback), (gst_pngdec_task): * ext/speex/gstspeexdec.c: (speex_dec_chain): * ext/speex/gstspeexenc.c: (gst_speexenc_chain): * gst/auparse/gstauparse.c: (gst_auparse_chain): * gst/flx/gstflxdec.c: (gst_flxdec_chain): * gst/goom/gstgoom.c: (gst_goom_chain): * gst/matroska/matroska-demux.c: (gst_matroska_demux_push_vorbis_codec_priv_data), (gst_matroska_demux_add_wvpk_header): * gst/multipart/multipartdemux.c: (gst_multipart_demux_chain): * gst/multipart/multipartmux.c: (gst_multipart_mux_collected): * gst/videomixer/videomixer.c: (gst_videomixer_collected): * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Update for alloc_buffer changes.
* ext/dv/: Fix seeking in dvdemux again, add some more debug info.Wim Taymans2005-11-301-0/+2
| | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_chain): * ext/dv/gstdvdemux.c: (gst_dvdemux_demux_frame): * ext/dv/gstdvdemux.h: Fix seeking in dvdemux again, add some more debug info.
* ext/dv/gstdvdec.c: Handle the case where the incoming Video dv stream ↵Edward Hervey2005-11-261-5/+7
| | | | | | | | | doesn't have a pixel aspect ratio set. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_sink_setcaps): Handle the case where the incoming Video dv stream doesn't have a pixel aspect ratio set.
* fix up more enumsThomas Vander Stichele2005-11-221-7/+6
| | | | | Original commit message from CVS: fix up more enums
* ext/dv/: Fractional framerates for DV.Michael Smith2005-11-221-9/+14
| | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_setcaps): * ext/dv/gstdvdec.h: * ext/dv/gstdvdemux.c: (gst_dvdemux_init), (gst_dvdemux_src_convert), (gst_dvdemux_sink_convert), (gst_dvdemux_demux_video), (gst_dvdemux_demux_frame), (gst_dvdemux_flush): * ext/dv/gstdvdemux.h: Fractional framerates for DV.
* All plugins updated for element state changes.Andy Wingo2005-09-021-13/+12
| | | | | | | Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
* Updates for two-arg init from GST_BOILERPLATE.Andy Wingo2005-08-281-1/+1
| | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * Updates for two-arg init from GST_BOILERPLATE. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use the second arg for the class, because G_OBJECT_GET_CLASS (self) returns the wrong thing. (gst_signal_processor_add_pad_from_template): Make pads of the right type. * ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make writable param specs G_PARAM_CONSTRUCT so default values work. (gst_ladspa_init): Use the second arg for the class.
* ext/raw1394/gstdv1394src.c (gst_dv1394src_iso_receive): Note license info in ↵Andy Wingo2005-08-161-1156/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | the source code -- was only in the commi... Original commit message from CVS: 2005-08-16 Andy Wingo <wingo@pobox.com> * ext/raw1394/gstdv1394src.c (gst_dv1394src_iso_receive): Note license info in the source code -- was only in the commit log before. * ext/dv/gstdvdec.h: * ext/dv/gstdvdec.c: Only decodes systemstream=FALSE dv video -- old pipelines using dvdec should probably have a dvdemux first. * ext/dv/gstdvdemux.h: * ext/dv/gstdvdemux.c: Split out from dvdec, chunks the incoming systemstream=TRUE data into frames, sets caps data, and spits out PCM audio in addition to systemstream=FALSE video frames. Operates in chain mode only for now; should make a getrange version as well. * ext/dv/gstdv.c: New file, registers the libgstdv plugin. * ext/dv/Makefile.am: Library name changed to libgstdv. Split dvdec into dvdemux and dvdec.
* Various event updates and cleanups.Wim Taymans2005-07-271-42/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/amrnb/amrnbparse.c: (gst_amrnbparse_event), (gst_amrnbparse_loop): * ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event), (gst_dvdec_decode_frame): * ext/mad/gstid3tag.c: (gst_id3_tag_src_event), (gst_id3_tag_sink_event), (gst_id3_tag_chain): * ext/mad/gstmad.c: (gst_mad_src_query), (index_seek), (normal_seek), (gst_mad_sink_event), (gst_mad_chain): * ext/mpeg2dec/gstmpeg2dec.c: * ext/shout2/gstshout2.c: (gst_shout2send_event): * ext/sidplay/gstsiddec.cc: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event), (gst_avi_demux_send_event), (gst_avi_demux_stream_header), (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry): * gst/goom/gstgoom.c: (gst_goom_event): * gst/realmedia/rmdemux.c: (gst_rmdemux_sink_event), (gst_rmdemux_chain), (gst_rmdemux_send_event), (gst_rmdemux_add_stream): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_srcpad_event): Various event updates and cleanups.
* ext/dv/gstdvdec.c (gst_dvdec_decode_video): Set the proper framerate on the ↵Andy Wingo2005-07-191-2/+4
| | | | | | | | | | outbound buffer. Original commit message from CVS: 2005-07-19 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c (gst_dvdec_decode_video): Set the proper framerate on the outbound buffer.
* ext/dv/gstdvdec.c (gst_dvdec_decode_video): Don't clobber alloc_buffer's ↵Andy Wingo2005-07-191-11/+19
| | | | | | | | | | | | return value. Original commit message from CVS: 2005-07-19 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c (gst_dvdec_decode_video): Don't clobber alloc_buffer's return value. (gst_dvdec_decode_frame): Handle unlinked pads with grace and agility.
* ext/dv/gstdvdec.*: Implemented seeking in dvdec.Wim Taymans2005-07-191-149/+368
| | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_src_convert), (gst_dvdec_sink_convert), (gst_dvdec_get_src_query_types), (gst_dvdec_src_query), (gst_dvdec_get_sink_query_types), (gst_dvdec_sink_query), (gst_dvdec_send_event), (gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event), (gst_dvdec_decode_audio), (gst_dvdec_decode_video), (gst_dvdec_decode_frame), (gst_dvdec_flush), (gst_dvdec_chain): * ext/dv/gstdvdec.h: Implemented seeking in dvdec.
* Ported DVdec to 0.9.Wim Taymans2005-07-071-294/+316
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * ext/dv/Makefile.am: * ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init), (gst_dvdec_get_src_query_types), (gst_dvdec_src_query), (gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event), (gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps), (gst_dvdec_decode_audio), (gst_dvdec_decode_video), (gst_dvdec_decode_frame), (gst_dvdec_chain), (gst_dvdec_change_state), (gst_dvdec_set_property), (gst_dvdec_get_property), (plugin_init): * ext/dv/gstdvdec.h: * ext/esd/esdsink.c: (gst_esdsink_class_init): Ported DVdec to 0.9. Parent of esdsink is GstAudioSink.
* Way, way, way too many files: Remove crack comment from the 2000 era.Andy Wingo2005-07-051-2/+0
| | | | | | | | Original commit message from CVS: 2005-07-05 Andy Wingo <wingo@pobox.com> * Way, way, way too many files: Remove crack comment from the 2000 era.
* ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect ↵Andy Wingo2005-01-281-8/+45
| | | | | | | | | | | a different dubious internet source. Add ... Original commit message from CVS: 2005-01-28 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect a different dubious internet source. Add a reference and some commentary.
* I'm a bad boy. using /1001. to force C to do float division and not integer ↵Stéphane Loeuillet2005-01-141-1/+1
| | | | | | | | | | | | division (as it did in my last commit) Original commit message from CVS: * ext/dv/gstdvdec.c: * gst/subparse/gstsubparse.c: (parse_mdvdsub): * gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect): I'm a bad boy. using /1001. to force C to do float division and not integer division (as it did in my last commit) Thanks to David I. Lehn for pointing this mistake.
* replace framerate aproximations by their real value (24000/1001, 30000/1001, ↵Stéphane Loeuillet2005-01-141-1/+1
| | | | | | | | | | | | | 60000/1001) Original commit message from CVS: * ext/dv/gstdvdec.c: * ext/libfame/gstlibfame.c: * gst/subparse/gstsubparse.c: (parse_mdvdsub): * gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect): replace framerate aproximations by their real value (24000/1001, 30000/1001, 60000/1001) Finish fixing bug #164049
* ext/dv/gstdvdec.c: really fix bpp24/32 dvdec caps (classic rgba indeed)Stéphane Loeuillet2005-01-081-3/+3
| | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: really fix bpp24/32 dvdec caps (classic rgba indeed) * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): don't send text tags if they are empty (bis repetita)
* ext/dv/gstdvdec.c: remove unneeded comment from dvdec (related to DV 4CC ↵Stéphane Loeuillet2005-01-081-11/+0
| | | | | | | | | | | | | | | | | | | | | | | codes in AVI files) moved them in gstreamer/... Original commit message from CVS: * ext/dv/gstdvdec.c: remove unneeded comment from dvdec (related to DV 4CC codes in AVI files) moved them in gstreamer/docs/random/mimetypes * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): don't send text tags if they are empty fix mem leak on error path * gst/ffmpegcolorspace/avcodec.h: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpegcsp_avpicture_fill): * gst/ffmpegcolorspace/imgconvert.c: (img_get_alpha_info): * gst/ffmpegcolorspace/imgconvert_template.h: adds BGR32 and BGRA32 to ffmpegcolorspace (still bad colors, fixing it on next commit) helps with dvdec outputing BGR32
* ext/dv/gstdvdec.c: Fix audio caps i just broke (missing ',')Stéphane Loeuillet2005-01-071-2/+13
| | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: Fix audio caps i just broke (missing ',') * gst/matroska/matroska-mux.c: (gst_matroska_mux_get_type), (gst_matroska_mux_reset): Fix typo + add FIXME about old "x-gst-metadata" crap
* ext/dv/demo-play.c: xvideosink -> xvimagesinkStéphane Loeuillet2005-01-071-3/+3
| | | | | | | | | | | | | Original commit message from CVS: * ext/dv/demo-play.c: (main): xvideosink -> xvimagesink * ext/dv/gstdvdec.c: change rgb 32/32 caps to 24/32 (no alpha) change nb of channels to be a list (2 or 4, not 2) change sample rate to be a list (32, 44.1, 48 kHz) not a range * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): Add 'date/year' to extracted metadata list
* ext/dv/gstdvdec.c: Set EOS on the element when processing an EOS event.Jan Schmidt2004-10-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event): Set EOS on the element when processing an EOS event. * ext/speex/gstspeexdec.h: * ext/speex/gstspeexenc.h: Only keep a const ptr to the mode * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps_with_data), (gst_riff_create_audio_template_caps): Allow WMAV3, with up to 6 channels. * gst/asfdemux/gstasfmux.c: (gst_asfmux_request_new_pad): Don't call gst_pad_set_event_function on a sink pad. * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_set_cur_audio), (gst_dvd_demux_set_cur_subpicture): Copy the explicit caps that were set across to the cur_* pads, instead of trying to use a possibly non-existent negotiated caps. Reset the type of subpicture pads to UNKNOWN after calling init_stream, so that the caps get set.
* ext/dv/gstdvdec.c: Allow a little margin when negotiating the framerate.Wim Taymans2004-10-261-2/+4
| | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop): Allow a little margin when negotiating the framerate.
* ext/dv/gstdvdec.*: Make sure we renegotiate aspect ratio when the camera ↵Wim Taymans2004-10-181-3/+9
| | | | | | | | | | switches. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop): * ext/dv/gstdvdec.h: Make sure we renegotiate aspect ratio when the camera switches.
* ext/: Fix mimetype on smoke encoder.Wim Taymans2004-10-181-5/+51
| | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init), (gst_smokeenc_resync), (gst_smokeenc_chain): Fix mimetype on smoke encoder. Add aspect ratio to dvdec. Not sure if these values are correct though....
* ext/dv/gstdvdec.*: Implement drop_factor property to lower the framerate ↵Wim Taymans2004-06-271-21/+45
| | | | | | | | | | | | | with a factor. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init), (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state), (gst_dvdec_set_property), (gst_dvdec_get_property): * ext/dv/gstdvdec.h: Implement drop_factor property to lower the framerate with a factor.
* ext/dv/gstdvdec.*: Fix timestamp, duration and offset of the buffers.Wim Taymans2004-06-271-7/+21
| | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: Fix timestamp, duration and offset of the buffers.
* Stupid mans! Don't unref things more than you ref them!Jan Schmidt2004-06-071-2/+2
| | | | | Original commit message from CVS: Stupid mans! Don't unref things more than you ref them!
* AUTHORS: Add me to the authors fileJan Schmidt2004-06-071-25/+53
| | | | | | | | | | | | | | Original commit message from CVS: * AUTHORS: Add me to the authors file * configure.ac: Increase the libdv requirement to >= version 0.100 * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_src_convert), (gst_dvdec_src_query), (gst_dvdec_handle_sink_event), (gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: Add support for the new_media flag when sending DISCONT events Make the querying work when video pad is not linked
* second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-211-3/+3
| | | | | | | | | foreign compilers (forte) and gtk-doc (in ... Original commit message from CVS: second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in gst-plugins/ext/ this time)
* ext/dv/gstdvdec.c: Fix format conversion and position querying.Jan Schmidt2004-05-211-11/+32
| | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_get_formats), (gst_dvdec_src_convert), (gst_dvdec_sink_convert): Fix format conversion and position querying. * gst/debug/progressreport.c: (gst_progressreport_report): Don't output a bogus total value that we didn't query. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): Always set XV_AUTOPAINT_COLORKEY to true. Fixes xvimagesink showing only a blank window after xine has been used.
* ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the ↵Johan Dahlin2004-05-191-1/+2
| | | | | | | | array. Fixes gst-inspect segfault on ppc. Original commit message from CVS: * ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the array. Fixes gst-inspect segfault on ppc.
* Report which format was used for GST_FORMAT_DEFAULT in dvdecJan Schmidt2004-05-131-1/+2
| | | | | | Original commit message from CVS: Report which format was used for GST_FORMAT_DEFAULT in dvdec Add progressreport element for testing.
* ext/audiofile/gstafsrc.c: Remove old debug outputJan Schmidt2004-05-121-26/+39
| | | | | | | | | | | | | | | | Original commit message from CVS: * ext/audiofile/gstafsrc.c: (gst_afsrc_get): Remove old debug output * ext/dv/gstdvdec.c: (gst_dvdec_quality_get_type), (gst_dvdec_class_init), (gst_dvdec_loop), (gst_dvdec_change_state), (gst_dvdec_set_property), (gst_dvdec_get_property): Change the quality setting to an enum, so it works from gst-launch Don't renegotiate a non-linked pad. Allows audio only decoding. * gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_getcaps), (gst_deinterlace_link), (gst_deinterlace_init): * gst/videodrop/gstvideodrop.c: (gst_videodrop_getcaps), (gst_videodrop_link): Some caps negotiation fixes