summaryrefslogtreecommitdiff
path: root/gst/speed/gstspeed.c
Commit message (Collapse)AuthorAgeFilesLines
* gst-plugins: allow per feature registrationStéphane Cerveau2021-04-111-3/+5
| | | | | | | | | | | | | Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2110>
* docs: Port all docstring to gtk-doc markdownThibault Saunier2017-04-121-5/+5
|
* Explicitly define float constants as floatNirbheek Chauhan2016-10-271-1/+1
| | | | | | | | | | With MSVC, this gives the following warning: warning C4305: 'function': truncation from 'double' to 'gfloat' Apparently, MSVC does not figure out what type to use for constants based on the assignment. This warning is very spammy, so let's try to fix it.
* bad: use new gst_element_class_add_static_pad_template()Vineeth TM2016-03-241-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=763081
* plugins-bad: Fix example pipelinesVineeth TM2015-12-151-1/+1
| | | | | | | | rename gst-launch --> gst-launch-1.0 replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**) fix caps in examples https://bugzilla.gnome.org/show_bug.cgi?id=759432
* Rename property enums from ARG_ to PROP_Luis de Bethencourt2015-04-271-5/+5
| | | | Property enum items should be named PROP_ for consistency and readability.
* speed: Fix position query some moreEdward Hervey2014-06-091-2/+0
| | | | | | Forgot to remove code in 16fd917632c0992349ca28cf9108e9562c493ad7 CID #1139677
* speed: make position query able to convert bytes to timeEdward Hervey2014-06-021-0/+6
| | | | | | | | | | (same as 744c58d71b21475d2edd5b9334e277cfa4c53260 but for the position query) It was only querying in time, but then trying to use dead bytes to time conversion code. Coverity 1139677
* docs: remove outdated and pointless 'Last reviewed' lines from docsTim-Philipp Müller2014-04-271-2/+0
| | | | | | | They are very confusing for people, and more often than not also just not very accurate. Seeing 'last reviewed: 2005' in your docs is not very confidence-inspiring. Let's just remove those comments.
* speed: make duration query able to convert bytes to timeVincent Penquerc'h2014-04-091-2/+6
| | | | | | | It was only querying in time, but then trying to use dead bytes to time conversion code. Coverity 1139677
* speed: Clarify passthrough in switch statementEdward Hervey2014-04-081-1/+1
| | | | | | We do want the caps event to be forwarded downstream CID #1139754
* speed: Fix some bytes-per-frame vs. bytes-per-sample mixupsSebastian Dröge2013-10-091-3/+3
| | | | | | | Otherwise we will crash when handling multiple channels and miscalculate timestamps. https://bugzilla.gnome.org/show_bug.cgi?id=709734
* Fix FSF addressTim-Philipp Müller2012-11-041-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687520
* Use gst_element_class_set_static_metadata()Tim-Philipp Müller2012-10-171-1/+1
| | | | | where possible. Avoids some string copies. Also re-indent some stuff. Also some indent fixes here and there.
* replace gst_element_class_set_details_simple with gst_element_class_set_metadataMark Nauwelaerts2012-09-141-1/+1
|
* speed: Various 1.0 style additionsOlivier Crête2012-09-121-88/+47
| | | | Use GstAudioInfo everywhere, etc
* speed: port to 0.11Sreerenj Balachandran2012-09-121-142/+107
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683727
* gst: Update for GST_PLUGIN_DEFINE() API changesSebastian Dröge2012-04-051-1/+1
|
* speed: tiny doc blob clarificationStefan Sauer2011-11-221-1/+1
|
* various (gst): add missing G_PARAM_STATIC_STRINGS flagsStefan Kost2010-10-191-1/+2
| | | | Canonicalize property names as needed.
* gst_element_class_set_details => gst_element_class_set_details_simpleBenjamin Otte2010-03-181-9/+6
|
* speed: fix warnings in macosx snow leopardJosep Torra2009-10-111-6/+12
|
* Final round of doc updates.Stefan Kost2008-06-161-10/+5
| | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: * gst/speed/gstspeed.c: * gst/speexresample/gstspeexresample.c: * gst/videosignal/gstvideoanalyse.c: * gst/videosignal/gstvideodetect.c: * gst/videosignal/gstvideomark.c: * sys/dvb/gstdvbsrc.c: * sys/oss4/oss4-mixer.c: * sys/oss4/oss4-sink.c: * sys/oss4/oss4-source.c: * sys/wininet/gstwininetsrc.c: Final round of doc updates.
* Fix leaks.Edward Hervey2007-06-221-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_init): * ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_init): * ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_init): * ext/audioresample/gstaudioresample.c: * ext/bz2/gstbz2dec.c: (gst_bz2dec_init): * ext/bz2/gstbz2enc.c: (gst_bz2enc_init): * ext/divx/gstdivxdec.c: (gst_divxdec_init): * ext/divx/gstdivxenc.c: (gst_divxenc_init): * ext/faac/gstfaac.c: (gst_faac_init): * ext/gsm/gstgsmdec.c: (gst_gsmdec_init): * ext/gsm/gstgsmenc.c: (gst_gsmenc_init): * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_init): * ext/lcs/gstcolorspace.c: (gst_colorspace_init): * ext/libfame/gstlibfame.c: (gst_fameenc_init): * ext/snapshot/gstsnapshot.c: (gst_snapshot_init): * ext/spc/gstspc.c: (gst_spc_dec_init): * ext/swfdec/gstswfdec.c: (gst_swfdec_init): * ext/xvid/gstxvidenc.c: (gst_xvidenc_init): * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init): * gst/chart/gstchart.c: (gst_chart_init): * gst/colorspace/gstcolorspace.c: (gst_colorspace_init): * gst/festival/gstfestival.c: (gst_festival_init): * gst/freeze/gstfreeze.c: (gst_freeze_init): * gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_request_new_pad): * gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_init): * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init): * gst/nsf/gstnsf.c: (gst_nsfdec_init): * gst/overlay/gstoverlay.c: (gst_overlay_init): * gst/passthrough/gstpassthrough.c: (passthrough_init): * gst/playondemand/gstplayondemand.c: (play_on_demand_init): * gst/smooth/gstsmooth.c: (gst_smooth_init): * gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init): * gst/speed/gstspeed.c: (speed_init): * gst/vbidec/gstvbidec.c: (gst_vbidec_init): * gst/videodrop/gstvideodrop.c: (gst_videodrop_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_init): * sys/qcam/gstqcamsrc.c: (gst_qcamsrc_init): Fix leaks.
* gst/speed/gstspeed.c: Fix event handling a bit by replacing completely ↵Tim-Philipp Müller2007-05-041-88/+47
| | | | | | | | | | | dubious code written by someone else with comp... Original commit message from CVS: * gst/speed/gstspeed.c: (speed_src_event), (speed_sink_event), (speed_chain), (speed_change_state): Fix event handling a bit by replacing completely dubious code written by someone else with completely dubious code written by me. Should at least fix #412077 though.
* gst/speed/gstspeed.c: Add debug category; use gst_pad_query_peer_*() utility ↵Tim-Philipp Müller2007-05-041-29/+51
| | | | | | | | | | functions; use gst_util_scale*(); add gt... Original commit message from CVS: * gst/speed/gstspeed.c: (speed_src_query), (speed_chain), (plugin_init): Add debug category; use gst_pad_query_peer_*() utility functions; use gst_util_scale*(); add gtk-doc blurb.
* Define GstElementDetails as const and also static (when defined as global)Stefan Kost2006-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/amrwb/gstamrwbdec.c: * ext/amrwb/gstamrwbenc.c: * ext/amrwb/gstamrwbparse.c: * ext/arts/gst_arts.c: * ext/artsd/gstartsdsink.c: * ext/audiofile/gstafparse.c: * ext/audiofile/gstafsink.c: * ext/audiofile/gstafsrc.c: * ext/audioresample/gstaudioresample.c: * ext/bz2/gstbz2dec.c: * ext/bz2/gstbz2enc.c: * ext/cdaudio/gstcdaudio.c: * ext/directfb/dfbvideosink.c: * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init): * ext/faac/gstfaac.c: (gst_faac_base_init): * ext/faad/gstfaad.c: * ext/gsm/gstgsmdec.c: * ext/gsm/gstgsmenc.c: * ext/hermes/gsthermescolorspace.c: * ext/ivorbis/vorbisfile.c: * ext/lcs/gstcolorspace.c: * ext/libfame/gstlibfame.c: * ext/libmms/gstmms.c: (gst_mms_base_init): * ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init): * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init): * ext/nas/nassink.c: (gst_nassink_base_init): * ext/neon/gstneonhttpsrc.c: * ext/sdl/sdlaudiosink.c: * ext/sdl/sdlvideosink.c: * ext/shout/gstshout.c: * ext/snapshot/gstsnapshot.c: * ext/sndfile/gstsf.c: * ext/swfdec/gstswfdec.c: * ext/tarkin/gsttarkindec.c: * ext/tarkin/gsttarkinenc.c: * ext/theora/theoradec.c: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init): * gst/chart/gstchart.c: * gst/colorspace/gstcolorspace.c: * gst/deinterlace/gstdeinterlace.c: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init): * gst/festival/gstfestival.c: * gst/filter/gstbpwsinc.c: * gst/filter/gstiir.c: * gst/filter/gstlpwsinc.c: * gst/freeze/gstfreeze.c: * gst/games/gstpuzzle.c: (gst_puzzle_base_init): * gst/librfb/gstrfbsrc.c: * gst/mixmatrix/mixmatrix.c: * gst/mpeg1sys/gstmpeg1systemencode.c: * gst/mpeg1videoparse/gstmp1videoparse.c: * gst/mpeg2sub/gstmpeg2subt.c: * gst/mpegaudioparse/gstmpegaudioparse.c: * gst/multifilesink/gstmultifilesink.c: * gst/overlay/gstoverlay.c: * gst/passthrough/gstpassthrough.c: * gst/playondemand/gstplayondemand.c: * gst/qtdemux/qtdemux.c: * gst/rtjpeg/gstrtjpegdec.c: * gst/rtjpeg/gstrtjpegenc.c: * gst/smooth/gstsmooth.c: * gst/smoothwave/gstsmoothwave.c: * gst/spectrum/gstspectrum.c: * gst/speed/gstspeed.c: * gst/stereo/gststereo.c: * gst/switch/gstswitch.c: * gst/tta/gstttadec.c: (gst_tta_dec_base_init): * gst/tta/gstttaparse.c: (gst_tta_parse_base_init): * gst/vbidec/gstvbidec.c: * gst/videocrop/gstvideocrop.c: * gst/videodrop/gstvideodrop.c: * gst/virtualdub/gstxsharpen.c: * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init): * gst/y4m/gsty4mencode.c: * sys/cdrom/gstcdplayer.c: * sys/directdraw/gstdirectdrawsink.c: * sys/directsound/gstdirectsoundsink.c: * sys/glsink/glimagesink.c: * sys/qcam/gstqcamsrc.c: * sys/v4l2/gstv4l2src.c: * sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init): * sys/ximagesrc/ximagesrc.c: Define GstElementDetails as const and also static (when defined as global)
* rework build; add translations for v4l2Thomas Vander Stichele2006-04-011-1/+1
| | | | | Original commit message from CVS: rework build; add translations for v4l2
* 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/faac/gstfaac.c: (gst_faac_sink_event), (gst_faac_chain): * ext/faad/gstfaad.c: (gst_faad_chain): * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_chain): * ext/lcs/gstcolorspace.c: (gst_colorspace_chain): * ext/xine/xineinput.c: (gst_xine_input_get): * gst/colorspace/gstcolorspace.c: (gst_colorspace_chain): * gst/speed/gstspeed.c: (speed_chain): * gst/videocrop/gstvideocrop.c: (gst_video_crop_chain): Update for alloc_buffer changes.
* ext/faad/gstfaad.c (gst_faad_event) ext/ivorbis/vorbisfile.c ↵Andy Wingo2005-11-221-2/+2
| | | | | | | | | | | | | | (gst_ivorbisfile_loop) gst/qtdemux/qtdemux.c (gst_qtdemu... Original commit message from CVS: 2005-11-22 Andy Wingo <wingo@pobox.com> * ext/faad/gstfaad.c (gst_faad_event) * ext/ivorbis/vorbisfile.c (gst_ivorbisfile_loop) * gst/qtdemux/qtdemux.c (gst_qtdemux_loop_header) * gst/speed/gstspeed.c (speed_sink_event) * gst/tta/gstttaparse.c (gst_tta_parse_src_event) (gst_tta_parse_parse_header): Run update-funcnames.
* gst/: API change fix.Wim Taymans2005-10-191-17/+54
| | | | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_get_src_query_types), (gst_qtdemux_handle_src_query): * gst/speed/gstspeed.c: (speed_get_query_types), (speed_src_query): * gst/tta/gstttaparse.c: (gst_tta_parse_src_event), (gst_tta_parse_get_query_types), (gst_tta_parse_query): API change fix.
* Fixed Speed - Recovered featured missed since version 1.37, and changed ↵Edgard Lima2005-10-171-79/+364
| | | | | | | | other minor things. Original commit message from CVS: Fixed Speed - Recovered featured missed since version 1.37, and changed other minor things.
* Ported speed Plugin to GStreamer 0.9Flavio Oliveira2005-09-081-87/+51
| | | | | Original commit message from CVS: Ported speed Plugin to GStreamer 0.9
* Fix up all the state change functions.Jan Schmidt2005-09-051-8/+9
| | | | | Original commit message from CVS: Fix up all the state change functions.
* Add query function to GstSpeed, so that the stream length and current ↵Tim-Philipp Müller2005-02-151-3/+82
| | | | | | | position get adjusted when queried (note that c... Original commit message from CVS: Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that current position queries may still be wrong if the audio sink returns values based on buffer timestamps instead of passing on the query
* and make it handle more than one channel.Tim-Philipp Müller2005-02-101-78/+198
| | | | | Original commit message from CVS: Fix speed element and make it chain-based (fixes #156467), and make it handle more than one channel.
* gst/speed/gstspeed.c: Fix caps parsing. (bug #140064)David Schleef2004-04-291-3/+3
| | | | | | Original commit message from CVS: * gst/speed/gstspeed.c: (speed_parse_caps): Fix caps parsing. (bug #140064)
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-5/+6
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-141-95/+94
| | | | | Original commit message from CVS: gst-indent
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-021-1/+1
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* GST_ELEMENT_ERRORThomas Vander Stichele2004-01-291-1/+1
| | | | | Original commit message from CVS: GST_ELEMENT_ERROR
* use new error signal and classificationThomas Vander Stichele2004-01-181-1/+2
| | | | | Original commit message from CVS: use new error signal and classification
* Merge CAPS branchDavid Schleef2003-12-221-71/+48
| | | | | Original commit message from CVS: Merge CAPS branch
* remove copyright field from pluginsAndy Wingo2003-12-041-1/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* + checking in plugin category changesLeif Johnson2003-11-161-1/+1
| | | | | Original commit message from CVS: + checking in plugin category changes
* fix for new plugin systemBenjamin Otte2003-11-021-22/+27
| | | | | Original commit message from CVS: fix for new plugin system
* Trivial fixes for GstBuffer->GstData migrationDavid Schleef2003-10-091-2/+2
| | | | | Original commit message from CVS: Trivial fixes for GstBuffer->GstData migration
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-2/+3
| | | | | | | deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
* just some code cleanupLeif Johnson2003-10-081-84/+55
| | | | | Original commit message from CVS: just some code cleanup
* reverting error patch before making a branch.BRANCH-ERROR-ROOTBRANCH-ERRORThomas Vander Stichele2003-09-161-3/+1
| | | | | Original commit message from CVS: reverting error patch before making a branch.