Commit graph

1737 commits

Author SHA1 Message Date
David Schleef 6866a3cb7b Replace use of GST_PAD_FORMATS_FUNCTION() and similar macros with the code that they would expand to.
Original commit message from CVS:
Replace use of GST_PAD_FORMATS_FUNCTION() and similar macros
with the code that they would expand to.
* ext/flac/gstflacdec.c: (gst_flacdec_get_src_formats),
(gst_flacdec_get_src_query_types),
(gst_flacdec_get_src_event_masks):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_formats),
(gst_gnomevfssrc_get_query_types),
(gst_gnomevfssrc_get_event_mask):
2004-02-04 19:28:51 +00:00
Benjamin Otte 5b4bc6a180 gst/sine/gstsinesrc.c: fix memleak by properly disposing sinesrc
Original commit message from CVS:
2004-02-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_dispose):
fix memleak by properly disposing sinesrc
2004-02-04 17:23:55 +00:00
Julien Moutte b5341b2016 gst-libs/gst/xoverlay/xoverlay.*: Adding the _expose method to tell an overlay to redraw the image because it has bee...
Original commit message from CVS:
2004-02-04  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/xoverlay/xoverlay.c: (gst_x_overlay_expose):
* gst-libs/gst/xoverlay/xoverlay.h: Adding the _expose method to tell
an overlay to redraw the image because it has been exposed.
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy),
(gst_ximagesink_ximage_put), (gst_ximagesink_expose),
(gst_ximagesink_xoverlay_init), (gst_ximagesink_init):
* sys/ximage/ximagesink.h: Implement expose method from XOverlay
interface
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_destroy),
(gst_xvimagesink_xvimage_put), (gst_xvimagesink_expose),
(gst_xvimagesink_xoverlay_init), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h: Implement expose method from XOverlay
interface
2004-02-03 23:05:46 +00:00
Benjamin Otte 00a2dfbe9b ext/gdk_pixbuf/gstgdkpixbuf.c: more memleak fixage
Original commit message from CVS:
2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_type_find):
more memleak fixage
2004-02-03 22:51:33 +00:00
Benjamin Otte 974f1a8988 fix memleaks shown by gst-typefind
Original commit message from CVS:
2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init):
* gst/typefind/gsttypefindfunctions.c:
fix memleaks shown by gst-typefind
2004-02-03 22:07:24 +00:00
Thomas Vander Stichele f8aa01ccb1 last glib_root standing
Original commit message from CVS:
last glib_root standing
2004-02-03 20:27:24 +00:00
Thomas Vander Stichele 47be812c27 remove glib_root add hack rule for .Plo files
Original commit message from CVS:
remove glib_root
add hack rule for .Plo files
2004-02-03 20:20:07 +00:00
Benjamin Otte 4c0511c1df gst/qtdemux/qtdemux.c: set explicit caps before adding the element, so the autopluggers can plug correctly.
Original commit message from CVS:
2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream):
set explicit caps before adding the element, so the autopluggers can
plug correctly.
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
(mpeg2_sys_type_find), (mpeg1_sys_type_find),
(mpeg_video_type_find), (mpeg_video_stream_type_find),
(dv_type_find):
fix memleaks in typefind functions. gst_type_find_suggest takes a const
argument.
2004-02-03 18:42:48 +00:00
Thomas Vander Stichele 4785fe4a97 use glib-gen.mak fix Makefile.am bugs and clean them up
Original commit message from CVS:
use glib-gen.mak
fix Makefile.am bugs and clean them up
2004-02-03 16:49:54 +00:00
Benjamin Otte eb9937f2d7 ext/ogg/gstoggdemux.c: handle chain parsing correctly in the multichain case
Original commit message from CVS:
2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain):
handle chain parsing correctly in the multichain case
* ext/theora/theoradec.c: (gst_theora_dec_init), (_theora_ilog),
(theora_dec_from_granulepos), (theora_dec_to_granulepos),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain):
handle events and queries correctly
2004-02-03 16:15:15 +00:00
David I. Lehn 48f2759130 .cvsignore: Ignore generated file _stdint.h.
Original commit message from CVS:
* .cvsignore:
Ignore generated file _stdint.h.
2004-02-03 09:01:19 +00:00
David I. Lehn 85e7b51cf2 gst-libs/gst/: Generate enum type code with glib-mkenums.
Original commit message from CVS:
* gst-libs/gst/colorbalance/Makefile.am:
* gst-libs/gst/colorbalance/colorbalance.h:
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/mixer/mixer.h:
* gst-libs/gst/play/Makefile.am:
* gst-libs/gst/play/play.h:
* gst-libs/gst/tuner/Makefile.am:
* gst-libs/gst/tuner/tuner.h:
Generate enum type code with glib-mkenums.
* gst-libs/gst/colorbalance/.cvsignore:
* gst-libs/gst/mixer/.cvsignore:
* gst-libs/gst/play/.cvsignore:
* gst-libs/gst/tuner/.cvsignore:
Ignore generated files.
2004-02-03 08:56:06 +00:00
David I. Lehn 0724b6808f gst-libs/gst/audio/.cvsignore: Ignore generated file.
Original commit message from CVS:
* gst-libs/gst/audio/.cvsignore:
Ignore generated file.
* gst-libs/gst/audio/Makefile.am:
Do not install example filter.
2004-02-03 08:52:58 +00:00
David I. Lehn 1c066238c1 examples/switch/.cvsignore: Ignore generated file.
Original commit message from CVS:
* examples/switch/.cvsignore:
Ignore generated file.
2004-02-03 08:50:41 +00:00
Benjamin Otte 1830ee9436 co/: add AX_CREATE_STDINT_H to get correct type definitions for a52dec in _stdint.h.
Original commit message from CVS:
2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* common/m4/ax_create_stdint_h.m4:
* configure.ac:
add AX_CREATE_STDINT_H to get correct type definitions for a52dec in
_stdint.h.
* Makefile.am:
remove generated _stdint.h in DISTCLEANFILES
* ext/a52dec/gsta52dec.c:
include _stdint.h for a52dec. (should fix #133064)
2004-02-03 02:40:15 +00:00
Jeremy Simon 777c04662b gst/tags/gstvorbistag.c: Add replaygain support to vorbistag
Original commit message from CVS:
2004-02-02  Jeremy Simon  <jesimon@libertysurf.fr>
* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add),
(gst_tag_to_vorbis_comments):
Add replaygain support to vorbistag
2004-02-02 22:42:42 +00:00
Jeremy Simon e7ee7df8ae ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 caps flag properties
Original commit message from CVS:
2004-02-02  Jeremy Simon  <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_extradata):
Fix SVQ3 caps flag properties
Use glib macro for bytes swap
2004-02-02 22:37:33 +00:00
Thomas Vander Stichele 2167286baf remove textdomain calls
Original commit message from CVS:
remove textdomain calls
2004-02-02 22:25:38 +00:00
Julien Moutte 4026b0bb4f gst-libs/gst/play/play.c: Moving volume in the audio thread for instantaneous volume change. Maybe i will add another...
Original commit message from CVS:
2004-02-02  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/play.c: (gst_play_pipeline_setup),
(gst_play_set_audio_sink): Moving volume in the audio thread for
instantaneous volume change. Maybe i will add another volume in front
of visualization later, not sure yet though.
2004-02-02 22:18:38 +00:00
Julien Moutte 68cc5de995 sys/ximage/ximagesink.c: Better X events handling, only take the latest events for configure and motion.
Original commit message from CVS:
2004-02-02  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_renegotiate_size),
(gst_ximagesink_handle_xevents): Better X events handling, only take
the latest events for configure and motion.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents): same.
2004-02-02 21:59:35 +00:00
David Schleef a09047b5e9 Fix memory leaks:
Original commit message from CVS:
reviewed by: David Schleef  <ds@schleef.org>
Fix memory leaks:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
2004-02-02 20:27:13 +00:00
David Schleef 6e12f3b798 code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.
Original commit message from CVS:
code cleanup.  Change bzero() to memset().  Remove duplicate ; at ends
of lines.
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event):
* ext/flac/gstflactag.c: (gst_flac_tag_chain):
* ext/xvid/gstxviddec.c: (gst_xviddec_src_link):
* gst-libs/gst/play/play.c: (gst_play_get_sink_element):
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain):
* gst/effectv/gstedge.c: (gst_edgetv_sinkconnect):
* gst/effectv/gstvertigo.c: (gst_vertigotv_sinkconnect):
* gst/intfloat/float22int.c: (gst_float2_2_int_getcaps),
(gst_float2_2_int_link):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle):
* gst/rtjpeg/RTjpeg.c: (RTjpeg_init_mcompress):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_init_send):
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_init_receive):
* gst/udp/gstudpsink.c: (gst_udpsink_init_send):
* gst/udp/gstudpsrc.c: (gst_udpsrc_init_receive):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_init):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture):
* testsuite/gst-lint: Add tests for bzero and ;;
2004-02-02 20:09:09 +00:00
David Schleef 71341f8293 gst/debug/efence.c: Add fallback if MAP_ANONYMOUS isn't defined.
Original commit message from CVS:
* gst/debug/efence.c: Add fallback if MAP_ANONYMOUS isn't defined.
2004-02-02 18:28:45 +00:00
Thomas Vander Stichele 7fa1c52301 change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
2004-02-02 17:23:33 +00:00
Thomas Vander Stichele 921fe7a35f ignore files
Original commit message from CVS:
ignore files
2004-02-02 16:11:29 +00:00
Thomas Vander Stichele ef4ae76312 make code more readable by extracting magic numbers fix interface range
Original commit message from CVS:
make code more readable by extracting magic numbers
fix interface range
2004-02-02 14:34:52 +00:00
Thomas Vander Stichele 16c8b080a6 adding files to be ignored
Original commit message from CVS:
adding files to be ignored
2004-02-02 13:03:56 +00:00
Thomas Vander Stichele a45567c977 block tick callback for 0.5 sec after a seek
Original commit message from CVS:
block tick callback for 0.5 sec after a seek
2004-02-02 10:49:32 +00:00
Thomas Vander Stichele 51345d50df check for NULLness and warn if we can't report GError
Original commit message from CVS:
check for NULLness and warn if we can't report GError
2004-02-02 10:19:38 +00:00
Julien Moutte 119c42f201 gst-libs/gst/play/play.c: s/sinkconnect/sink_link
Original commit message from CVS:
2004-02-01  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/play.c: (gst_play_seek_to_time),
(gst_play_new): Accepting NULL GError, blocking time tick while seeking.        * sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(gst_ximagesink_chain), (gst_ximagesink_init): s/sinkconnect/sink_link
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_chain), (gst_xvimagesink_init): s/sinkconnect/sink_link
2004-02-01 22:33:07 +00:00
Thomas Vander Stichele 0cf194b476 add check for new function
Original commit message from CVS:
add check for new function
2004-02-01 19:21:01 +00:00
Benjamin Otte 70222e8fa2 ext/alsa/gstalsa.c: really start/stop clock only on PLAYING <=> PAUSED
Original commit message from CVS:
2004-01-31  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start),
(gst_alsa_drain_audio), (gst_alsa_stop_audio):
really start/stop clock only on PLAYING <=> PAUSED
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
remove \n from debugging lines
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain):
make it work when seeking does not
* ext/vorbis/vorbisdec.c: (vorbis_dec_event):
reset on DISCONT
2004-01-31 20:57:20 +00:00
Benjamin Otte 9d00b21ac4 ext/alsa/gstalsa.c: start clock on PAUSED=>PLAYING, not later
Original commit message from CVS:
2004-01-31  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start):
start clock on PAUSED=>PLAYING, not later
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
extract correct time for different discont formats
(gst_alsa_sink_get_time):
don't segfault when no format is negotiated yet, just return 0
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event),
(gst_ogg_demux_handle_event), (gst_ogg_demux_push),
(gst_ogg_pad_push):
handle flush and discont events correctly
* ext/vorbis/vorbisdec.c: (vorbis_dec_event), (vorbis_dec_chain):
handle discont events correctly
2004-01-31 17:19:21 +00:00
Thomas Vander Stichele fcb5bb22d5 add error handling
Original commit message from CVS:
add error handling
2004-01-31 15:56:32 +00:00
Benjamin Otte 4ec44f3b01 ext/theora/theoradec.c: make comments work
Original commit message from CVS:
2004-01-31  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/theora/theoradec.c: (theora_dec_chain):
make comments work
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_chain):
add encoder tag, fix tag reading to be more error tolerant, change
BITRATE to NOMINAL_BITRATE, add debugging, don't unref events after
gst_pad_event_default.
* gst/tags/gstvorbistag.c:
(gst_tag_list_from_vorbiscomment_buffer):
undefine function specific define at end of function
2004-01-31 11:24:17 +00:00
Jeremy Simon 2b6973d5da ext/flac/: Fix typos
Original commit message from CVS:
2004-01-31  Jeremy Simon  <jesimon@libertysurf.fr>
* ext/flac/gstflacdec.c: (gst_flacdec_class_init):
* ext/flac/gstflacdec.h:
* ext/flac/gstflacenc.h:
Fix typos
2004-01-31 10:25:05 +00:00
David I. Lehn d7d3b770c9 examples/gstplay/player.c: s/gstplay.h/play.h/
Original commit message from CVS:
* examples/gstplay/player.c: s/gstplay.h/play.h/
2004-01-31 00:29:21 +00:00
Thomas Vander Stichele 924628915a done operating
Original commit message from CVS:
done operating
2004-01-30 22:38:56 +00:00
Thomas Vander Stichele 5ca29ca131 removing deprecated code
Original commit message from CVS:
removing deprecated code
2004-01-30 22:03:14 +00:00
Thomas Vander Stichele 0e419fd958 add debug info flush after seek (julien)
Original commit message from CVS:
add debug info
flush after seek (julien)
2004-01-30 20:57:41 +00:00
Benjamin Otte 43403bd183 add bit of info
Original commit message from CVS:
add bit of info
2004-01-30 20:34:43 +00:00
Benjamin Otte 28d6dd44a8 configure.ac: use AC_C_INLINE
Original commit message from CVS:
2004-01-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* configure.ac:
use AC_C_INLINE
* configure.ac:
* ext/Makefile.am:
* ext/theora/Makefile.am:
* ext/theora/theoradec.c:
add theora video decoder. Does just do simple decoding for now and
has been tested against Theora cvs only.
* ext/vorbis/vorbisdec.c: (vorbis_dec_event):
always reset packetno on DISCONT
2004-01-30 20:23:23 +00:00
Ronald S. Bultje 4ee5e3e7db gst/mpegstream/gstmpegdemux.c: Fix audio.
Original commit message from CVS:
2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
Fix audio.
2004-01-30 14:39:37 +00:00
Ronald S. Bultje 4c5a143726 gst/mpegaudioparse/gstmpegaudioparse.c: Fix header parsing - stolen from ffmpeg (thank you! :) ).
Original commit message from CVS:
2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header):
Fix header parsing - stolen from ffmpeg (thank you! :) ).
2004-01-30 14:23:18 +00:00
Ronald S. Bultje b51eb6686d ext/esd/esdsink.c: Since we have static pad template caps, we don't need to negotiate; either the core errors out or ...
Original commit message from CVS:
2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/esd/esdsink.c: (gst_esdsink_init):
Since we have static pad template caps, we don't need to negotiate;
either the core errors out or we know the format.
2004-01-30 12:52:12 +00:00
Ronald S. Bultje 8032ddd30a gst/: Fix event handling.
Original commit message from CVS:
2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head),
(gst_riff_read_seek):
* gst/matroska/ebml-read.c: (gst_ebml_read_element_id),
(gst_ebml_read_seek):
Fix event handling.
2004-01-30 12:37:58 +00:00
Benjamin Otte 9718c77293 ext/ffmpeg/gstffmpegcodecmap.c: removee video/x-theora from vp3 decoder, it doesn't handle raw theora streams
Original commit message from CVS:
2004-01-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
removee video/x-theora from vp3 decoder, it doesn't handle raw
theora streams
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_init):
fix bug with finalizing element that never went to PAUSED
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
length and position queries were swapped
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
(vorbis_dec_from_granulepos), (vorbis_dec_src_query),
(vorbis_dec_src_event):
implement querying time and bytes
2004-01-30 03:51:03 +00:00
Thomas Vander Stichele 92eb19b993 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:45 +00:00
Julien Moutte 7c858cbf0f ext/gnomevfs/gstgnomevfssrc.c: Fixing seeking emiting FLUSH and even before DISCONT.
Original commit message from CVS:
2004-01-29  Julien MOUTTE  <julien@moutte.net>

* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get): Fixing seeking
emiting FLUSH and even before DISCONT.
* gst-libs/gst/play/gstplay.c: (gst_play_seek_to_time): Fix seeking to
get the best instant seeking as possible yay!
2004-01-29 22:44:42 +00:00
Ronald S. Bultje 8b821fcb23 gst/mpeg1videoparse/gstmp1videoparse.c: Committed wrong version last week... Grr... Didn't notice until now.
Original commit message from CVS:
2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpeg1videoparse/gstmp1videoparse.c:
(gst_mp1videoparse_real_chain):
Committed wrong version last week... Grr... Didn't notice until now.
2004-01-29 16:00:55 +00:00