summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdemux.c
Commit message (Collapse)AuthorAgeFilesLines
* dv: fix warnings on macosxJosep Torra2009-10-091-8/+12
|
* dvdemux: Use values from decoder structure directlyDavid Schleef2009-09-131-9/+7
| | | | | | Don't store the same values in the GstDvDemux. This fixes a bug where dvdemux would detect a stream as PAL instead of NTSC, and silently parse it wrong.
* dvdemux: Fix detection of new mediaDavid Schleef2009-09-131-1/+32
| | | | | | There are 5 or 6 AAUX source control packs in a frame, and any of them could have REC_ST cleared, indicating a recording start point. libdv only checks the first.
* dvdemux: Set DISCONT flag on buffers when REC_ST flag is set.Edward Hervey2009-09-121-6/+10
| | | | Also add a few branch prediction macros
* dvdemux: post container-format tagTim-Philipp Müller2009-06-221-44/+28
| | | | Also merge the two almost identical _add_*_pad() functions into one.
* dvdemux: don't screw up first audio bufferTim-Philipp Müller2009-06-221-21/+21
| | | | | | Query the audio format, esp. dvdemux->num_channels, before we use that variable to allocate the initial buffer. That way we don't accidentally push a zero-sized buffer as first audio buffer.
* Remove trivial unused variables detected by CLang static analyzer.Edward Hervey2009-04-181-4/+3
|
* Update and add documentation for plugins with deps (ext).Stefan Kost2009-01-281-13/+9
| | | | 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/gstdvdemux.c: Restore previous behaviour of not passing QoS and ↵Tim-Philipp Müller2008-12-091-0/+3
| | | | | | | | | navigation events upstream, which presumably w... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event): Restore previous behaviour of not passing QoS and navigation events upstream, which presumably wasn't meant to be changed.
* ext/dv/gstdvdemux.c: Add srcpads only when needed and remove them again when ↵Sebastian Dröge2008-12-091-33/+70
| | | | | | | | | | | | | | going back to READY. This prevents stall... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_add_video_pad), (gst_dvdemux_add_audio_pad), (gst_dvdemux_remove_pads), (gst_dvdemux_demux_audio), (gst_dvdemux_demux_video), (gst_dvdemux_chain), (gst_dvdemux_loop), (gst_dvdemux_change_state): Add srcpads only when needed and remove them again when going back to READY. This prevents stalled pipelines if there's no audio inside the DV stream, which happens for many MXF files.
* ext/dv/gstdvdemux.c: Forward all events upstream unless it's something we ↵Sebastian Dröge2008-12-081-2/+5
| | | | | | | | | really don't handle. This fixes latency con... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event): Forward all events upstream unless it's something we really don't handle. This fixes latency configuration of pipelines.
* 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/: gst_atomic_int_set ==> g_atomic_int_setEdward Hervey2008-04-171-3/+3
| | | | | | | Original commit message from CVS: * ext/cdio/gstcdiocddasrc.c: * ext/dv/gstdvdemux.c: gst_atomic_int_set ==> g_atomic_int_set
* ext/: When operating in pull mode, error out correct on not-linked.Tim-Philipp Müller2007-06-081-3/+3
| | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_loop): * ext/libpng/gstpngdec.c: (user_read_data), (gst_pngdec_task): When operating in pull mode, error out correct on not-linked.
* Activate pads before adding.Wim Taymans2006-10-061-0/+11
| | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads), (gst_dvdemux_chain): * gst/auparse/gstauparse.c: (gst_au_parse_add_srcpad): Activate pads before adding.
* ext/dv/gstdvdemux.*: When handling seek requests, don't send the newsegment ↵Edward Hervey2006-08-181-8/+22
| | | | | | | | | | | | event from the calling thread. Instead sa... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_pull_seek), (gst_dvdemux_loop), (gst_dvdemux_change_state): * ext/dv/gstdvdemux.h: When handling seek requests, don't send the newsegment event from the calling thread. Instead save it so it can be sent from the streaming thread.
* 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-0/+2
| | | | | | | | | | | 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/gstdvdemux.c: Respect segment.stop. Fixes #342592.Wim Taymans2006-06-141-1/+6
| | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_demux_frame): Respect segment.stop. Fixes #342592.
* ext/dv/gstdvdemux.c: Implement EOS correctly by either postingWim Taymans2006-05-241-18/+32
| | | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_loop): Implement EOS correctly by either posting SEGMENT_DONE or pushing an EOS message depending on the seek type. Fixes #342592
* 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)
* ext/dv/gstdvdemux.*: Seek in READY patch. Only works for pull based mode.Michael Dominic K2006-03-291-10/+84
| | | | | | | | | | | | Original commit message from CVS: From a patch by: Michael Dominic K. <mdk at mdk dot org dot pl> * ext/dv/gstdvdemux.c: (gst_dvdemux_class_init), (gst_dvdemux_reset), (gst_dvdemux_src_convert), (gst_dvdemux_send_event), (gst_dvdemux_flush), (gst_dvdemux_loop), (gst_dvdemux_sink_activate_pull), (gst_dvdemux_change_state): * ext/dv/gstdvdemux.h: Seek in READY patch. Only works for pull based mode. Fixes #323880
* Fix memleak with gst_static_pad_template_get().Edward Hervey2006-03-151-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/cairo/gsttextoverlay.c: (gst_text_overlay_init): * ext/dv/gstdvdemux.c: (gst_dvdemux_init), (gst_dvdemux_add_pads): * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_init): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_setcaps): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init): * ext/jpeg/gstsmokedec.c: (gst_smokedec_init): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_init): * ext/libmng/gstmngdec.c: (gst_mngdec_init), (gst_mngdec_src_getcaps): * ext/libpng/gstpngdec.c: (gst_pngdec_init), (gst_pngdec_caps_create_and_set): * ext/libpng/gstpngenc.c: (gst_pngenc_init): * ext/mikmod/gstmikmod.c: (gst_mikmod_init): * ext/speex/gstspeexdec.c: (gst_speex_dec_init): * gst/alpha/gstalpha.c: (gst_alpha_init): * gst/auparse/gstauparse.c: (gst_au_parse_init): * gst/avi/gstavidemux.c: (gst_avi_demux_init), (gst_avi_demux_handle_src_event), (gst_avi_demux_parse_stream): * gst/cutter/gstcutter.c: (gst_cutter_init): * gst/debug/efence.c: (gst_efence_init), (gst_efence_getrange), (gst_efence_checkgetrange): * gst/debug/negotiation.c: (gst_negotiation_init): * gst/flx/gstflxdec.c: (gst_flxdec_init): * gst/goom/gstgoom.c: (gst_goom_init): * gst/rtp/gstasteriskh263.c: (gst_asteriskh263_init): * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16depay_init): * gst/rtp/gstrtpL16pay.c: (gst_rtpL16pay_init): * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_init): * gst/rtp/gstrtpdepay.c: (gst_rtp_depay_init): * gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_init): * gst/rtsp/gstrtpdec.c: (gst_rtpdec_init): * gst/smpte/gstsmpte.c: (gst_smpte_init): * gst/wavparse/gstwavparse.c: (gst_wavparse_init), (gst_wavparse_create_sourcepad): Fix memleak with gst_static_pad_template_get(). This uses gst_pad_new_from_static_template() instead. Fixes #333512
* ext/dv/gstdvdemux.c: Handle events in push mode better, can now do ↵Wim Taymans2006-03-091-8/+41
| | | | | | | | | | non-flushing seeks in push mode as well. Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event), (gst_dvdemux_convert_segment), (gst_dvdemux_demux_frame): Handle events in push mode better, can now do non-flushing seeks in push mode as well.
* docs/plugins/: Added dvdec and dvdemux to docs.Wim Taymans2006-02-281-200/+724
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-65/+111
| | | | | | | | | | | | | | | | | | 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.
* Pass unhandled queries upstream instead of just dropping them (#326446). ↵Tim-Philipp Müller2006-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | Update query type arrays here and there. Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_src_query), (gst_dvdemux_sink_query): * ext/flac/gstflacdec.c: (gst_flac_dec_src_query): * ext/speex/gstspeexdec.c: (speex_get_query_types), (speex_dec_src_query): * ext/speex/gstspeexenc.c: (gst_speexenc_src_query), (gst_speexenc_sink_query): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query): * gst/matroska/matroska-demux.c: (gst_matroska_demux_get_src_query_types), (gst_matroska_demux_handle_src_query): * gst/wavparse/gstwavparse.c: (gst_wavparse_get_query_types), (gst_wavparse_pad_query): Pass unhandled queries upstream instead of just dropping them (#326446). Update query type arrays here and there.
* 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)
* expand tabsThomas Vander Stichele2005-12-061-9/+9
| | | | | Original commit message from CVS: expand tabs
* ext/dv/: Fix seeking in dvdemux again, add some more debug info.Wim Taymans2005-11-301-5/+12
| | | | | | | | 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/: Fractional framerates for DV.Michael Smith2005-11-221-14/+34
| | | | | | | | | | | | 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.
* ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event) ↵Andy Wingo2005-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gst_dvdemux_demux_frame) ext/flac/gstflacdec.c (gst_flacdec_writ... Original commit message from CVS: 2005-11-22 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event) (gst_dvdemux_demux_frame) * ext/flac/gstflacdec.c (gst_flacdec_write) * ext/flac/gstflacenc.c (gst_flacenc_seek_callback) (gst_flacenc_sink_event) * ext/gconf/gstgconfaudiosink.c (gst_gconf_audio_sink_init) * ext/gconf/gstgconfvideosink.c (gst_gconf_video_sink_init) * ext/libpng/gstpngdec.c (gst_pngdec_caps_create_and_set) * ext/speex/gstspeexdec.c (speex_dec_event, speex_dec_chain) * gst/auparse/gstauparse.c (gst_auparse_chain) * gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_init) * gst/autodetect/gstautovideosink.c (gst_auto_video_sink_init) * gst/avi/gstavidemux.c (gst_avi_demux_stream_header) (gst_avi_demux_handle_seek) * gst/goom/gstgoom.c (gst_goom_event) * gst/matroska/ebml-write.c (gst_ebml_write_seek) * gst/matroska/matroska-demux.c (gst_matroska_demux_handle_seek_event) (gst_matroska_demux_loop_stream_parse_id) * gst/wavenc/gstwavenc.c (gst_wavenc_stop_file) * gst/wavparse/gstwavparse.c (gst_wavparse_handle_seek) (gst_wavparse_stream_headers): Run update-funcnames.
* Update for stream lock API changes: don't take stream log in sink event ↵Tim-Philipp Müller2005-11-211-12/+0
| | | | | | | | | | | | | | | | | | | | | | handlers any longer and change GST_STREAM_LOC... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event): * ext/flac/gstflacdec.c: (gst_flacdec_loop), (gst_flacdec_src_event): * ext/flac/gstflacenc.c: (gst_flacenc_sink_event): * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_event), (gst_signal_processor_getrange), (gst_signal_processor_chain): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek): * gst/flx/gstflxdec.c: (gst_flxdec_src_event_handler), (gst_flxdec_sink_event_handler): * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek): Update for stream lock API changes: don't take stream log in sink event handlers any longer and change GST_STREAM_LOCK to GST_PAD_STREAM_LOCK. Don't leak references in flxdec event functions.
* ext/dv/gstdvdemux.c: Call gst_element_no_more_pads when there will be no ↵Edward Hervey2005-10-241-3/+17
| | | | | | | | more pads. Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads): Call gst_element_no_more_pads when there will be no more pads.
* Set correct stream_time in newsegment event. avi can also handle a duration ↵Wim Taymans2005-10-211-1/+2
| | | | | | | | | | | query now. Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_demux_frame): * gst/avi/gstavidemux.c: (gst_avi_demux_get_src_query_types), (gst_avi_demux_handle_seek): Set correct stream_time in newsegment event. avi can also handle a duration query now.
* API change fix.Wim Taymans2005-10-191-14/+24
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_get_src_query_types), (gst_dvdemux_src_query): * ext/flac/gstflacdec.c: (gst_flacdec_length), (gst_flacdec_src_query): * ext/raw1394/gstdv1394src.c: (gst_dv1394src_query): * ext/speex/gstspeexdec.c: (speex_dec_src_query): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query): * gst/debug/gstnavseek.c: (gst_navseek_seek): * gst/debug/progressreport.c: (gst_progress_report_report): * gst/matroska/ebml-read.c: (gst_ebml_read_get_length): * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_src_query): * gst/matroska/matroska-mux.c: (gst_matroska_mux_start): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_pad_convert), (gst_wavparse_pad_query), (gst_wavparse_srcpad_event): API change fix.
* newsegment API update.Wim Taymans2005-10-111-2/+2
| | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event), (gst_dvdemux_demux_frame): * ext/flac/gstflacdec.c: (gst_flacdec_write): * gst/auparse/gstauparse.c: (gst_auparse_chain): * gst/avi/gstavidemux.c: (gst_avi_demux_stream_header), (gst_avi_demux_handle_seek): * gst/goom/gstgoom.c: (gst_goom_event): * gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_pad_convert), (gst_wavparse_srcpad_event): newsegment API update.
* ext/dv/gstdvdemux.c: Fixes for better conversionEdward Hervey2005-10-051-3/+6
| | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_src_convert), (gst_dvdemux_src_query): Fixes for better conversion
* ext/dv/: Added DEFAULT <==> BYTES, TIME conversions on srcpad,Edward Hervey2005-10-041-9/+47
| | | | | | | | | Original commit message from CVS: * ext/dv/Makefile.am: * ext/dv/gstdvdemux.c: (gst_dvdemux_src_query), (gst_dvdemux_src_conver): Added DEFAULT <==> BYTES, TIME conversions on srcpad, Corrected the query function for position so it doesn't forget what format was asked, and calls the conversion functions on the correct pad.
* ext/dv/gstdvdemux.c (gst_dvdemux_chain): Move the pad adding here from the ↵Andy Wingo2005-09-051-2/+4
| | | | | | | | | | | state change handler, so we fire signals w... Original commit message from CVS: 2005-09-05 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdemux.c (gst_dvdemux_chain): Move the pad adding here from the state change handler, so we fire signals without holding the state lock.
* 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/dv/gstdvdemux.c (gst_dvdemux_demux_frame): Send out valid segment end ↵Andy Wingo2005-08-241-10/+11
| | | | | | | | | | | | timestamps. Original commit message from CVS: 2005-08-24 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdemux.c (gst_dvdemux_demux_frame): Send out valid segment end timestamps. (Also commit an old changelog entry)
* ext/raw1394/gstdv1394src.c (gst_dv1394src_iso_receive): Note license info in ↵Andy Wingo2005-08-161-0/+1001
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.