Commit graph

376 commits

Author SHA1 Message Date
Thomas Vander Stichele
11cb1a9f92 fix non-compilation
Original commit message from CVS:
fix non-compilation
2004-01-22 13:22:02 +00:00
David Schleef
75da519525 ext/swfdec/gstswfdec.*: Fix negotiation.
Original commit message from CVS:
* ext/swfdec/gstswfdec.c: (gst_swfdec_video_getcaps),
(gst_swfdec_video_link), (copy_image), (gst_swfdec_loop),
(gst_swfdec_init), (gst_swfdec_change_state):
* ext/swfdec/gstswfdec.h:
Fix negotiation.
* gst/adder/gstadder.c: (gst_adder_link), (gst_adder_init),
(gst_adder_request_new_pad): Fix negotiation.
* gst/goom/gstgoom.c: (gst_goom_init), (gst_goom_src_fixate):
Add a fixate function.
* gst/intfloat/gstfloat2int.c:
* gst/intfloat/gstfloat2int.h:
* gst/intfloat/gstint2float.c:
* gst/intfloat/gstint2float.h:
Completely rewrite the negotiation.  Doesn't quite work yet,
due to some buffer-frames problem.
2004-01-22 03:25:16 +00:00
Thomas Vander Stichele
b95a710d41 use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
David Schleef
89303c580f ext/esd/esdsink.c: Remove property that handles osssink fallback.
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init): Remove property
that handles osssink fallback.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init),
(gst_audio_convert_getcaps):
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Add audio/x-qdm2 for QDM2 audio.
* gst/sine/gstsinesrc.c: (gst_sinesrc_get):
* gst/sine/gstsinesrc.h: Add example of how to implement tags.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps):
Decrease minimum size to 16x16.
* gst/wavparse/gstwavparse.c:
Convert disabled pad template caps to new caps.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_chain): Throw element error when display cannot
be opened.  Increase minimum framerate to 1.0.  Check the data
free function on a buffer to make sure it is the type we expect
before manipulating it.
2004-01-15 21:05:17 +00:00
Ronald S. Bultje
187ce0f853 gst/: Since we use videofilter symbols, link to it.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/videofilter/Makefile.am:
* gst/volume/Makefile.am:
Since we use videofilter symbols, link to it.
2004-01-15 16:34:44 +00:00
Julien Moutte
9aa32817d9 ext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.
Original commit message from CVS:
2004-01-15  Julien MOUTTE <julien@moutte.net>

* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init): Setting
mixer interface type to HARDWARE.
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init): Adding a default
type to SOFTWARE.
* gst-libs/gst/mixer/mixer.h: Adding mixer interface type and macro.
* gst-libs/gst/mixer/mixertrack.h: Adding mixertrack flag SOFTWARE.
* gst/volume/gstvolume.c: (gst_volume_interface_supported),
(gst_volume_interface_init), (gst_volume_list_tracks),
(gst_volume_set_volume), (gst_volume_get_volume),
(gst_volume_set_mute), (gst_volume_mixer_init),
(gst_volume_dispose), (gst_volume_get_type), (volume_class_init),
(volume_init): Implementing mixer interface.
* gst/volume/gstvolume.h: Adding tracklist for mixer interface.
* sys/oss/gstosselement.c: (gst_osselement_get_type),
(gst_osselement_change_state): Removing some trailing commas in
structures.
* sys/oss/gstossmixer.c: (gst_ossmixer_interface_init): Setting mixer
interface type to HARDWARE.
* sys/v4l/gstv4lcolorbalance.c:
(gst_v4l_color_balance_interface_init): Setting colorbalance interface
type to HARDWARE.
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_interface_init): Setting colorbalance
interface type to HARDWARE.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): use exactly the
same code than ximagesink for event handling.
2004-01-15 15:50:10 +00:00
Benjamin Otte
7aa92e04bf ext/flac/gstflacenc.c: handle tags correctly
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacenc.c: (gst_flacenc_set_metadata),
(gst_flacenc_chain):
handle tags correctly
* gst/tags/gstid3tag.c: (gst_tag_list_new_from_id3v1):
extract ID3v1 tags correctly
2004-01-14 16:08:47 +00:00
Ronald S. Bultje
b00b7ac8f0 gst/typefind/gsttypefindfunctions.c: Improve matroska typefinding for odd-typed headers...
Original commit message from CVS:
2004-01-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/typefind/gsttypefindfunctions.c: (matroska_type_find),
(plugin_init):
Improve matroska typefinding for odd-typed headers...
2004-01-14 11:10:05 +00:00
Benjamin Otte
3a64b7c99f use element time.
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/aalib/gstaasink.c: (gst_aasink_chain):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
* ext/esd/esdsink.c: (gst_esdsink_chain):
* ext/libcaca/gstcacasink.c: (gst_cacasink_chain):
* ext/mas/massink.c: (gst_massink_chain):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_chain):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_metadata):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop),
(gst_mpeg_parse_release_locks):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_chain):
* gst/udp/gstudpsink.c: (gst_udpsink_chain):
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_chain):
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvideo/xvideosink.c: (gst_xvideosink_chain),
(gst_xvideosink_release_locks):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
use element time.
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_start),
(gst_alsa_clock_stop):
* gst-libs/gst/audio/audioclock.c: (gst_audio_clock_set_active),
(gst_audio_clock_get_internal_time):
simplify for use with new clocking code.
* testsuite/alsa/Makefile.am:
* testsuite/alsa/sinesrc.c: (sinesrc_init), (sinesrc_force_caps):
fix testsuite for new caps system
2004-01-14 00:53:52 +00:00
Thomas Vander Stichele
2a415f1abd fix up audioconvert caps nego, remove float stuff, remove rate stuff gst-launch-0.7 -v sinesrc ! audioconvert ! audi...
Original commit message from CVS:

fix up audioconvert caps nego, remove float stuff, remove rate stuff
gst-launch-0.7  -v sinesrc ! audioconvert ! audio/x-raw-int,rate=23000 ! wavenc ! filesink location=test.wav now writes a completely useless 23000 Hz wave file
2004-01-12 19:46:45 +00:00
David Schleef
61763a83f0 gst/audioconvert/gstaudioconvert.c: Test that pad is negotiated before getting its caps.
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Test that pad is negotiated before getting its caps.
2004-01-12 18:59:57 +00:00
Julien Moutte
becf91cdfc ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad
Original commit message from CVS:
2004-01-11  Julien MOUTTE  <julien@moutte.net>

* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* ext/hermes/gstcolorspace.c: (gst_colorspace_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):  Fixing the
pad_alloc_buffer implementation to use ->srcpad
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_chain), (gst_ximagesink_buffer_free),
(gst_ximagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/ximage/ximagesink.h: adding a reference to the sink in the image.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/xvimage/xvimagesink.h: adding a reference to the sink in the image
2004-01-11 22:52:29 +00:00
Julien Moutte
7b89c1a8bf ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst-libs/gst/xoverlay/xoverlay.c:
(gst_x_overlay_got_desired_size): Updating doc for the xid being 0.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
2004-01-09 18:05:57 +00:00
David Schleef
899b633288 ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Fix pad_link function to handle formats that ffmpeg returns
as multiple caps structures.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
Only complain if source buffer is _smaller_ than expected.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_handle_src_event): Resize navigation events
when passing them upstream.
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Rewrite many of the buffer painting functions to handle odd
sizes (for many formats, size%4!=0 or size%8!=0).  Most have
been verified to work with my video card.
* testsuite/gst-lint:  Add check for elements calling
gst_pad_get_caps() instead of gst_pad_get_allowed_caps().
2004-01-09 01:53:31 +00:00
Jan Schmidt
b22d0599b3 ext/dv/gstdvdec.c: Fix caps negotiation.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_loop):
Fix caps negotiation.

* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
(dvdnavsrc_update_buttoninfo), (dvdnavsrc_get),
(dvdnavsrc_get_event_mask), (dvdnav_handle_navigation_event),
(dvdnavsrc_event):
* ext/mpeg2dec/gstmpeg2dec.c:
* gst-libs/gst/navigation/navigation.c:
(gst_navigation_send_key_event), (gst_navigation_send_mouse_event):
* gst-libs/gst/navigation/navigation.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_handle_src_event):
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Super-simple first version of mouse and keyboard events. Clicking
on a DVD menu now works, although it may not take you where you
expected.

* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
These fixate functions were broken - they never actually
fixated :)
2004-01-06 16:42:10 +00:00
David Schleef
5cbe819fe2 Fix the fixate functions to handle new prototype:
Original commit message from CVS:
Fix the fixate functions to handle new prototype:
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
* sys/ximage/ximagesink.c: (gst_ximagesink_fixate):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate):
2004-01-04 23:46:39 +00:00
David Schleef
2936894898 Fix silly typo
Original commit message from CVS:
Fix silly typo
2004-01-02 10:02:37 +00:00
David Schleef
84dc963101 Negotiation fixes
Original commit message from CVS:
Negotiation fixes
2004-01-02 07:25:10 +00:00
David Schleef
3fee320b5d Change gst_pad_proxy_link() to gst_pad_try_set_caps()
Original commit message from CVS:
Change gst_pad_proxy_link() to gst_pad_try_set_caps()
2003-12-31 08:41:48 +00:00
David Schleef
e095323df1 Negotiation fixes.
Original commit message from CVS:
Negotiation fixes.
2003-12-31 08:02:04 +00:00
Benjamin Otte
03f064d017 gst/sine/gstsinesrc.c: Fix sinesrc segfaulting
Original commit message from CVS:
2003-12-29  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/sine/gstsinesrc.c: (gst_sinesrc_init), (gst_sinesrc_get):
Fix sinesrc segfaulting
2003-12-29 13:51:21 +00:00
Jeremy Simon
e728ac80d1 Fix warnings
Original commit message from CVS:
Fix warnings
2003-12-27 19:37:17 +00:00
David Schleef
651a9bf44e gst/volume/gstvolume.c: Proxy getcaps.
Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_init): Proxy getcaps.
* sys/oss/gstosssink.c: (gst_osssink_init),
(gst_osssink_sink_fixate): Add fixate function.
2003-12-24 03:31:06 +00:00
Benjamin Otte
00e3d21803 gst/volume/: Reenable volume element and fix to work with new caps stuff.
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/volume/Makefile.am:
* gst/volume/gstvolume.c: (volume_connect), (volume_parse_caps),
(volume_base_init), (volume_init):
Reenable volume element and fix to work with new caps stuff.
Rhythmbox needs this.
2003-12-22 21:06:03 +00:00
David Schleef
3b60021408 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Ronald S. Bultje
31b52089cc configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Improve mpeg2enc detection. This is for distributions that do
ship mjpegtools, but without mpeg2enc. Also does object check
for might there ever be ABI incompatibility.
* ext/mpeg2enc/gstmpeg2enc.cc:
Add Andrew as second maintainer (he's helping me), and also add
an error if no caps was set. This happens if I pull before capsnego
and that's something I should solve sometime else.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix time parsing.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
(gst_matroska_mux_track_header):
Add caps to templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
Add mpegversion=1 to prevent confusion with MPEG/AAC.
* gst/mpegstream/gstmpegdemux.c:
Remove layer since it causes warnings about unfixed caps.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Fix obvious typo (we error out if caps were set, we should of
course error out if *no* caps were set).
* sys/oss/gstosselement.c: (gst_osselement_convert):
Fix format conversion, we confused bits/bytes.
* sys/oss/gstosselement.h:
Improve documentation for 'bps'.
* sys/v4l/TODO:
Remove stuff about plugins that need removing - this was done
ages ago.
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
(gst_v4lsrc_src_query):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_src_convert), (gst_v4l2src_src_query):
Add get_query_types(), get_formats() and query() functions.
2003-12-21 18:44:34 +00:00
Thomas Vander Stichele
9e40c6c920 fix header define
Original commit message from CVS:
fix header define
2003-12-19 14:38:30 +00:00
Benjamin Otte
abc0da96ef make get_id3v1 work
Original commit message from CVS:
make get_id3v1 work
2003-12-15 03:35:00 +00:00
Ronald S. Bultje
99e7283568 Implement query function and use GST_BUFFER_DURATION
Original commit message from CVS:
Implement query function and use GST_BUFFER_DURATION
2003-12-14 21:25:32 +00:00
Ronald S. Bultje
2242dec500 Use filtered caps for format detection, and use GST_BUFFER_DURATION
Original commit message from CVS:
Use filtered caps for format detection, and use GST_BUFFER_DURATION
2003-12-14 21:23:57 +00:00
Thomas Vander Stichele
3e1b87c5ad distcheck fixes
Original commit message from CVS:
distcheck fixes
2003-12-14 19:50:00 +00:00
Ronald S. Bultje
f4cc065738 Implement query() function implementation in sinesrc and fix up paused-ready-paused handling
Original commit message from CVS:
Implement query() function implementation in sinesrc and fix up paused-ready-paused handling
2003-12-14 16:15:49 +00:00
Benjamin Otte
78ddfc5a33 removed GST_*_CAST. Disabling of type checking is done in glib.
Original commit message from CVS:
removed GST_*_CAST. Disabling of type checking is done in glib.
2003-12-13 16:59:51 +00:00
Thomas Vander Stichele
c7e0d8d351 distcheck fixes
Original commit message from CVS:
distcheck fixes
2003-12-08 23:41:53 +00:00
Christophe Fergeau
9f8cc91227 Changed a >= test to a > on the input buffer size in gst_tag_list_from_vorbiscomment_buffer. This was preventing the ...
Original commit message from CVS:
Changed a >= test to a > on the input buffer size in gst_tag_list_from_vorbiscomment_buffer. This was preventing the parsing of vorbiscomments not ending with a sync byte (which seems to happen in flac files)
2003-12-08 22:07:57 +00:00
Thomas Vander Stichele
8b84e06993 distchekc fix
Original commit message from CVS:
distchekc fix
2003-12-08 21:55:35 +00:00
Andy Wingo
80fece4f4b remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:39 +00:00
David Schleef
5a23c64e9b Fix c99-ism
Original commit message from CVS:
Fix c99-ism
2003-11-30 20:46:41 +00:00
Christophe Fergeau
c3328094e8 Use new tagging stuff to read and write flac metadata. Only handles vorbiscomment tags, and not (older) id3v2 tags.
Original commit message from CVS:
Use new tagging stuff to read and write flac metadata. Only handles vorbiscomment tags, and not (older) id3v2 tags.
2003-11-28 13:04:21 +00:00
David Schleef
40ea47fa69 Change everyone to video/x-msvideo
Original commit message from CVS:
Change everyone to video/x-msvideo
2003-11-27 21:48:40 +00:00
Iain Holmes
7e11de332c m4a typefind function.
Original commit message from CVS:
m4a typefind function.
We think the mimetype is audio/x-m4a, thats what rhythmbox wants
but there's also sources to say it could be audio/mp4 or audio/MP4A-LATM
2003-11-27 14:52:45 +00:00
Christophe Fergeau
4ffadb378e Made gst_vorbis_tag_add public
Original commit message from CVS:
Made gst_vorbis_tag_add public
2003-11-26 23:17:50 +00:00
Christophe Fergeau
44ef75e2e7 Renamed gstmp3tag.c to gstid3tag.c, changed application/x-vorbis to audio/x-vorbis
Original commit message from CVS:
Renamed gstmp3tag.c to gstid3tag.c, changed application/x-vorbis to audio/x-vorbis
2003-11-25 21:24:03 +00:00
Benjamin Otte
788acc4917 tagging stuff and build fixes. In detail:
Original commit message from CVS:
tagging stuff and build fixes. In detail:
- make gdk-pixbuf loader work when distchecking
- fix invalid syntax in ffmpeg Makefile. wildcards for EXTRA_DIST are not allowed. This broke builds where distdir != srcdir
- fix ffmpeg cvs grabbing when srcdir != distdir
- new id3tag plugin for id3 tag reading/writing (uses mad's libid3tag)
- mad and libid3tag require mad/libid3tag v0.15. Fixed configure to require that
- added ogg demuxer in ext/ogg. The demuxer does not handle events yet. Especially getting seeking right will require some effort or code copying from libvorbis.
- added raw vorbis detection to typefinding. oggdemux requires a typefind function to detect its contents.
- tags plugin in gst/tags. Provides API in <gst/tags/gsttagediting.h>. API includes tag matching GStreamer <=> ID3 and GStreamer <=> vorbis and writing/reading vorbiscomments or ID3v1 tags. Also included is a simple vorbiscomment reader/writer. Writing will not really work though until someone writes oggmux.
- various build fixes. Mostly missing (DIST)CLEANFILES.
- vorbisenc handles tag writing.

Now it's YOUR turn to fix and write more plugins that handle writing/reading of tags. :)
2003-11-24 04:08:48 +00:00
Christophe Fergeau
b138134c9a Properly detects shn files with no seek tables at the end
Original commit message from CVS:
Properly detects shn files with no seek tables at the end
2003-11-23 00:33:15 +00:00
Benjamin Otte
3a3ee814aa make sinesrc error out on caps nego failures
Original commit message from CVS:
make sinesrc error out on caps nego failures
2003-11-22 01:06:36 +00:00
Leif Johnson
736153ab06 + checking in plugin category changes
Original commit message from CVS:
+ checking in plugin category changes
2003-11-16 22:02:21 +00:00
Benjamin Otte
e410f1a47b unify common typefind functions
Original commit message from CVS:
unify common typefind functions
There are now _START_WITH and _RIFF macros to register types that start with some bytes or are a RIFF type.
Implement detection of compressed types (compress, gzip, bzip2) with those
2003-11-14 22:12:56 +00:00
Benjamin Otte
908cbecf56 use existing data in mp3 when available
Original commit message from CVS:
use existing data in mp3 when available
2003-11-12 02:58:06 +00:00
David Schleef
4483376c6d Fix caps negotiation in _getcaps and _link functions. Should be completely symmetric now.
Original commit message from CVS:
Fix caps negotiation in _getcaps and _link functions.  Should be
completely symmetric now.
2003-11-11 05:35:31 +00:00
Ronald S. Bultje
9bd75f89b7 Two fixes. The first sets inited to TRUE when we're going into passthrough mode (else, capsnego succeeds and the chai...
Original commit message from CVS:
Two fixes. The first sets inited to TRUE when we're going into passthrough mode (else, capsnego succeeds and the chain() function warns that inited != TRUE), and the second check for validity of caps on src side that were entered on sink side before applying. Else, caps1 could be NULL which causes a segfault.
2003-11-10 13:56:25 +00:00
Ronald S. Bultje
94ff8fbb81 Two workarounds added for gcc-2.9x compatibility. The warnigns are wrong, because these variables will logically neve...
Original commit message from CVS:
Two workarounds added for gcc-2.9x compatibility. The warnigns are wrong, because these variables will logically never be used without being initialized, but it complains nevertheless so we should fix it.
2003-11-09 13:43:54 +00:00
Ronald S. Bultje
3f9d4cbd08 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:02 +00:00
David Schleef
084a9a35de add config.h
Original commit message from CVS:
add config.h
2003-11-06 22:18:56 +00:00
Jan Schmidt
e4484d681d It was the license disappeared out of the element details, not the category :)
Original commit message from CVS:
It was the license disappeared out of the element details, not the category :)
2003-11-06 08:43:24 +00:00
David Schleef
40ed06289e Add 'PICT' as possible qt atom type
Original commit message from CVS:
Add 'PICT' as possible qt atom type
2003-11-06 03:29:36 +00:00
David Schleef
30e24a0e90 Added mpeg/video video stream typefinding
Original commit message from CVS:
Added mpeg/video video stream typefinding
2003-11-06 02:29:30 +00:00
David Schleef
2ea76a320c Add 'pnot' as a valid atom name in quicktime
Original commit message from CVS:
Add 'pnot' as a valid atom name in quicktime
2003-11-06 00:06:03 +00:00
Benjamin Otte
c53062c038 gst_caps_get requires a NULL at the end
Original commit message from CVS:
gst_caps_get requires a NULL at the end
2003-11-04 18:10:36 +00:00
Benjamin Otte
e353859291 forgot to make the element details static in here
Original commit message from CVS:
forgot to make the element details static in here
2003-11-02 22:53:56 +00:00
Ronald S. Bultje
e5f82e4cb9 and even sine sources can be generated again
Original commit message from CVS:
and even sine sources can be generated again
2003-11-02 22:20:19 +00:00
Benjamin Otte
71e2ed4a1c fix for new plugin system
Original commit message from CVS:
fix for new plugin system
2003-11-02 21:55:15 +00:00
Benjamin Otte
281738cef9 fix for new plugin system
Original commit message from CVS:
fix for new plugin system
2003-11-02 20:48:33 +00:00
Iain Holmes
3d97918694 Audioconvert - Check!
Original commit message from CVS:
Audioconvert - Check!
Updated for new stuff
2003-11-01 11:41:42 +00:00
David Schleef
8e66b42ac6 Fixes for new plugin init system
Original commit message from CVS:
Fixes for new plugin init system
2003-11-01 01:24:30 +00:00
David Schleef
7521ef13c1 changes for new plugin init system
Original commit message from CVS:
changes for new plugin init system
2003-11-01 01:10:23 +00:00
Benjamin Otte
92ba809c91 first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ex...
Original commit message from CVS:
first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ext/mad.
You guessed it, everything Rhythmbox needs ;)
fixed BMP typefind and made gnomevfs one plugin instead of two while doing this
2003-10-31 20:03:29 +00:00
Iain Holmes
ca8bc88e4b image/x-xpixmap and image/x-sun-raster
Original commit message from CVS:
image/x-xpixmap and image/x-sun-raster
2003-10-31 12:36:57 +00:00
David Schleef
617bb56603 Fix height/width swap in function prototype. Fixes #125827
Original commit message from CVS:
Fix height/width swap in function prototype.  Fixes #125827
2003-10-30 19:24:49 +00:00
Iain Holmes
f13a4004b0 image/x-jng typefind function
Original commit message from CVS:
image/x-jng typefind function
2003-10-29 19:26:31 +00:00
Iain Holmes
adb4ddd384 Add video/x-mng typefinding for completeness
Original commit message from CVS:
Add video/x-mng typefinding for completeness
2003-10-29 19:14:16 +00:00
Iain Holmes
cf2adfbb33 And there's image/x-xcf type finding for all the GIMP people
Original commit message from CVS:
And there's image/x-xcf type finding for all the GIMP people
2003-10-29 13:25:34 +00:00
David Schleef
99d9c43e77 Move a few typefind functions to gst/typefind, remove all old typefinding code from bitrotten plugins
Original commit message from CVS:
Move a few typefind functions to gst/typefind, remove all old typefinding
code from bitrotten plugins
2003-10-29 05:09:40 +00:00
David Schleef
8dc2aee230 Clean up a warning
Original commit message from CVS:
Clean up a warning
2003-10-29 03:21:54 +00:00
David Schleef
38a735ba8c change gst/bytestream.h to gst/bytestream/bytestream.h
Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h
2003-10-29 03:15:52 +00:00
Benjamin Otte
112b1959da merge TYPEFIND branch. Major changes:
Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- all typefind functions are in gst/typefind now
- more typefind functions then before
- some plugins might fail to compile now because I don't have them installed and they
a) require bytestream or
b) haven't had their typefind fixed.
Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
2003-10-28 20:52:41 +00:00
Ronald S. Bultje
ec8a0d492f gcc-2.95 fixage
Original commit message from CVS:
gcc-2.95 fixage
2003-10-14 10:08:28 +00:00
Andy Wingo
dc35dbb595 /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to 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.
2003-10-08 16:08:22 +00:00
Ronald S. Bultje
595cbc2d05 New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:14:45 +00:00
Thomas Vander Stichele
453e9b8871 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:02 +00:00
Benjamin Otte
d26698b5a1 converted gst_element_error to new format in gst/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in gst/ - gettext pending
2003-09-15 00:34:44 +00:00
David Schleef
6511cd71bb Add passthru. Remove height/width parameters. Fix caps negotiation to automatically work with ranges in the output.
Original commit message from CVS:
Add passthru.  Remove height/width parameters.  Fix caps negotiation
to automatically work with ranges in the output.
2003-09-14 11:25:48 +00:00
David Schleef
a5755233e8 Fixes to make it pass media test. Remove frequency parameter, since it can be (and should be) set by caps negotiation.
Original commit message from CVS:
Fixes to make it pass media test.  Remove frequency parameter, since
it can be (and should be) set by caps negotiation.
2003-09-14 11:20:45 +00:00
David Schleef
ebb066d861 Remove all locally-defined optimization flags
Original commit message from CVS:
Remove all locally-defined optimization flags
2003-09-11 19:58:00 +00:00
David Schleef
98c89f610e Add unlink function to properly handle unreffing bufferpools.
Original commit message from CVS:
Add unlink function to properly handle unreffing bufferpools.
2003-09-11 19:25:40 +00:00
Angel Carpintero
72d12d7407 fix ambiguos message of error on read return
Original commit message from CVS:
fix ambiguos message of error on read return
2003-08-29 13:09:26 +00:00
Angel Carpintero
898b9ac6b3 Set by default SO_REUSEADDR and SO_KEEPALIVE socket options
Original commit message from CVS:
Set by default SO_REUSEADDR and SO_KEEPALIVE socket options
2003-08-12 09:59:19 +00:00
David Schleef
0228717f04 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
Angel Carpintero
c272681c11 Add a new parameter _socketop_ to allow use REUSEADDR and KEEPALIVE socket options
Original commit message from CVS:
Add a new parameter _socketop_ to allow use REUSEADDR and KEEPALIVE socket options
2003-08-07 17:56:09 +00:00
Angel Carpintero
99f8de1138 Fixed problems with select , which blocks after receive first buffer
Original commit message from CVS:
Fixed problems with select , which blocks after receive first buffer
2003-08-05 10:24:06 +00:00
David Schleef
fb01948689 Fix handling of RGB caps
Original commit message from CVS:
Fix handling of RGB caps
2003-07-27 05:31:01 +00:00
Angel Carpintero
3aa9762325 Add mtu parameter
Original commit message from CVS:
Add mtu parameter
2003-07-25 09:08:00 +00:00
Angel Carpintero
0a0203b469 Fix errors , now it doesn't complains and compiles, Still need to be fixed problems with timestamps
Original commit message from CVS:
Fix errors , now it doesn't complains and compiles, Still need to be fixed problems with timestamps
2003-07-25 09:04:41 +00:00
Leif Johnson
abe6f76b9f + the last of the float caps changes ... these are a bit more pervasive
Original commit message from CVS:
+ the last of the float caps changes ... these are a bit more pervasive
2003-07-19 23:47:42 +00:00
Leif Johnson
e6f278e065 + alterations to the adder for changed float caps
Original commit message from CVS:
+ alterations to the adder for changed float caps
2003-07-19 23:16:25 +00:00
Leif Johnson
2ad6bd23cf + some whitespace changes + adding dummy definitions to prepare for float caps
Original commit message from CVS:
+ some whitespace changes
+ adding dummy definitions to prepare for float caps
2003-07-19 22:58:41 +00:00
Angel Carpintero
bcdde63659 Update to new debugging system
Original commit message from CVS:
Update to new debugging system
2003-07-18 15:59:03 +00:00
Zeeshan Ali
1312e75f80 adding none caps nego option
Original commit message from CVS:
adding none caps nego option
2003-07-18 00:22:37 +00:00
Zeeshan Ali
e05e44f6d5 A TCP plugin could be needed by many, including wtay himself cause he is sitting behind a firewall blocking UDP and h...
Original commit message from CVS:
A TCP plugin could be needed by many, including wtay himself cause he is sitting behind a firewall blocking UDP and he can't hear or see me. :) Shamefully most of the code is from udpsrc/sink. Still timestamping/clock does'nt work. :(
2003-07-17 23:04:46 +00:00
David Schleef
bca87c1449 Caps fixes. Change meaning of parameters to "default" size and rate. Minor fixes with timestamps. Added 'YUV9', 'Y...
Original commit message from CVS:
Caps fixes.  Change meaning of parameters to "default" size and
rate.  Minor fixes with timestamps.  Added 'YUV9', 'YVU9', and 'IYU2'
formats.
2003-07-14 08:36:03 +00:00
David Schleef
609a5b68e9 Simple replacement for fast, but broken, algorithm. Needs to be refixed.
Original commit message from CVS:
Simple replacement for fast, but broken, algorithm.  Needs to be
refixed.
2003-07-14 08:31:26 +00:00
David Schleef
874eab7a0a Simple replacement for faster, but broken, algorithm. Needs to be refixed.
Original commit message from CVS:
Simple replacement for faster, but broken, algorithm.  Needs to be
refixed.
2003-07-14 08:30:45 +00:00
David Schleef
9567e9fdc5 Fixes from caps changes
Original commit message from CVS:
Fixes from caps changes
2003-07-08 07:40:09 +00:00
Ronald S. Bultje
b005531324 New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:52 +00:00
David Schleef
b24a690f25 be more graceful when caps negotiation fails
Original commit message from CVS:
be more graceful when caps negotiation fails
2003-06-30 05:21:09 +00:00
Benjamin Otte
ffa5706370 compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:46:12 +00:00
Thomas Vander Stichele
5a33944070 fix object reset
Original commit message from CVS:
fix object reset
2003-06-11 22:39:37 +00:00
Ronald S. Bultje
c64c58bd11 Backport of #109069
Original commit message from CVS:
Backport of #109069
2003-06-10 16:22:41 +00:00
David Schleef
b036fe4fda fix: width is in bytes, not bits. Remove incorrect assertion.
Original commit message from CVS:
fix: width is in bytes, not bits.  Remove incorrect assertion.
2003-06-10 06:32:59 +00:00
Wim Taymans
6f687403fe - return result of parent state change too
Original commit message from CVS:
- return result of parent state change too
2003-05-24 10:18:38 +00:00
Brian Cameron
361c9eff09 Updated autogen.sh/configure.ac and various Makefiles to make the configure script set up all gcc specific compiler a...
Original commit message from CVS:
Updated autogen.sh/configure.ac and various Makefiles to make the
configure script set up all gcc specific compiler arguments, rather
than hardcoding them in the Makefile.am files
2003-05-21 15:16:51 +00:00
David Schleef
e8d4772d3f Add sync parameter
Original commit message from CVS:
Add sync parameter
2003-05-18 23:20:24 +00:00
David Schleef
90e3d8cd2e Fix issues with invalid fourcc parameters.
Original commit message from CVS:
Fix issues with invalid fourcc parameters.
2003-05-14 18:43:36 +00:00
David Schleef
5dd299ff83 code cleanup. Changed g_print to GST_DEBUG(). Fixed RGB caps to work with 0.6.
Original commit message from CVS:
code cleanup.  Changed g_print to GST_DEBUG().  Fixed RGB caps to
work with 0.6.
2003-05-13 07:14:36 +00:00
Christian Schaller
4f03b7c098 Some bugfixes:
Original commit message from CVS:
Some bugfixes:
- Add missing .h file to videoscale disting
- Remove http plugin from build
2003-05-12 13:17:11 +00:00
Thomas Vander Stichele
8991e57614 fixes #112711
Original commit message from CVS:
fixes #112711
2003-05-10 17:37:27 +00:00
David Schleef
4784df277a Change .p2align to .align for non-gas assemblers. (Fixes: #112608)
Original commit message from CVS:
Change .p2align to .align for non-gas assemblers.  (Fixes: #112608)
2003-05-09 18:36:50 +00:00
Ronald S. Bultje
738752c19e Fix compile error because of unused functions
Original commit message from CVS:
Fix compile error because of unused functions
2003-05-02 20:36:55 +00:00
David Schleef
75dd6425ed restore wtay's clocking changes in 1.17->1.18
Original commit message from CVS:
restore wtay's clocking changes in 1.17->1.18
2003-05-01 06:24:34 +00:00
David Schleef
fcb4b55a0c Add parameter to set the type of test pattern. Fix black test pattern.
Original commit message from CVS:
Add parameter to set the type of test pattern.  Fix black test pattern.
2003-04-23 07:38:32 +00:00
David Schleef
35c9b84644 Added a test pattern for black. Made it the default (temporarily)
Original commit message from CVS:
Added a test pattern for black.  Made it the default (temporarily)
2003-04-22 22:21:08 +00:00
David Schleef
00494ba94f Add 16 and 15-bit RGB formats
Original commit message from CVS:
Add 16 and 15-bit RGB formats
2003-04-22 07:39:34 +00:00
David Schleef
856cea1d53 Rewrote much of videoscale. Now handles most common YUV formats as well as 32 and 24 bit RGB. Only handles "nearest...
Original commit message from CVS:
Rewrote much of videoscale.  Now handles most common YUV formats
as well as 32 and 24 bit RGB.  Only handles "nearest" scaling.
2003-04-22 07:32:50 +00:00
David Schleef
7d7d7df539 Fix height/width caps negotiation
Original commit message from CVS:
Fix height/width caps negotiation
2003-04-17 07:34:18 +00:00
Benjamin Otte
b3c728ed0d *_is_writeable => *_is_writable (spelling)
Original commit message from CVS:
*_is_writeable => *_is_writable (spelling)
2003-04-16 18:36:29 +00:00
David Schleef
4a2b1b2947 Significant improvements to videotestsrc. More modular, handles RGB formats.
Original commit message from CVS:
Significant improvements to videotestsrc.  More modular, handles RGB
formats.
2003-04-16 07:52:54 +00:00
Benjamin Otte
333099fdeb change *_is_readonly to *_is_writeable. Hope the name stays now...
Original commit message from CVS:
change *_is_readonly to *_is_writeable. Hope the name stays now...
2003-04-15 21:35:08 +00:00
Benjamin Otte
f38ca0a7f4 - revert change to use a newly added gst_buffer_is_readonly (which wasn't newly added before)
Original commit message from CVS:
- revert change to use a newly added gst_buffer_is_readonly (which wasn't newly added before)
- walk buffer backwards when it might be possible that data is read out of overwritten parts when going forwards
2003-04-15 19:10:14 +00:00
Colin Walters
804522784e Change agressive -> aggressive.
Original commit message from CVS:
Change agressive -> aggressive.
2003-04-15 03:39:22 +00:00
Colin Walters
8aa9339f50 Initialize various variables so gcc won't complain.
Original commit message from CVS:
Initialize various variables so gcc won't complain.

Use GST_BUFFER_FLAG_IS_SET instead of unknown function gst_buffer_is_readonly.
2003-04-15 03:19:08 +00:00
Benjamin Otte
d41620bc75 Added initial version of audioconvert, a generic converter of integer audio/raw formats.
Original commit message from CVS:
Added initial version of audioconvert, a generic converter of integer audio/raw formats.
It currently supports conversion of
- channels (mono/stereo only, until someone tells me how to mix other channels)
- endianness (little/bi endian)
- signedness
- width (8, 1, 24 and 32 bits)
- depth (1 - width bits)
missing:
- enough testing (I intend to write a testsuite for this, but that's pending)
- samplerate conversion
- other goodies like format conversion etc
Expect bugs when using it.

problems this should solve:
- encoding wav files on big endian machines
- goom working with mono audio files in gst-player
- Iain's soundcard (that one is a problem in itself)
- complaints about missing conversion
- too many age old, nearly unmaintained plugins (stereo2mono etc.)
Have fun.
2003-04-14 01:20:30 +00:00
Wim Taymans
244658dc96 Do rate control, skip frames when too old.
Original commit message from CVS:
Do rate control, skip frames when too old.
2003-02-11 21:31:28 +00:00
Wim Taymans
5e9794a11a ref the caps when returning it as the result of a getcaps function as we're reusing it.
Original commit message from CVS:
ref the caps when returning it as the result of a getcaps function as we're
reusing it.
2003-02-11 20:53:01 +00:00
Wim Taymans
4560424580 - Fix endless loop in adder
Original commit message from CVS:
- Fix endless loop in adder
- return from interrupt events.
2003-01-11 16:28:29 +00:00
Thomas Vander Stichele
e976ccb298 PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
9032557b33 another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
2003-01-10 10:22:25 +00:00
David I. Lehn
d7e508a4f6 exciting .cvsignore updates!
Original commit message from CVS:
exciting .cvsignore updates!
2002-12-31 18:14:08 +00:00
Thomas Vander Stichele
3b540378fb parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +00:00
David Schleef
60ad16aadf Fix divide by zero bug when rate==0
Original commit message from CVS:
Fix divide by zero bug when rate==0
2002-11-09 01:21:00 +00:00
Thomas Vander Stichele
fcb9eb08c1 backmerge
Original commit message from CVS:
backmerge
2002-11-01 21:41:29 +00:00
David I. Lehn
367bda475d use G_{BEGIN,END}_DECLS
Original commit message from CVS:
use G_{BEGIN,END}_DECLS
2002-10-30 09:17:12 +00:00
David I. Lehn
0f52282149 fix videotestsrc ! fakesink: use macro to null terminate props reformat a few lines
Original commit message from CVS:
fix videotestsrc ! fakesink: use macro to null terminate props
reformat a few lines
2002-10-30 09:16:03 +00:00
Ronald S. Bultje
04e0c89c8e Fix some broken param_specs
Original commit message from CVS:
Fix some broken param_specs
2002-10-27 22:29:56 +00:00
David Schleef
506fbb6766 add rate parameter
Original commit message from CVS:
add rate parameter
2002-10-23 06:03:03 +00:00
David Schleef
dbe3e46c71 add black, superblack, darkgrey areas
Original commit message from CVS:
add black, superblack, darkgrey areas
2002-10-23 04:35:55 +00:00
Andy Wingo
6e2a4b063c comment out unused function
Original commit message from CVS:
comment out unused function
2002-10-15 20:44:15 +00:00
David Schleef
3c967ffc03 Lots of new goodness. Will negotiate caps and output images in about 20 different formats. Some code cleanup. Fixe...
Original commit message from CVS:
Lots of new goodness.  Will negotiate caps and output images in
about 20 different formats.  Some code cleanup.  Fixed YUV color
values for -I and Q.
2002-10-04 06:49:51 +00:00
Thomas Vander Stichele
122dd88f69 sorry
Original commit message from CVS:
sorry
2002-10-01 20:45:29 +00:00
Thomas Vander Stichele
7917c63f5d code cleanups renamed FORMAT to WIDTH and disabled it since the code is fixed for 16 bit
Original commit message from CVS:
code cleanups
renamed FORMAT to WIDTH and disabled it since the code is fixed for 16 bit
2002-10-01 12:03:05 +00:00
Thomas Vander Stichele
21dd80fa24 talk about a painful merge
Original commit message from CVS:
talk about a painful merge
2002-09-23 09:39:33 +00:00
Christian Schaller
e127f803f0 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:52 +00:00
David Schleef
4f5c32f140 If output size == input size, just pass through buffer
Original commit message from CVS:
If output size == input size, just pass through buffer
2002-09-15 21:38:28 +00:00
Wim Taymans
bda510b4a0 const fixes
Original commit message from CVS:
const fixes
2002-09-12 20:53:56 +00:00
Thomas Vander Stichele
a316ba39ef this is what triggered olive's bug.
Original commit message from CVS:
this is what triggered olive's bug.
guess this needs an event update ?
2002-09-12 16:13:08 +00:00
Ronald S. Bultje
95281dfe33 This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS:
This updates all plugins to the new API for gst_pad_try_set_caps
2002-09-10 09:31:40 +00:00
Thomas Vander Stichele
a734880ad3 removing warnings (approved by wtay)
Original commit message from CVS:
removing warnings (approved by wtay)
2002-09-09 23:24:27 +00:00
Thomas Vander Stichele
76866a1a71 various code cleanups use gst/audio/audio.h more allow setting fixed set of audio format specs so that adder can work...
Original commit message from CVS:
various code cleanups
use gst/audio/audio.h more
allow setting fixed set of audio format specs so that adder can work as a
NULL src
adder ! fakesink works, but adder ! osssink not yet, due to some caps nego
that is failing.
Help is appreciated there.
2002-09-09 09:26:23 +00:00
Thomas Vander Stichele
f58af3c230 patch from mromaine
Original commit message from CVS:
patch from mromaine
2002-08-26 15:49:34 +00:00
Steve Baker
e40b24493b use gstcontrol as a lib, not a plugin
Original commit message from CVS:
use gstcontrol as a lib, not a plugin
2002-08-11 12:20:43 +00:00
David Schleef
2af7be18a3 Use bufferpool, if available
Original commit message from CVS:
Use bufferpool, if available
2002-07-30 07:38:01 +00:00
David Schleef
eea061c98b Will now negotiate I420, YV12, and RGB
Original commit message from CVS:
Will now negotiate I420, YV12, and RGB
2002-07-30 07:17:37 +00:00
David Schleef
463055e531 Add timestamping
Original commit message from CVS:
Add timestamping
2002-07-30 01:25:26 +00:00
Steve Baker
c9b9e1dd22 #include <string.h>
Original commit message from CVS:
#include <string.h>
2002-07-28 13:40:53 +00:00
David Schleef
768253dc38 Added reasonable values for primaries in YUV space. Added second reverse blue pattern. Added a crummy but very fast...
Original commit message from CVS:
Added reasonable values for primaries in YUV space.  Added second
reverse blue pattern.  Added a crummy but very fast RNG to replace
calls to random().
2002-07-28 04:23:07 +00:00
David Schleef
e5f5cc155c New plugin for generating a test video stream
Original commit message from CVS:
New plugin for generating a test video stream
2002-07-26 22:18:57 +00:00
Wim Taymans
db77f68c5b Parse the format as a fourcc
Original commit message from CVS:
Parse the format as a fourcc
2002-07-26 20:27:01 +00:00
Andy Wingo
82705bdd33 fix to adder: don't pull on unusable pads
Original commit message from CVS:
* fix to adder: don't pull on unusable pads
* fix to ladspa: get output buffers first, so we can know how many frames to
process
- this breaks inplace buffer stuff, hmm
* fix to float2int: add a bufferpool with the same nframes as the source pad's
pool -> no extra latency
2002-07-26 18:55:43 +00:00
David Schleef
4887bfaee3 Fix gst_buffer_copy_on_write() problem in chain_int function, too
Original commit message from CVS:
Fix gst_buffer_copy_on_write() problem in chain_int function, too
2002-07-25 21:46:17 +00:00
David Schleef
1bed6cbedd Fix: use gst_buffer_copy_on_write() instead of incorrect copying if READONLY.
Original commit message from CVS:
Fix: use gst_buffer_copy_on_write() instead of incorrect copying if READONLY.
2002-07-25 18:59:41 +00:00
Thomas Vander Stichele
3baaec0832 desc fix
Original commit message from CVS:
desc fix
2002-07-15 11:03:24 +00:00
Wim Taymans
f7b390d6e7 Make elements nanoseconds aware
Original commit message from CVS:
Make elements nanoseconds aware
2002-06-02 13:25:39 +00:00
Steve Baker
0e02813372 use new dparams api. also has a slight optimisation so that CLAMP is only used if gain is greater than 1.0
Original commit message from CVS:
use new dparams api. also has a slight optimisation so that CLAMP is only used if gain is greater than 1.0
2002-05-29 18:56:23 +00:00
Steve Baker
6ad042fada use new dparams api. run demo_dparams to hear how smooth it is now
Original commit message from CVS:
use new dparams api. run demo_dparams to hear how smooth it is now
2002-05-29 18:54:19 +00:00
Andy Wingo
85a358dbe3 fix makefile...
Original commit message from CVS:
fix makefile...
2002-05-29 06:17:24 +00:00
Andy Wingo
8abfefa61b maintainance on audioscale
Original commit message from CVS:
maintainance on audioscale
2002-05-29 06:14:43 +00:00
Andy Wingo
031de644f9 fixups in the prop view/controller compilation fixes in the player add gst-editor to gst-all fixes to adder to comply...
Original commit message from CVS:
* fixups in the prop view/controller
* compilation fixes in the player
* add gst-editor to gst-all
* fixes to adder to comply with new osssink sync issues
* alsa fixes, although still 100% cpu is used, yum
* reenable locking of threaded elements, seems to work fine here
* fix a makefile in examples/plugins
2002-05-27 04:48:57 +00:00
Andy Wingo
b94f335876 volume 1.0 by default
Original commit message from CVS:
volume 1.0 by default
2002-05-27 04:29:30 +00:00
Thomas Vander Stichele
6d1b431627 yield from time to time
Original commit message from CVS:
yield from time to time
2002-05-25 18:03:10 +00:00
Steve Baker
ea1b554280 use new bytestream api. please test if you care about this plugin
Original commit message from CVS:
use new bytestream api. please test if you care about this plugin
2002-05-15 19:03:59 +00:00
Steve Baker
d66933e37f sinesrc:
Original commit message from CVS:
sinesrc:
- fixed timestamp calculation (again)
- renamed buffer_size to the less ambigious samples_per_buffer
demo_dparams:
- replaced clumsy g_object_set_property with g_object_set
- use volume element for volume (just for testing)
2002-05-05 15:46:05 +00:00
Steve Baker
49f02b6a0e make the volume range a more sensible 0 -> 4 instead of -4 -> 4
Original commit message from CVS:
make the volume range a more sensible 0 -> 4 instead of -4 -> 4
2002-05-05 15:42:48 +00:00
Benjamin Otte
ff7ac81fd8 gstvolume.c:321: warning: operation on 'i' may be undefined
Original commit message from CVS:
gstvolume.c:321: warning: operation on 'i' may be undefined
2002-05-04 22:24:03 +00:00
Steve Baker
00ffafbbb4 this is basically a rewrite of the volume plugin:
Original commit message from CVS:
this is basically a rewrite of the volume plugin:
- now uses dparams for volume and mute
- only supports signed gint16 and float (other types can be easily added but I don't think that will be required)
- "muted" property is now "mute"
- it might be faster because there are now no conditionals in the chain func
2002-04-28 16:07:41 +00:00
Steve Baker
6225c7a1a3 use defaults that make a noise
Original commit message from CVS:
use defaults that make a noise
2002-04-26 09:38:47 +00:00
Andy Wingo
d11dbb0338 a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br...
Original commit message from CVS:
* a hack to work around intltool's brokenness
* a current check for mpeg2dec
* details->klass reorganizations
* an element browser that uses details->klass
* separated cdxa parse out from the avi directory
2002-04-20 21:42:51 +00:00
Steve Baker
434bc836ce - dparams api changes
Original commit message from CVS:
- dparams api changes
- use a bufferpool
- reinstate freq and volume as element properties
2002-04-14 10:29:35 +00:00
Steve Baker
500cb70149 ARG_METHOD is an enum
Original commit message from CVS:
ARG_METHOD is an enum
2002-04-14 10:22:24 +00:00
Andy Wingo
f7ebc8f95d GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.
2002-04-11 20:42:27 +00:00
Thomas Vander Stichele
1ec871710e various Wall fixes
Original commit message from CVS:
various Wall fixes
2002-04-10 17:41:33 +00:00
Benjamin Otte
492d658c44 fixed first bunch of compiler warnings
Original commit message from CVS:
fixed first bunch of compiler warnings
2002-04-06 03:40:13 +00:00
jim thornton
29487094cc Fix: don't try to mangle a read-only buffer. This was causing SEGV when volume fed from wavparse from filesrc (which...
Original commit message from CVS:
patch from jim thornton <jthornton@parc.com>:

Fix: don't try to mangle a read-only buffer.  This was causing SEGV when
volume fed from wavparse from filesrc (which mmaps the file read-only)
2002-04-02 16:43:08 +00:00
Steve Baker
2d698ba7d2 expose freq and volume as object properties again.
Original commit message from CVS:
expose freq and volume as object properties again.
2002-04-02 09:05:33 +00:00
Steve Baker
9775eafb8d don't malloc the temp gvalues
Original commit message from CVS:
don't malloc the temp gvalues
2002-04-02 09:04:14 +00:00
Wim Taymans
082c24afe8 Get the 'signed' property as a boolean.
Original commit message from CVS:
Get the 'signed' property as a boolean.
2002-03-30 17:22:18 +00:00
Wim Taymans
23d2a4198b Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
2002-03-30 17:06:26 +00:00
Andy Wingo
b80916e4db added a bunch of cvsignore stuff off of a fresh checkout and build i will win the race to max LOC changed ;-)
Original commit message from CVS:
added a bunch of cvsignore stuff off of a fresh checkout and build

i will win the race to max LOC changed ;-)
2002-03-25 05:01:00 +00:00
Andy Wingo
3e882a4bf3 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:03 +00:00
Andy Wingo
12bac12e5c added plugin_desc structures to libs, which makes their locations cached in the registry. this speeds plugin loading ...
Original commit message from CVS:
* added plugin_desc structures to libs, which makes their locations cached in the registry. this
speeds plugin loading considerably, especially on uninstalled versions.

* put the lib path before all others, for speed reasons.

* some fixes to adder's caps.

* added linefeeds (\n) to GST_DEBUG strings to match GST_INFO behavior. this is more sane. all
code will need to be converted. i think some perl can do this.
2002-03-24 20:55:44 +00:00
Andy Wingo
598d929eec s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:03 +00:00
Andy Wingo
1049c792c8 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:06 +00:00