Commit graph

988 commits

Author SHA1 Message Date
Jan Schmidt
b15bb53be7 Update libvisual to 0.1.7. Link in the debug handling to gstreamer
Original commit message from CVS:
* configure.ac:
* ext/libvisual/visual.c: (gst_visual_get_type),
(libvisual_log_handler), (gst_visual_getcaps),
(gst_visual_srclink), (gst_visual_change_state), (make_valid_name),
(plugin_init):
Update libvisual to 0.1.7. Link in the debug handling to gstreamer
* ext/smoothwave/Makefile.am:
* ext/smoothwave/demo-osssrc.c: (main):
* ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init),
(gst_smoothwave_init), (gst_smoothwave_dispose), (gst_sw_sinklink),
(gst_sw_srclink), (gst_smoothwave_chain), (gst_sw_change_state),
(plugin_init):
* ext/smoothwave/gstsmoothwave.h:
Make gstsmoothwave a working element in the 20th century.
* gst/chart/gstchart.c: (gst_chart_init), (gst_chart_srcconnect):
Fix incorrect link function
2004-11-12 17:37:49 +00:00
Iain Holmes
dede504448 Added the polypaudio sink and hooked it into the build system.
Original commit message from CVS:
Added the polypaudio sink and hooked it into the build system.
2004-11-12 15:04:55 +00:00
Ronald S. Bultje
618e9b77f9 ext/alsa/gstalsasink.c: Fix for negotiation order problem. This would show when the
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
Fix for negotiation order problem. This would show when the
ALSA loopfuction was called before any other function. ALSA
wouldn't do anything because we're not negotiated yet, leading
to an infinite loop. Showed in e.g. Rhythmbox. Fixes #158006.
2004-11-12 10:07:46 +00:00
Ronald S. Bultje
99032c54d3 ext/vorbis/vorbisdec.c: No warnings (#157986).
Original commit message from CVS:
reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
No warnings (#157986).
2004-11-11 21:19:27 +00:00
Ronald S. Bultje
05b7b2845b ext/alsa/gstalsa.c: Only set hardware parameters *after* negotiation. Before negotiation, it will set ANY and that se...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state):
Only set hardware parameters *after* negotiation. Before
negotiation, it will set ANY and that seems to cause crashes
(see e.g. #151288, #153227).
2004-11-11 10:27:01 +00:00
Ronald S. Bultje
f04b458d87 ext/alsa/gstalsasink.c: This seems to be antique leftover. It needs to pass error checking.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
This seems to be antique leftover. It needs to pass error
checking.
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init),
(gst_sdlvideosink_deinitsdl), (gst_sdlvideosink_initsdl),
(gst_sdlvideosink_destroy), (gst_sdlvideosink_create),
(gst_sdlvideosink_sinkconnect), (gst_sdlvideosink_chain):
Fix GstXOverlay implementation (#151059).
2004-11-10 22:01:19 +00:00
Ronald S. Bultje
5aa107a360 ext/alsa/gstalsasink.c: Fix bytes/samples confustion.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
Fix bytes/samples confustion.
(gst_alsa_sink_mmap), (gst_alsa_sink_loop):
Fix for underrun (#144389).
2004-11-10 14:53:49 +00:00
Benjamin Otte
37af33bdda ext/alsa/gstalsa.c: buffer-frames property was missing
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_caps_internal):
buffer-frames property was missing
* ext/arts/gst_arts.c:
rate missing from sinkcaps
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/swfdec/gstswfdec.c:
int audio doesn't know buffer-frames
* ext/cdparanoia/gstcdparanoia.c:
int audio doesn't know chunksize either
* ext/nas/nassink.c:
it's endianness, not endianess
* gst-libs/gst/audio/audio.h:
make float standard pad template caps really describe float
* gst/law/mulaw.c: (linear_factory):
signed only, please
* gst/mpegstream/gstdvddemux.c:
widths of 20 are not valid
2004-11-09 06:08:22 +00:00
Ronald S. Bultje
3d4fb38877 ext/ogg/gstoggdemux.c: Let's act as if we're synchronized now! :).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (get_relative), (gst_ogg_demux_src_query),
(gst_ogg_demux_push), (gst_ogg_pad_push):
Let's act as if we're synchronized now! :).
* ext/theora/theoradec.c: (theora_dec_chain):
Add some debug.
2004-11-08 17:02:07 +00:00
Ronald S. Bultje
6169fd7d0d ext/ogg/gstoggdemux.c: Actually always send a discont (cornercase when resending the same serial-tagged chain twice).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
Actually always send a discont (cornercase when resending the
same serial-tagged chain twice).
2004-11-08 14:43:47 +00:00
Ronald S. Bultje
75c18f1b4e Add musepack decoder.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musepack/gstmusepackdec.cpp:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.cpp:
* ext/musepack/gstmusepackreader.h:
Add musepack decoder.
* ext/faad/gstfaad.c: (gst_faad_base_init):
Make pad templates static.
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
(plugin_init):
Add musepack typefinder, make mp3 typefinding work halfway stream,
which doesn't actually work yet because id3demux doesn't implement
_get_length().
2004-11-07 18:30:07 +00:00
Ronald S. Bultje
67fb4efc00 ext/ogg/gstoggmux.c: Fix interrupt event handling (#144436).
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_loop):
Fix interrupt event handling (#144436).
2004-11-07 14:03:51 +00:00
Ronald S. Bultje
9aeea7c92b ext/vorbis/vorbisenc.c: Fix weird caps (#157548).
Original commit message from CVS:
reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/vorbis/vorbisenc.c: (raw_caps_factory):
Fix weird caps (#157548).
2004-11-06 22:50:09 +00:00
Christophe Fergeau
229ab4a80c ext/ogg/gstoggdemux.c: fix an "invalid free" warning from libc.
Original commit message from CVS:
2004-11-01  Christophe Fergeau  <teuf@gnome.org>

* ext/ogg/gstoggdemux.c: (gst_ogg_demux_finalize): fix an "invalid
free" warning from libc.
2004-11-01 17:25:07 +00:00
Jan Schmidt
4cf67a0834 Fixes a bunch of problems with finalize and dispose functions, either assumptions that dispose is only called once, o...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_init), (gst_alsa_dispose),
(gst_alsa_finalize):
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init),
(gst_cdaudio_finalize):
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_finalize):
* ext/divx/gstdivxdec.c: (gst_divxdec_dispose):
* ext/divx/gstdivxenc.c: (gst_divxenc_dispose):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_finalize):
* ext/flac/gstflacdec.c: (gst_flacdec_class_init),
(gst_flacdec_finalize):
* ext/flac/gstflacenc.c: (gst_flacenc_class_init),
(gst_flacenc_finalize):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_class_init),
(gst_gnomevfssink_finalize):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_class_init),
(gst_gnomevfssrc_finalize):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init),
(gst_fameenc_finalize):
* ext/nas/nassink.c: (gst_nassink_class_init),
(gst_nassink_finalize):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_finalize),
(gst_sdlvideosink_class_init):
* ext/sndfile/gstsf.c: (gst_sf_dispose):
* gst-libs/gst/mixer/mixertrack.c: (gst_mixer_track_dispose):
* gst-libs/gst/tuner/tunerchannel.c: (gst_tuner_channel_dispose):
* gst-libs/gst/tuner/tunernorm.c: (gst_tuner_norm_dispose):
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_x_window_listener_dispose):
* gst/audioscale/gstaudioscale.c:
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init),
(play_on_demand_finalize):
* gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init),
(cdplayer_finalize):
* sys/glsink/glimagesink.c: (gst_glimagesink_finalize),
(gst_glimagesink_class_init):
* sys/oss/gstosselement.c: (gst_osselement_class_init),
(gst_osselement_finalize):
* sys/oss/gstosssink.c: (gst_osssink_dispose):
* sys/oss/gstosssrc.c: (gst_osssrc_dispose):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_dispose):
Fixes a bunch of problems with finalize and dispose functions,
either assumptions that dispose is only called once, or not calling
the parent class dispose/finalize function
2004-11-01 14:43:38 +00:00
Scott Wheeler
3fcf384570 pre-C99 fixes
Original commit message from CVS:
pre-C99 fixes
2004-11-01 13:23:29 +00:00
Johan Dahlin
6112413a1f Plug more leaks.
Original commit message from CVS:
Plug more leaks.
2004-11-01 10:38:30 +00:00
Benjamin Otte
e062e1ea97 ext/ogg/gstoggdemux.c: another memleak crushed
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
another memleak crushed
2004-10-31 17:16:58 +00:00
Ronald S. Bultje
109d3f572a ext/ogg/gstoggdemux.c: Hack to prevent crash when going to READY inside signal handler while this function is active.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
Hack to prevent crash when going to READY inside signal handler
while this function is active.
2004-10-31 15:33:43 +00:00
Ronald S. Bultje
4744db22d7 ext/ogg/gstoggdemux.c: Synchronized discont handling.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_push), (gst_ogg_pad_push):
Synchronized discont handling.
2004-10-29 16:18:08 +00:00
Ronald S. Bultje
477d4ee09b ext/ogg/gstoggdemux.c: Make seeking sort-of exact again (fixes #156387).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event),
(gst_ogg_demux_push):
Make seeking sort-of exact again (fixes #156387).
2004-10-29 15:59:37 +00:00
Ronald S. Bultje
fd3928e802 Doh
Original commit message from CVS:
Doh
2004-10-27 10:58:52 +00:00
Ronald S. Bultje
febc9b6120 ext/alsa/gstalsamixer.c: Don't break on options (fixes #156488).
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
Don't break on options (fixes #156488).
2004-10-27 09:21:25 +00:00
Wim Taymans
a38d338dcd ext/ogg/gstoggdemux.c: Fix EOS again. Needs to be done in a better way. We should not remove the pad if there is no n...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event),
(gst_ogg_demux_handle_event), (_find_chain_get_unknown_part),
(_find_streams_check), (gst_ogg_demux_push):
Fix EOS again. Needs to be done in a better way. We should not
remove the pad if there is no new chained stream.
2004-10-26 14:41:06 +00:00
Iain Holmes
e2dc945577 Memory leak fixes
Original commit message from CVS:
Memory leak fixes
Allow level to take mono or stereo audio
2004-10-26 11:36:53 +00:00
Ronald S. Bultje
01400183bc ext/gnomevfs/gstgnomevfssink.c: Implement seeking.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_init),
(gst_gnomevfssink_handle_event), (gst_gnomevfssink_chain):
Implement seeking.
2004-10-26 08:07:38 +00:00
Wim Taymans
64f5768c35 ext/ogg/gstoggdemux.c: Make sure to remove the pad when a new chain is encountered. Set some vars to NULL so we don't...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_remove),
(gst_ogg_demux_push), (gst_ogg_chains_clear):
Make sure to remove the pad when a new chain is
encountered. Set some vars to NULL so we don't try
to reference freed memory.
2004-10-25 17:46:03 +00:00
Ronald S. Bultje
61ab6a6089 ext/: Add codec-name metadata.
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/speex/gstspeexdec.c: (speex_dec_chain):
* ext/theora/theoradec.c: (theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Add codec-name metadata.
2004-10-25 16:10:58 +00:00
Ronald S. Bultje
8c1e1212d6 ALSA mixer track label internationalization (#154054).
Original commit message from CVS:
Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
* po/POTFILES.in:
ALSA mixer track label internationalization (#154054).
2004-10-25 15:58:35 +00:00
Ronald S. Bultje
3dfce58f84 ext/theora/theoradec.c: Export bitrate as metadata.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Export bitrate as metadata.
2004-10-25 15:31:51 +00:00
Ronald S. Bultje
a5ba798652 ext/alsa/: Fix names, fix loop.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
Fix names, fix loop.
2004-10-25 13:51:41 +00:00
Ronald S. Bultje
39caf72eaf ext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis and theora. Any is incorrect.
Original commit message from CVS:
* ext/ogg/gstoggmux.c:
Basic pad template which accepts OGM tracks, speex, flac, vorbis
and theora. Any is incorrect.
* gst/asfdemux/gstasfmux.c: (gst_asfmux_vidsink_link):
Fix caps.
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_base_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_base_init),
(gst_v4lmjpegsrc_init), (gst_v4lmjpegsrc_srcconnect),
(gst_v4lmjpegsrc_getcaps), (gst_v4lmjpegsrc_change_state):
* sys/v4l/gstv4lmjpegsrc.h:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_src_link), (gst_v4lsrc_getcaps),
(gst_v4lsrc_change_state):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_start),
(gst_v4lmjpegsrc_capture_stop):
Fix caps. Keep track of internal state. Work.
2004-10-24 13:41:18 +00:00
Ronald S. Bultje
6b5bd90a9a ext/Makefile.am: Fix the build fixes.
Original commit message from CVS:
* ext/Makefile.am:
Fix the build fixes.
2004-10-23 11:38:24 +00:00
Ronald S. Bultje
9a4df3aef7 ext/ogg/gstoggdemux.c: Check for pad availability before using it.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (_find_chain_seek),
(gst_ogg_pad_push):
Check for pad availability before using it.
* ext/ogg/gstoggdemux.c: (_find_chain_process):
Fix parsing of chained ogg. Needs more work on the decoder side.
2004-10-23 10:06:32 +00:00
Ronald S. Bultje
65b6abba10 ext/ogg/gstoggdemux.c: We love it if files that start at zero work too...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
We love it if files that start at zero work too...
2004-10-22 13:09:12 +00:00
Ronald S. Bultje
2aa83eb99d ext/ogg/gstoggdemux.c: Handle files with missing EOS headers.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Handle files with missing EOS headers.
2004-10-22 11:11:28 +00:00
Wim Taymans
f76c0b9bd7 I lied, I am the One True Buildmaster
Original commit message from CVS:
I lied, I am the One True Buildmaster
2004-10-20 16:48:57 +00:00
Ronald S. Bultje
607b2e45bf ext/: Seeking and querying finetune.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_push):
* ext/theora/theoradec.c: (theora_dec_sink_convert),
(theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_get_formats),
(gst_vorbis_dec_init), (vorbis_dec_convert), (vorbis_dec_chain):
Seeking and querying finetune.
2004-10-20 16:24:18 +00:00
Thomas Vander Stichele
8c86f56e65 fix the build
Original commit message from CVS:
fix the build
2004-10-20 13:51:27 +00:00
Ronald S. Bultje
f5c1757f50 ext/ogg/gstoggdemux.c: Wrong return.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Wrong return.
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init):
Fix marshallers.
2004-10-20 12:02:20 +00:00
Ronald S. Bultje
c59ee76ad8 ext/ogg/gstoggdemux.c: Silence.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event):
Silence.
2004-10-18 19:29:11 +00:00
Ronald S. Bultje
200b4b14e2 ext/ogg/gstoggdemux.c: Yay for non-lineair granulepos in theora.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_populate),
(gst_ogg_pad_push):
Yay for non-lineair granulepos in theora.
2004-10-18 19:12:32 +00:00
Ronald S. Bultje
d38dcfaaab ext/ogg/gstoggdemux.c: Start at zero.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_push):
Start at zero.
* ext/theora/theoradec.c: (theora_dec_chain):
Skip headers. Bad idea for chained ogg, but fixes seeking.
2004-10-18 15:49:00 +00:00
Ronald S. Bultje
b5ce9ade82 ext/ogg/gstoggdemux.c: Faster seeking.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_populate),
(_read_bos_process), (gst_ogg_demux_iterate), (gst_ogg_pad_new):
Faster seeking.
* ext/theora/theoradec.c: (theora_dec_sink_convert):
Time-to-default conversion.
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Don't error on unknown packets, just skip. We should probably
read them if we want to support chained ogg.
2004-10-18 15:23:41 +00:00
Wim Taymans
8ed538ff4a ext/vorbis/vorbisenc.c: Fix vorbis property descriptions and ranges.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_class_init):
Fix vorbis property descriptions and ranges.
2004-10-18 13:55:48 +00:00
Wim Taymans
3cffc4f227 ext/ogg/gstoggdemux.c: Really do nothing when no data is available.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Really do nothing when no data is available.
Go to the playing state when the stream is not seekable
instead of failing.
2004-10-18 13:52:15 +00:00
Thomas Vander Stichele
30ffd67724 fix sample rate template
Original commit message from CVS:
fix sample rate template
2004-10-14 09:16:32 +00:00
Ronald S. Bultje
e3a0b57b75 ext/gnomevfs/gstgnomevfssrc.c: Some debug.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get),
(gst_gnomevfssrc_srcpad_query), (gst_gnomevfssrc_srcpad_event):
Some debug.
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_handle_src_event), (gst_avi_demux_read_superindex),
(gst_avi_demux_read_subindexes), (gst_avi_demux_add_stream),
(gst_avi_demux_stream_index), (gst_avi_demux_skip),
(gst_avi_demux_sync), (gst_avi_demux_stream_scan),
(gst_avi_demux_massage_index), (gst_avi_demux_stream_header):
* gst/avi/gstavidemux.h:
Support for openDML-2.0 indx/ix## chunks. Support for broken index
recovery (where, if part of the index is broken, we will still read
the rest of the index and recover the broken part by stream
scanning). More broken media support. EOS workarounds. General AVI
braindamage headache recovery. Aspirin included.
2004-10-12 12:29:45 +00:00
Ronald S. Bultje
1604717cbf ext/cdparanoia/gstcdparanoia.c: Get rid of hideous lead-in.
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_open),
(cdparanoia_event), (cdparanoia_query):
Get rid of hideous lead-in.
2004-10-11 12:18:42 +00:00
Ronald S. Bultje
b4c826232a ext/cdparanoia/gstcdparanoia.c: Report discid as metadata, add duration.
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_get), (cdparanoia_open):
Report discid as metadata, add duration.
2004-10-11 12:02:09 +00:00
Wim Taymans
267e7849f4 ext/cdparanoia/gstcdparanoia.*: Added reworked patch from #154903 from milosz derezynski. This adds the cdda://<track...
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (_do_init),
(cdparanoia_base_init), (cdparanoia_class_init), (cdparanoia_init),
(cdparanoia_dispose), (cdparanoia_get), (cdparanoia_change_state),
(cdparanoia_convert), (cdparanoia_uri_get_type),
(cdparanoia_uri_get_protocols), (cdparanoia_uri_get_uri),
(cdparanoia_uri_set_uri), (cdparanoia_uri_handler_init):
* ext/cdparanoia/gstcdparanoia.h:
Added reworked patch from #154903 from milosz derezynski. This
adds the cdda://<tracknum> uri.
2004-10-08 17:02:51 +00:00
Thomas Vander Stichele
6539ecb591 remove unused KIO_DIR
Original commit message from CVS:
remove unused KIO_DIR
2004-10-05 15:32:43 +00:00
Thomas Vander Stichele
77267f6d6e fixing libmng build
Original commit message from CVS:
fixing libmng build
2004-10-05 15:29:37 +00:00
Ronald S. Bultje
0936952d6a ext/ogg/gstoggmux.c: Handle EOS properly.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_queue_pads):
Handle EOS properly.
2004-10-01 13:28:30 +00:00
Christian Schaller
bc9992a630 remove last mention of kio plugin (in the dist section)
Original commit message from CVS:
remove last mention of kio plugin (in the dist section)
2004-09-28 18:26:45 +00:00
Christian Schaller
3cee9b68ad Remove non-working ugly kioplugin Markey has new and much improved one in Amarok which he will send upstream
Original commit message from CVS:
Remove non-working ugly kioplugin Markey has new and much improved one in Amarok which he will send upstream
2004-09-28 10:59:02 +00:00
Ronald S. Bultje
cf543aa606 ext/dirac/: Do something. Don't actually know if this works because I don't have a demuxer yet.
Original commit message from CVS:
* ext/dirac/Makefile.am:
* ext/dirac/gstdirac.cc:
* ext/dirac/gstdiracdec.cc:
* ext/dirac/gstdiracdec.h:
Do something. Don't actually know if this works because I don't
have a demuxer yet.
* ext/gsm/gstgsmdec.c: (gst_gsmdec_getcaps):
Add channels=1 to caps returned from _getcaps().
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_get_type),
(gst_ogm_video_parse_get_type), (gst_ogm_audio_parse_base_init),
(gst_ogm_video_parse_base_init), (gst_ogm_parse_init),
(gst_ogm_audio_parse_init), (gst_ogm_video_parse_init),
(gst_ogm_parse_sink_convert), (gst_ogm_parse_chain),
(gst_ogm_parse_change_state):
Separate between audio/video so ogmaudioparse actually uses the
audio pad templates. Both audio and video work now, including
autoplugging. Also use sometimes-srcpad hack.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek):
Handle events better. Don't hang on infinite loops.
* gst/avi/gstavidemux.c: (gst_avi_demux_class_init),
(gst_avi_demux_init), (gst_avi_demux_reset),
(gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query),
(gst_avi_demux_stream_header), (gst_avi_demux_stream_data),
(gst_avi_demux_change_state):
* gst/avi/gstavidemux.h:
Improve A/V sync. Still not perfect.
* gst/matroska/ebml-read.c: (gst_ebml_read_seek),
(gst_ebml_read_skip):
Handle events better.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(gst_qtdemux_loop_header), (qtdemux_parse_trak),
(qtdemux_audio_caps):
Add IMA4. Improve event handling. Save offset after a seek when
the headers are at the end of the file so that we don't end up in
an infinite loop.
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Add low-priority typefind support for files with no length.
2004-09-23 14:59:22 +00:00
Zaheer Abbas Merali
fa3ce15bbc ext/: remove explicit newmedia support from oggmux and vorbisenc add debug category to vorbisenc
Original commit message from CVS:
2004-09-22  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_loop):
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
(gst_vorbisenc_chain):
* ext/vorbis/vorbisenc.h:
remove explicit newmedia support from oggmux and vorbisenc
add debug category to vorbisenc
* gst/multifilesink/gstmultifilesink.c:
(gst_multifilesink_class_init), (gst_multifilesink_init),
(gst_multifilesink_dispose), (gst_multifilesink_set_location),
(gst_multifilesink_set_property), (gst_multifilesink_next_file),
(gst_multifilesink_handle_event), (gst_multifilesink_chain),
(plugin_init):
* gst/multifilesink/gstmultifilesink.h:
add support for streamheader in multifilesink
2004-09-22 14:35:13 +00:00
Ronald S. Bultje
823ceafca7 ext/mad/gstmad.c: Allow for mp3 rate/channels changes. However, only very conservatively. Reason that we *have* to en...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset),
(gst_mad_change_state):
Allow for mp3 rate/channels changes. However, only very
conservatively. Reason that we *have* to enable this is smiply
because the mad find_sync() function is not good enough, it will
regularly sync on random data as valid frames and therefore make
us provide random caps as *final* caps of the stream. The best fix
I could think of is to simply require several of the same stream
changes in a row before we change caps.
The actual testcase that works now is #
* ext/ogg/Makefile.am:
* ext/ogg/gstogg.c: (plugin_init):
* ext/ogg/gstogmparse.c:
OGM support (video only for now; I need an audio sample file).
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_process_stream), (gst_asf_demux_video_caps),
(gst_asf_demux_add_video_stream):
WMV extradata.
* gst/playback/gstplaybasebin.c: (unknown_type):
Don't error out on single unknown-types after all. It's wrong.
If we found type of video and audio but not of a subtitle stream,
it will still error out (which is unwanted). Will find a better fix
later on.
* gst/typefind/gsttypefindfunctions.c: (ogmvideo_type_find),
(ogmaudio_type_find), (plugin_init):
OGM support.
2004-09-20 12:40:40 +00:00
Wim Taymans
630cdffa7d ext/ogg/: Fix the case where the muxer would mark pages as delta frames when they are not (vorbis only ogg).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
Fix the case where the muxer would mark pages as delta
frames when they are not (vorbis only ogg).
2004-09-15 15:37:36 +00:00
Ronald S. Bultje
312cc7ec64 ext/gnomevfs/: Use _uri_new() instead of _open(), so it doesn't take as long and
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(gst_gnomevfssink_uri_get_protocols):
* ext/gnomevfs/gstgnomevfssrc.c:
(gst_gnomevfssrc_uri_get_protocols):
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
* ext/gnomevfs/gstgnomevfsuri.h:
Use _uri_new() instead of _open(), so it doesn't take as long and
Christophe's computer won't hang.
* gst/playback/gstplaybasebin.c: (unknown_type):
Throw error on unknown media type, so apps actually display it.
2004-09-15 06:33:44 +00:00
Ronald S. Bultje
570dba4fcf ooooooops
Original commit message from CVS:
ooooooops
2004-09-13 17:55:13 +00:00
Ronald S. Bultje
67c5e9fdda ext/gnomevfs/: Add URI support to Gnome-VFS plugins. Tries to load a fixed list of fake URIs to see which this versio...
Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_get_type),
(gst_gnomevfssink_dispose), (gst_gnomevfssink_init),
(gst_gnomevfssink_uri_get_type),
(gst_gnomevfssink_uri_get_protocols),
(gst_gnomevfssink_uri_get_uri), (gst_gnomevfssink_uri_set_uri),
(gst_gnomevfssink_uri_handler_init),
(gst_gnomevfssink_set_property), (gst_gnomevfssink_get_property),
(gst_gnomevfssink_open_file), (gst_gnomevfssink_close_file):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_type),
(gst_gnomevfssrc_init), (gst_gnomevfssrc_dispose),
(gst_gnomevfssrc_uri_get_type),
(gst_gnomevfssrc_uri_get_protocols), (gst_gnomevfssrc_uri_get_uri),
(gst_gnomevfssrc_uri_set_uri), (gst_gnomevfssrc_uri_handler_init),
(gst_gnomevfssrc_set_property), (gst_gnomevfssrc_get_property),
(gst_gnomevfssrc_open_file), (gst_gnomevfssrc_close_file):
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
* ext/gnomevfs/gstgnomevfsuri.h:
Add URI support to Gnome-VFS plugins. Tries to load a fixed list
of fake URIs to see which this version of Gnome-VFS likes, and
uses that for the Gst-URI interface. Makes playbin support http://
streams. Also fix up some stupid behaviour in gnomevfssrc.
2004-09-13 17:33:19 +00:00
Ronald S. Bultje
b709c6844b ext/alsa/gstalsamixer.c: Update mixer (to sync with other sessions) if we try to obtain a new value. This makes alsam...
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
Update mixer (to sync with other sessions) if we try to obtain
a new value. This makes alsamixer work accross applications.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
Only call sync functions if we're running, else alsalib asserts.
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
Sometimes fails to compile. Possibly a gcc bug.
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
Add a reference to an application-provided object, because we lose
this same reference if we add it to the bin. If we don't do this,
we can only use this object once and thus crash if we go from
ready to playing, back to ready and back to playing again.
Also add an audioscale element because several cheap soundcards -
like mine - don't support all samplerates.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_xcontext_clear), (gst_ximagesink_change_state):
Fix wrong order or PAR calls. Makes automatically obtained PAR
from the X server atually being used.
2004-09-13 09:24:00 +00:00
Zeeshan Ali
f167cf8039 Moving MAS plugin back to gst-sandbox module.
Original commit message from CVS:
Moving MAS plugin back to gst-sandbox module.
2004-09-10 00:40:24 +00:00
Zeeshan Ali
d6441e8f27 Trying to correct the GST_CHECK_CONFIGPROG macro. It works perfectly for
Original commit message from CVS:
* Trying to correct the GST_CHECK_CONFIGPROG macro. It works perfectly for
I hope i dont break anything.

* Shifting the MAS plugin back from gst-rotten.
2004-09-02 22:46:30 +00:00
Scott Wheeler
abf9990e25 pre-C99 fixes
Original commit message from CVS:
pre-C99 fixes
2004-09-02 02:48:46 +00:00
Ronald S. Bultje
dd935da004 ext/alsa/: Re-commit ALSA switches.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Re-commit ALSA switches.
* gst/adder/gstadder.c: (gst_adder_loop):
64-bit fix (#151416).
* gst/debug/progressreport.c: (gst_progressreport_report):
64-bit fix (#151419).
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents):
64-bit fix (#151420).
* gst/playback/test3.c: (update_scale):
64-bit fix (#151421).
2004-08-31 14:12:49 +00:00
Thomas Vander Stichele
f9355c4a9c fix #151462
Original commit message from CVS:
fix #151462
2004-08-31 08:45:47 +00:00
Ronald S. Bultje
eed81bc3a1 revert (freeze) until release has been made
Original commit message from CVS:
revert (freeze) until release has been made
2004-08-30 18:41:32 +00:00
Ronald S. Bultje
afb7b74873 ext/alsa/: Add switches (simple boolean on/off).
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Add switches (simple boolean on/off).
2004-08-29 19:37:38 +00:00
Thomas Vander Stichele
fcd01affe9 handle new media
Original commit message from CVS:
handle new media
2004-08-27 12:18:16 +00:00
Wim Taymans
37782e28dc ext/ogg/gstoggmux.c: Make sure we never send -1 granulepos.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
Make sure we never send -1 granulepos.
2004-08-22 09:31:06 +00:00
Wim Taymans
bbefa5c897 ext/ogg/gstoggmux.c: I will accept bitchslappings with non sharp objects.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_loop):
I will accept bitchslappings with non sharp objects.
2004-08-20 10:46:51 +00:00
Wim Taymans
a7c8944d57 Fix the makefile again
Original commit message from CVS:
Fix the makefile again
2004-08-17 10:46:34 +00:00
Wim Taymans
615f9ba613 ext/theora/theoradec.c: Add a debug line.
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(theora_get_formats), (theora_dec_src_convert),
(theora_dec_sink_convert), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_event), (theora_dec_chain):
Add a debug line.
2004-08-17 10:43:55 +00:00
Wim Taymans
202a0de690 ext/ogg/: Mark delta units in the muxer.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate),
(gst_ogg_pad_push):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_buffer_from_page), (gst_ogg_mux_push_page),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
Mark delta units in the muxer.
Try to decode the packet after an out-of-sync error from
libogg.
2004-08-17 10:40:50 +00:00
Wim Taymans
d01cd571b2 ext/theora/theoraenc.c: Fix bug where buffers were not marked as keyframes correctly.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_border_mode_get_type),
(gst_theora_enc_class_init), (theora_enc_sink_link),
(theora_buffer_from_packet), (theora_enc_chain):
Fix bug where buffers were not marked as keyframes
correctly.
2004-08-16 10:19:39 +00:00
David Schleef
024c9f3564 ext/pango/gsttextoverlay.c: Add copyright block and fix plugin license field
Original commit message from CVS:
* ext/pango/gsttextoverlay.c: Add copyright block and fix plugin
license field
* gst-libs/gst/idct/Makefile.am: Remove mmx/sse code
* gst-libs/gst/video/gstvideosink.c: Change copyright block to
LGPL.
* gst/auparse/gstauparse.c: Fix plugin license field.
* gst/monoscope/gstmonoscope.c: Fix plugin license field.
* gst/mpeg1sys/gstmpeg1systemencode.c: Fix plugin license field.
* gst/rtp/gstrtp.c: Fix plugin license field.
2004-08-11 21:06:48 +00:00
Wim Taymans
8d74cc9136 ext/theora/theoradec.c: Don't crash on missing header packets.
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(theora_get_formats), (theora_dec_src_convert),
(theora_dec_sink_convert), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_event), (theora_dec_chain),
(theora_dec_change_state):
Don't crash on missing header packets.
2004-08-09 13:16:04 +00:00
Benjamin Otte
1786973790 compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume),
(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
(gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option),
(gst_alsa_mixer_get_option):
* ext/dvdnav/dvdnavsrc.c: (dvdnav_get_event_name),
(dvdnavsrc_print_event):
* ext/ogg/gstoggdemux.c: (_find_chain_process), (gst_ogg_print):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_pad_link),
(gst_ogg_mux_pad_unlink):
* gst/multipart/multipartmux.c: (gst_multipart_mux_pad_link),
(gst_multipart_mux_pad_unlink):
* gst/videofilter/gstvideobalance.c:
(gst_videobalance_colorbalance_set_value):
* gst/videomixer/videomixer.c: (gst_videomixer_pad_link),
(gst_videomixer_pad_unlink):
* po/uk.po:
* sys/oss/gstossmixer.c:
* sys/v4l/gstv4lcolorbalance.c:
* sys/v4l/gstv4ltuner.c:
* sys/v4l/v4lsrc_calls.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2tuner.c:
compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
2004-08-03 16:06:08 +00:00
Benjamin Otte
fac2d57868 fixes for G_DISABLE_ASSERT and friends
Original commit message from CVS:
* examples/dynparams/filter.c: (ui_control_create):
* examples/gstplay/player.c: (print_tag):
* ext/alsa/gstalsa.c: (gst_alsa_request_new_pad):
* ext/gdk_pixbuf/gstgdkanimation.c:
(gst_gdk_animation_iter_may_advance):
* ext/jack/gstjack.c: (gst_jack_request_new_pad):
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list),
(tag_list_to_id3_tag_foreach), (gst_id3_tag_handle_event):
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_get_tag_value):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_tag_value):
* ext/xine/xineaudiodec.c: (gst_xine_audio_dec_chain):
* gst-libs/gst/media-info/media-info-test.c: (print_tag):
* gst/sine/demo-dparams.c: (main):
* gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments):
* testsuite/alsa/formats.c: (create_pipeline):
* testsuite/alsa/sinesrc.c: (sinesrc_force_caps), (sinesrc_get):
fixes for G_DISABLE_ASSERT and friends
* gst/typefind/gsttypefindfunctions.c: (aac_type_find),
(mp3_type_frame_length_from_header), (mp3_type_find),
(plugin_init):
require mp3 typefinding to have at least MIN_HEADERS valid headers
add typefinding for AAC adts files
2004-08-03 14:28:12 +00:00
Wim Taymans
c4a7e2bd38 Added README
Original commit message from CVS:
Added README
2004-07-30 18:24:57 +00:00
Wim Taymans
fe21b56332 ext/theora/: Added cropping option to theora decoder.
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(gst_theora_dec_init), (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain), (theora_dec_set_property),
(theora_dec_get_property):
* ext/theora/theoraenc.c: (gst_border_mode_get_type),
(gst_theora_enc_class_init), (gst_theora_enc_init),
(theora_enc_sink_link), (theora_enc_chain),
(theora_enc_set_property), (theora_enc_get_property):
Added cropping option to theora decoder.
Added border option to theora encoder.
2004-07-30 10:18:42 +00:00
Wim Taymans
c14519f1bf ext/theora/theoraenc.c: Fix encoding of non-multiple-of-16 video.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_enc_chain),
(theora_enc_set_property), (theora_enc_get_property):
Fix encoding of non-multiple-of-16 video.
2004-07-30 08:14:36 +00:00
Wim Taymans
59dddefe29 ext/ogg/gstoggdemux.c: Return query failure when we don't know the length of an ogg stream insteda of returning TRUE ...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_push):
Return query failure when we don't know the length of
an ogg stream insteda of returning TRUE with a bogus value.
2004-07-28 15:40:38 +00:00
Wim Taymans
13eaab891d ext/theora/theoradec.c: Don't screw up the 1 Chroma for 1 luma sample situation when we have an odd offset/width by a...
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain):
Don't screw up the 1 Chroma for 1 luma sample situation when we
have an odd offset/width by adding a black border in those cases.
2004-07-28 15:04:43 +00:00
Wim Taymans
69934d5915 ext/theora/: Added first attempt at cropping of the image as required by the theora spec. We need more properties in ...
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain):
* ext/theora/theoraenc.c: (theora_enc_sink_link):
Added first attempt at cropping of the image as required by the
theora spec. We need more properties in the caps (offset_x,
offset_y,stride) to implement this correctly.
Added some debug info in the encoder. Note :the encoder is not
updated with the offset code.
2004-07-28 14:03:46 +00:00
Thomas Vander Stichele
cc2e1fab44 pixel aspect ratio handling
Original commit message from CVS:
pixel aspect ratio handling
2004-07-27 16:43:24 +00:00
Wim Taymans
8d9d369e83 ext/: More seeking fixes, oggdemux now supports seeking to time and uses the downstream element to convert granulepos...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_init),
(gst_ogg_demux_get_formats), (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_demux_src_convert),
(gst_ogg_demux_handle_event), (gst_ogg_demux_seek_before),
(_find_chain_get_unknown_part), (_find_streams_check),
(gst_ogg_demux_push), (gst_ogg_pad_push):
* ext/theora/theoradec.c: (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_get_formats),
(vorbis_dec_convert), (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_event):
More seeking fixes, oggdemux now supports seeking to time and
uses the downstream element to convert granulepos to time.
Seeking in theora-only ogg files now works.
2004-07-21 16:48:20 +00:00
Wim Taymans
8caa0523e7 ext/: Added query/convert/formats functions to vorbis and theora decoders so that the outside world can use them too....
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(theora_get_formats), (theora_get_event_masks),
(theora_get_query_types), (theora_dec_src_convert),
(theora_dec_sink_convert), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_event), (theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_get_formats),
(vorbis_get_event_masks), (vorbis_get_query_types),
(gst_vorbis_dec_init), (vorbis_dec_convert),
(vorbis_dec_src_query), (vorbis_dec_src_event), (vorbis_dec_event):
Added query/convert/formats functions to vorbis and theora decoders
so that the outside world can use them too. Fixed seeking on an
ogg/theora/vorbis file by disabling the seeking on the
theora srcpad.
2004-07-21 13:28:23 +00:00
Benjamin Otte
f4bbdba991 ext/alsa/gstalsa.c: disable some of the debugging code for now. Writing debugging to a buffer is broken in current al...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_sw_params_dump), (gst_alsa_hw_params_dump),
(gst_alsa_close_audio):
disable some of the debugging code for now. Writing debugging to a
buffer is broken in current alsalib releases.
2004-07-15 20:32:41 +00:00
Thomas Vander Stichele
44f6a2008b add debug categories
Original commit message from CVS:
add debug categories
2004-07-14 13:42:23 +00:00
Wim Taymans
38b4dce1fc ext/ogg/gstoggdemux.c: When trying to find the stream length, seek back N pages instead of just one, where N is the n...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_seek_before):
When trying to find the stream length, seek back N pages
instead of just one, where N is the number of streams in
the current chain.
2004-07-13 10:38:25 +00:00
Wim Taymans
684281176c ext/theora/theoradec.c: Sync to keyframe after seek
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_chain):
Sync to keyframe after seek
2004-07-09 14:08:43 +00:00
Thomas Vander Stichele
c750d9bd49 don't assert in state change
Original commit message from CVS:
don't assert in state change
2004-07-09 10:56:51 +00:00
Thomas Vander Stichele
253c4e7267 ext/alsa/: - add debugging info
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_drain_audio):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_flush_one_pad),
(gst_alsa_sink_check_event), (gst_alsa_sink_mmap),
(gst_alsa_sink_write), (gst_alsa_sink_loop):
* ext/alsa/gstalsasink.h:
- add debugging info
- clean up schizophrenia of data/buffer/event
- fix double event unref error
2004-07-08 13:40:37 +00:00
Wim Taymans
3e712388ba ext/theora/: Fix theora granulepos calculation.
Original commit message from CVS:
* ext/theora/theora.c: (plugin_init):
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_chain):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_buffer_from_packet),
(theora_push_packet), (theora_enc_chain):
Fix theora granulepos calculation.
Fix overflow in duration/position calculation.
Bump rank to PRIMARY for theoradec.
Use granulepos of last packet to calculate position.
Set keyframe flag on buffers when needed.
2004-07-07 15:57:48 +00:00
Benjamin Otte
1ca7052a58 ext/alsa/gstalsa.c: only restart audio when we indeed have an xrun to fix repeated xruns. Fix suggested by Giuliano P...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
only restart audio when we indeed have an xrun to fix repeated
xruns. Fix suggested by Giuliano Pochini.
2004-07-04 16:02:16 +00:00
David Schleef
a0dd75c692 ext/alsa/gstalsaplugin.c: Disable call to gst_debug_log() if debugging is disabled (bug #145118)
Original commit message from CVS:
* ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper): Disable
call to gst_debug_log() if debugging is disabled (bug #145118)
2004-07-03 23:35:36 +00:00
Thomas Vander Stichele
ab7738c8d1 fix name
Original commit message from CVS:
fix name
2004-07-03 23:11:04 +00:00
Benjamin Otte
9b249a2467 ext/alsa/gstalsa.c: use our own functions for restarting the alsa device.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
use our own functions for restarting the alsa device.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
I should apply patches myself - use MIN for the third argument, not
the second, this fixes seeking
2004-07-03 12:48:30 +00:00
Benjamin Otte
248ccb0469 ext/ogg/gstogg.c: we require bytestream now
Original commit message from CVS:
* ext/ogg/gstogg.c: (plugin_init):
we require bytestream now
* ext/ogg/gstoggdemux.c:
huge diff to implement chain setup in a fast and generic way. This
improves tag reading and startup of huge files (read: Theora videos)
quite a bit. It probably contains bugs, too, so please test.
Seeking is not improved to the fast method.
2004-07-02 03:41:22 +00:00
Wim Taymans
2917844f09 ext/ogg/: Fix memleak in oggdemux when running unconnected pads. doc update in mux, start working on keyframe mode.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
* ext/ogg/gstoggmux.c:
Fix memleak in oggdemux when running unconnected pads.
doc update in mux, start working on keyframe mode.
2004-06-29 15:25:10 +00:00
Thomas Vander Stichele
42d83d0474 make provided clock run in sync
Original commit message from CVS:
make provided clock run in sync
2004-06-25 17:11:32 +00:00
Johan Dahlin
e8e6b9cb8d ext/theora/theoraenc.c (theora_enc_chain): Call gst_pad_try_set_caps instead of gst_pad_set_explicit_caps so the stre...
Original commit message from CVS:
* ext/theora/theoraenc.c (theora_enc_chain): Call
gst_pad_try_set_caps instead of gst_pad_set_explicit_caps so the
streamheader caps are set correctly.
2004-06-24 16:48:17 +00:00
Thomas Vander Stichele
2972c88fd7 respect minimum bitrate
Original commit message from CVS:
respect minimum bitrate
2004-06-24 15:51:24 +00:00
Thomas Vander Stichele
2fc9f6605d fix sample rate range
Original commit message from CVS:
fix sample rate range
2004-06-24 15:44:53 +00:00
Thomas Vander Stichele
b7aa3e7e7e resolve ambiguities
Original commit message from CVS:
resolve ambiguities
2004-06-24 14:56:21 +00:00
Wim Taymans
1bb09c4352 ext/alsa/: Use alsa trigger_tstamp to get the timestamp of the first sample in the buffer for more precise sync. Some...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_start), (gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
(gst_alsa_src_update_avail), (gst_alsa_src_loop):
Use alsa trigger_tstamp to get the timestamp of the first
sample in the buffer for more precise sync. Some cleanups.
2004-06-24 12:53:17 +00:00
David I. Lehn
befab00bf3 ext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/
Original commit message from CVS:
* ext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/
2004-06-24 01:16:02 +00:00
Wim Taymans
e56c174f8d ext/alsa/: Add clock to alsasrc. Take new capture timestamp when restarting after an overrun. Split up some functions...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start),
(gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
(gst_alsa_sink_loop), (gst_alsa_sink_get_time):
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
(gst_alsa_src_get_time), (gst_alsa_src_update_avail),
(gst_alsa_src_loop):
Add clock to alsasrc. Take new capture timestamp when
restarting after an overrun. Split up some functions between
alsasrc ans alsasink.
2004-06-23 18:08:26 +00:00
Thomas Vander Stichele
96c2a15318 merge back from release
Original commit message from CVS:
merge back from release
2004-06-23 16:57:16 +00:00
Wim Taymans
01226c6e8d ext/theora/theoraenc.c: Some cleanups, make sure the timestamps are correct.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_buffer_from_packet),
(theora_push_packet), (theora_enc_chain):
Some cleanups, make sure the timestamps are correct.
2004-06-22 16:29:20 +00:00
Wim Taymans
148c90439a ext/alsa/: Cleanups, take queued samples into account when reporting the time.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_time), (gst_alsa_clock_update),
(gst_alsa_change_state), (gst_alsa_update_avail),
(gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_loop):
Cleanups, take queued samples into account when reporting
the time.
2004-06-22 12:01:33 +00:00
Wim Taymans
a48818210d ext/alsa/: Make the xrun code timestamp and offset the buffers correctly. moved the clock to the base class, use alsa...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_init), (gst_alsa_dispose),
(gst_alsa_get_time), (gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_get_type):
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init), (gst_alsa_src_loop),
(gst_alsa_src_change_state):
* ext/alsa/gstalsasrc.h:
Make the xrun code timestamp and offset the buffers correctly.
moved the clock to the base class, use alsa methods to get time.
Do correct timestamping on outgoing buffers.
2004-06-17 14:10:21 +00:00
Thomas Vander Stichele
9f47e5b258 debug changes
Original commit message from CVS:
debug changes
2004-06-16 09:54:18 +00:00
David Schleef
0eb2ab91f0 ext/cdparanoia/gstcdparanoia.c: Send discont events and change timestamps appropriately when we get a seek event. (b...
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_init),
(cdparanoia_get), (cdparanoia_open), (cdparanoia_change_state):
Send discont events and change timestamps appropriately when
we get a seek event.  (bug #144240)
* ext/cdparanoia/gstcdparanoia.h:
2004-06-14 20:33:56 +00:00
Christophe Fergeau
0c022b2b33 ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of snd_pcm_hw_params_set_rate since the latter fail...
Original commit message from CVS:
2004-06-14  Benjamin Otte  <otte@gnome.org>

* ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of
snd_pcm_hw_params_set_rate  since the latter fails for no good
reason on some setups.<
2004-06-14 20:30:36 +00:00
Wim Taymans
01c78dfc80 ext/theora/theoradec.c: Don't try to decode frames before we received a keyframe
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain),
(theora_dec_change_state):
Don't try to decode frames before we received a keyframe
2004-06-11 17:34:32 +00:00
Thomas Vander Stichele
0bf06aa33b better debug
Original commit message from CVS:
better debug
2004-06-11 16:53:26 +00:00
Wim Taymans
ff3c32516e ext/ogg/gstoggmux.c: Added property to set the maximum delay of a page.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_init), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property):
Added property to set the maximum delay of a page.
2004-06-11 14:38:59 +00:00
Wim Taymans
811fe5ce14 ext/ogg/gstoggmux.c: Added max-delay property to control the maximum amount of data to put in one page.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_init), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property):
Added max-delay property to control the maximum amount
of data to put in one page.
2004-06-10 16:06:21 +00:00
Wim Taymans
3b0de28bc5 ext/theora/theoraenc.c: Set duration on encoded buffer, added some more properties
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(gst_theora_enc_init), (theora_enc_sink_link),
(theora_buffer_from_packet), (theora_enc_set_property),
(theora_enc_get_property):
Set duration on encoded buffer, added some more properties
2004-06-10 14:59:17 +00:00
Wim Taymans
86cbbbae23 ext/: Fix refcounting bugs
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
* ext/theora/theoraenc.c: (theora_enc_chain):
Fix refcounting bugs
2004-06-10 11:33:05 +00:00
Benjamin Otte
851ad864d0 ext/alsa/gstalsa.c: handle min <= max correctly
Original commit message from CVS:
* ext/alsa/gstalsa.c: (add_channels):
handle min <= max correctly
* ext/alsa/gstalsa.c: (gst_alsa_fixate_to_mimetype),
(gst_alsa_fixate_field_nearest_int), (gst_alsa_fixate):
add fixation functions so we fixate correctly. No preferring of alaw
anymore because it's the first structure.
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsa.c: (gst_alsa_sw_params_dump),
(gst_alsa_hw_params_dump):
add functions to ease debugging in alsalib
* ext/alsa/gstalsa.c: (gst_alsa_probe_hw_params),
(gst_alsa_set_hw_params), (gst_alsa_set_sw_params),
(gst_alsa_start_audio):
only specify hw params if we really setup a format (fixes #134007 -
or at least works around it)
2004-06-09 17:06:40 +00:00
Wim Taymans
ad028c8562 ext/ogg/gstoggmux.c: Use stream caps to setup the initial pages in the ogg stream.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_buffer_from_page),
(gst_ogg_mux_push_page), (gst_ogg_mux_get_headers),
(gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_send_headers),
(gst_ogg_mux_loop):
Use stream caps to setup the initial pages in the ogg stream.
Correctly set the streamheader caps on the srcpad.
2004-06-09 12:22:46 +00:00
Thomas Vander Stichele
5218d690e4 mark buffers as streamheader
Original commit message from CVS:
mark buffers as streamheader
2004-06-08 16:41:42 +00:00
Thomas Vander Stichele
fe34a07e0f adding vorbisparse
Original commit message from CVS:
adding vorbisparse
2004-06-08 11:53:13 +00:00
Benjamin Otte
278e55e65c ext/alsa/gstalsasink.c: handle discont events if they happen before caps nego
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
handle discont events if they happen before caps nego
2004-06-07 20:44:55 +00:00
Benjamin Otte
b0d718fcc3 ext/alsa/gstalsa.c: cast to GstClockTime to get higher granularity
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_samples_to_timestamp):
cast to GstClockTime to get higher granularity
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
use gst_element_set_time_delay to get the exact time
* ext/mad/gstmad.c: (gst_mad_chain):
use the negotiated rate instead of the current frame's rate which
might be wrong because of bit errors. This avoids emitting totally
bogus timestamps and screwing sync.
(fixes #143454)
2004-06-07 01:41:37 +00:00
Benjamin Otte
91fc3c7de8 ext/vorbis/vorbisdec.c: use explicit caps on the srcpad
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init):
use explicit caps on the srcpad
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
properly error out if caps couldn't be set (fixes #142764)
2004-06-06 19:36:08 +00:00
Benjamin Otte
f157024ae8 ext/alsa/gstalsa.c: - don't call set_periods_integer anymore, it breaks the configuration randomly
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_probe_hw_params),
(gst_alsa_set_hw_params), (gst_alsa_set_sw_params),
(gst_alsa_start_audio):
- don't call set_periods_integer anymore, it breaks the
configuration randomly
- call snd_pcm_hw_params_set_access directly instead of using masks
- don't fail if the sw_params can't be set, just use the default
params and hope it works. Alsalib has weird issues when you touch
sw_params and does no proper error reporting about what failed.
* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_close_audio):
make our alsa debugging go via gst debugging and not conditionally
defined
* ext/alsa/gstalsa.h:
add ALSA_DEBUG_FLUSH macro
* ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper),
(plugin_init):
wrap alsa errors to be printed via the gst debugging system and not
spammed to stderr
2004-06-06 17:26:54 +00:00
Thomas Vander Stichele
0c922cc90d check error code correctly
Original commit message from CVS:
check error code correctly
2004-06-02 17:20:13 +00:00
Thomas Vander Stichele
571a5cd7a6 use ssize_t over size_t avoid segfault in alsa
Original commit message from CVS:

use ssize_t over size_t
avoid segfault in alsa
2004-06-02 16:50:50 +00:00
Stéphane Loeuillet
23e3f829f4 zaheer :
Original commit message from CVS:
zaheer :
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversrc.c:
- portability fix, to compile on OSX
(fixes #143146)

* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosrc.c:
- compilation warnings on OSX
(fixes #143153)

me :
* ext/vorbis/vorbisdec.c : sign warning fixes

* gst-libs/gst/mixer/mixertrack.c : forgoten include
to define newly used G_MAXINT32, bad owen, bad
2004-06-02 11:47:10 +00:00
Thomas Vander Stichele
4c039c6dc7 improve _open error messages
Original commit message from CVS:
improve _open error messages
2004-06-01 15:14:09 +00:00
Jan Schmidt
0e141ff4ce ext/vorbis/vorbisdec.c: Initialise b_o_s and e_o_s variables
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Initialise b_o_s and e_o_s variables
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add some unusual fourcc's from mplayer avi's
* gst/multipart/multipartmux.c: (gst_multipart_mux_plugin_init):
Make the muxer have rank GST_RANK_NONE, so it doesn't mess up
autoplugging.
2004-05-31 04:56:55 +00:00
Ronald S. Bultje
9f076da7e6 ext/alsa/gstalsamixer.c: Select first track as master track. Not sure how else to handle that...
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
Select first track as master track. Not sure how else to handle
that...
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer):
Discard discont events. Should fix #142962.
2004-05-27 12:15:04 +00:00
Ronald S. Bultje
8f88f9280d ext/alsa/: Add enumerations (as GstMixerOptions). Make correct distinction between input/output tracks. Add capture/p...
Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init),
(gst_alsa_mixer_build_list), (gst_alsa_mixer_get_volume),
(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
(gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option),
(gst_alsa_mixer_get_option):
* ext/alsa/gstalsamixer.h:
* ext/alsa/gstalsamixeroptions.c:
(gst_alsa_mixer_options_get_type),
(gst_alsa_mixer_options_class_init), (gst_alsa_mixer_options_init),
(gst_alsa_mixer_options_new):
* ext/alsa/gstalsamixeroptions.h:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
Add enumerations (as GstMixerOptions). Make correct distinction
between input/output tracks. Add capture/playback private flag.
Use flag to decide on whether to set capture or playback volumes
or switches. Use playback and record switches.
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/mixer/mixer-marshal.list:
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init),
(gst_mixer_set_option), (gst_mixer_get_option),
(gst_mixer_mute_toggled), (gst_mixer_record_toggled),
(gst_mixer_volume_changed), (gst_mixer_option_changed):
* gst-libs/gst/mixer/mixer.h:
* gst-libs/gst/mixer/mixeroptions.c: (gst_mixer_options_get_type),
(gst_mixer_options_class_init), (gst_mixer_options_init),
(gst_mixer_options_dispose):
* gst-libs/gst/mixer/mixeroptions.h:
Add GstMixerOptions.
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Rename Audio Mixer to OSS Mixer (similar to Alsa Mixer). Fix
broken device detection on computers with multiple OSS sound
cards.
2004-05-27 03:36:17 +00:00
Benjamin Otte
2e050e0378 ext/vorbis/oggvorbisenc.c: properly fail when we can't setup the vorbis encoder due to unsupported settings
Original commit message from CVS:
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_sinkconnect),
(gst_oggvorbisenc_setup):
properly fail when we can't setup the vorbis encoder due to
unsupported settings
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_sinkconnect),
(gst_vorbisenc_setup):
same
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
fix case where warnings occured when one pad was unlinked while the
other's link function was called
2004-05-24 19:19:29 +00:00
Stéphane Loeuillet
e55022de8c ext/Makefile.am: add rules to build shout2send (was removed by accident when this module was no more marked experimen...
Original commit message from CVS:

* ext/Makefile.am:
add rules to build shout2send (was removed by accident
when this module was no more marked experimental/broken)

* ext/shout2/gstshout2.c:
* ext/shout2/gstshout2.h:
adding a "connection problem" signal to shout2send
(fixes #142954)
2004-05-24 12:08:33 +00:00
Stéphane Loeuillet
f335187a9e second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in ...
Original commit message from CVS:
second batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
(in gst-plugins/ext/ this time)
2004-05-21 23:28:57 +00:00
Thomas Vander Stichele
d78713db9c make ronald happy by following his strategy of putting headers as caps
Original commit message from CVS:
make ronald happy by following his strategy of putting headers as caps
2004-05-20 17:26:53 +00:00
Thomas Vander Stichele
52adb35fe4 split up push_packet
Original commit message from CVS:
split up push_packet
2004-05-20 14:45:57 +00:00
Wim Taymans
db9cdcef0f ext/ogg/gstoggmux.c: Fix an ugly memleak where the muxer didn't flush enough ogg pages. This also resulted in badly m...
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_get_type), (gst_ogg_mux_init),
(gst_ogg_mux_sinkconnect), (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_push_page),
(gst_ogg_mux_compare_pads), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_loop):
Fix an ugly memleak where the muxer didn't flush enough ogg
pages. This also resulted in badly muxed ogg files.
2004-05-18 11:36:40 +00:00
Benjamin Otte
2dec34c12a I suck
Original commit message from CVS:
I suck
2004-05-16 23:33:40 +00:00
Benjamin Otte
f9c5d22fbe ext/alsa/gstalsasink.c: use correct variable when determining amount of data to skip so we don't skip into the void a...
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
use correct variable when determining amount of data to skip so we
don't skip into the void and segfault
2004-05-16 23:30:00 +00:00
Ronald S. Bultje
35aff63385 ext/alsa/gstalsamixer.c: Fix for cases where we fail to attach to a mixer.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open),
(gst_alsa_mixer_close), (gst_alsa_mixer_supported),
(gst_alsa_mixer_build_list), (gst_alsa_mixer_free_list),
(gst_alsa_mixer_change_state), (gst_alsa_mixer_list_tracks),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record):
Fix for cases where we fail to attach to a mixer.
2004-05-16 20:46:12 +00:00
Benjamin Otte
534c0cbca6 ext/alsa/gstalsa.c: simplify caps
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_caps), (gst_alsa_get_caps):
simplify caps
2004-05-16 16:41:15 +00:00
Benjamin Otte
fe680690c1 ext/alsa/gstalsasink.c: compute correct expected timestamps after seek (broken since last commit)
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
compute correct expected timestamps after seek (broken since
last commit)
* ext/gdk_pixbuf/pixbufscale.c: (pixbufscale_init):
rename element and debugging category to gdkpixbufscale
2004-05-16 16:06:42 +00:00
Benjamin Otte
e4e511cc39 ext/alsa/gstalsasink.c: add error checking to snd_pcm_delay and remove duplicate call to snd_pcm_delay that caused is...
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
add error checking to snd_pcm_delay and remove duplicate call to
snd_pcm_delay that caused issues (see inline code comments)
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
make more readable and fix return value when snd_pcm_delay fails
2004-05-16 02:51:29 +00:00
Jan Schmidt
643499378c ext/gdk_pixbuf/: Add new pixbufscale element to scale RGB video using gdk_pixbuf, because gdk_pixbuf does BILINEAR an...
Original commit message from CVS:
* ext/gdk_pixbuf/Makefile.am:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init):
* ext/gdk_pixbuf/gstgdkpixbuf.h:
Add new pixbufscale element to scale RGB video
using gdk_pixbuf, because gdk_pixbuf does BILINEAR
and HYPER interpolation correctly.
* ext/theora/theoraenc.c: (theora_enc_chain),
Discard buffer and return if explicit caps could not be set
(theora_enc_get_property):
Make _get return kbps for the bitrate consistent with
the _set function.
2004-05-15 12:09:11 +00:00
Benjamin Otte
44b5a2a85c ext/libvisual/visual.c: add missing visual_audio_analyze
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_chain):
add missing visual_audio_analyze
2004-05-14 19:58:12 +00:00
Benjamin Otte
e0eac30131 ext/ogg/gstoggdemux.c: signal no-more-pads
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_push):
signal no-more-pads
2004-05-13 16:07:16 +00:00
Thomas Vander Stichele
8b74d078b1 copy this function until we really need > 1.0 of vorbis
Original commit message from CVS:
copy this function until we really need > 1.0 of vorbis
2004-05-12 07:18:03 +00:00
Benjamin Otte
3d48de4043 configure.ac: enable shout2 by default
Original commit message from CVS:
* configure.ac:
enable shout2 by default
* ext/shout2/gstshout2.c: (gst_shout2send_protocol_get_type),
(gst_shout2send_base_init), (gst_shout2send_init),
(gst_shout2send_connect), (gst_shout2send_change_state):
* ext/shout2/gstshout2.h:
make this work again. Based on a patch by Zaheer Merali (fixes
#142262)
* ext/theora/theora.c: (plugin_init):
don't set rank on encoders
2004-05-12 02:35:56 +00:00
Benjamin Otte
a5f5f9a77b ext/libvisual/visual.c: use the right caps depending on endianness (I hope)
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_getcaps):
use the right caps depending on endianness (I hope)
* ext/ogg/gstoggmux.c: (gst_ogg_mux_plugin_init):
use GST_RANK_NONE for all non-decoding elements or spider gets
mighty confused
2004-05-11 15:31:36 +00:00
Thomas Vander Stichele
590a756a84 make plugin_init static
Original commit message from CVS:
make plugin_init static
2004-05-11 14:00:35 +00:00
David Schleef
b47ac926dc configure.ac: Add prototype Dirac support.
Original commit message from CVS:
* configure.ac: Add prototype Dirac support.
* ext/Makefile.am:
* ext/dirac/Makefile.am:
* ext/dirac/gstdirac.cc:
* ext/dirac/gstdiracdec.cc:
2004-05-11 02:30:16 +00:00
Wim Taymans
dcfc49c40b ext/vorbis/: Added a raw vorbis encoder to be used with the oggmuxer.
Original commit message from CVS:
* ext/vorbis/Makefile.am:
* ext/vorbis/README:
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_get_formats),
(oggvorbisenc_get_type), (vorbis_caps_factory), (raw_caps_factory),
(gst_oggvorbisenc_base_init), (gst_oggvorbisenc_class_init),
(gst_oggvorbisenc_sinkconnect), (gst_oggvorbisenc_convert_src),
(gst_oggvorbisenc_convert_sink),
(gst_oggvorbisenc_get_query_types), (gst_oggvorbisenc_src_query),
(gst_oggvorbisenc_init), (gst_oggvorbisenc_get_tag_value),
(gst_oggvorbisenc_metadata_set1), (gst_oggvorbisenc_set_metadata),
(get_constraints_string), (update_start_message),
(gst_oggvorbisenc_setup), (gst_oggvorbisenc_write_page),
(gst_oggvorbisenc_chain), (gst_oggvorbisenc_get_property),
(gst_oggvorbisenc_set_property), (gst_oggvorbisenc_change_state):
* ext/vorbis/oggvorbisenc.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisenc.c: (vorbis_caps_factory),
(raw_caps_factory), (gst_vorbisenc_class_init),
(gst_vorbisenc_init), (gst_vorbisenc_setup),
(gst_vorbisenc_push_packet), (gst_vorbisenc_chain),
(gst_vorbisenc_get_property), (gst_vorbisenc_set_property):
* ext/vorbis/vorbisenc.h:
Added a raw vorbis encoder to be used with the oggmuxer.
We still need the old encoder for some gnome applications,
read the README to find out how that works.
The raw encoder is called "rawvorbisenc" until 0.9.
2004-05-10 17:44:07 +00:00
Stéphane Loeuillet
a41358c454 offmux => oggmux, sorry :)
Original commit message from CVS:
offmux => oggmux, sorry :)
2004-05-10 14:35:48 +00:00
Stéphane Loeuillet
3236dab92c ext/ogg/Makefile.am: should fix ogg[de]mux compilation
Original commit message from CVS:
* ext/ogg/Makefile.am : should fix ogg[de]mux compilation
2004-05-10 14:25:40 +00:00
Wim Taymans
a694bd08f9 ext/ogg/: Added an ogg muxer.
Original commit message from CVS:
* ext/ogg/gstogg.c: (plugin_init):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_plugin_init),
(gst_ogg_print):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_get_type),
(gst_ogg_mux_base_init), (gst_ogg_mux_class_init),
(gst_ogg_mux_get_sink_event_masks), (gst_ogg_mux_init),
(gst_ogg_mux_sinkconnect), (gst_ogg_mux_pad_link),
(gst_ogg_mux_pad_unlink), (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_handle_src_event), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_push_page), (gst_ogg_mux_compare_pads),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property),
(gst_ogg_mux_change_state), (gst_ogg_mux_plugin_init):
Added an ogg muxer.
Small typo fixes in the demuxer.
2004-05-10 13:34:57 +00:00
Wim Taymans
299b599bd1 ext/theora/theoraenc.c: Mark the last packet with an EOS flag which is not really needed in gstreamer.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_push_packet), (theora_enc_chain),
(theora_enc_change_state), (theora_enc_set_property),
(theora_enc_get_property):
Mark the last packet with an EOS flag which is not really needed
in gstreamer.
Do some better video framerate initialisation.
Update the buffer timestamp.
2004-05-10 13:32:11 +00:00
Stéphane Loeuillet
27dc0d1677 ext/theora/theoradec.c: "Filter/Decoder/Video" => "Codec/Decoder/Video"
Original commit message from CVS:
* ext/theora/theoradec.c : "Filter/Decoder/Video" => "Codec/Decoder/Video"
* ext/theora/theoraenc.c : "Filter/Encoder/Video" => "Codec/Encoder/Video"
* ext/xine/xineaudiodec.c : "Filter/Decoder/Audio" =>"Codec/Decoder/Audio"
2004-05-10 12:22:05 +00:00
Benjamin Otte
f1479afe49 ext/alsa/gstalsasrc.c: don't use a fixed buffer size when writing variable length data to it. Fixes memory corruption...
Original commit message from CVS:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_loop):
don't use a fixed buffer size when writing variable length data to
it. Fixes memory corruption and makes alsasrc work
2004-05-09 17:25:16 +00:00
Ronald S. Bultje
9e9573ff1f ext/gnomevfs/gstgnomevfssink.c: Run glib's default signal handler (??) in RUN_CLEANUP rather than
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(_gst_boolean_allow_overwrite_accumulator),
(gst_gnomevfssink_class_init), (gst_gnomevfssink_open_file):
Run glib's default signal handler (??) in RUN_CLEANUP rather than
RUN_LAST, and don't use that to set the accumulator value because
then it's always FALSE.
2004-05-09 16:48:42 +00:00
Ronald S. Bultje
94d9342dc9 ext/alsa/: Fix alsa oddness in mixer after the combination of using mixer in source/sink elements and using hw:x,y in...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (device_list),
(gst_alsa_class_probe_devices):
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):
Fix alsa oddness in mixer after the combination of using mixer
in source/sink elements and using hw:x,y instead of just hw:x.
2004-05-09 00:30:06 +00:00
Benjamin Otte
12ca207b30 ext/alsa/gstalsasink.c: allow discont events before caps nego
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
allow discont events before caps nego
2004-05-09 00:02:26 +00:00
Benjamin Otte
98e395d53e ext/vorbis/vorbisdec.c: don't leak events
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_event):
don't leak events
2004-05-08 16:30:03 +00:00
Ronald S. Bultje
7fa3cd3b18 ext/alsa/: Make alsasink/src a subclass of alsamixer so that mixer stuff shows up in gst-rec. Needs some finetuning.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_type),
(gst_alsa_sink_class_init):
* ext/alsa/gstalsasink.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_get_type),
(gst_alsa_src_class_init):
* ext/alsa/gstalsasrc.h:
Make alsasink/src a subclass of alsamixer so that mixer stuff
shows up in gst-rec. Needs some finetuning.
2004-05-07 04:56:56 +00:00
Wim Taymans
bb396483ac ext/theora/theoraenc.c: Also encode the first frame, cleanup some code.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_push_packet), (theora_enc_chain),
(theora_enc_set_property), (theora_enc_get_property):
Also encode the first frame, cleanup some code.
2004-05-06 14:32:14 +00:00
Wim Taymans
3060b5e9f8 ext/theora/: Added a theora encoder, grouped the encoder and decoder into the same plugin.
Original commit message from CVS:
* ext/theora/Makefile.am:
* ext/theora/theora.c: (plugin_init):
* ext/theora/theoradec.c: (theora_dec_change_state):
* ext/theora/theoraenc.c: (gst_theora_enc_base_init),
(gst_theora_enc_class_init), (gst_theora_enc_init),
(theora_enc_sink_link), (theora_enc_event), (theora_push_packet),
(theora_enc_chain), (theora_enc_change_state),
(theora_enc_set_property), (theora_enc_get_property):
Added a theora encoder, grouped the encoder and decoder into the
same plugin.
2004-05-06 09:10:31 +00:00
Benjamin Otte
39e1d5c6a5 configure.ac: check for kdemacros.h, too (should fix #141821)
Original commit message from CVS:
* configure.ac:
check for kdemacros.h, too (should fix #141821)
* ext/vorbis/vorbisdec.c: (vorbis_dec_event), (vorbis_dec_chain):
don't crash if no header was sent, but nicely error out (fixes part
of #141554)
2004-05-04 18:38:39 +00:00
Benjamin Otte
c9934b3054 ext/libvisual/: use a GstAdapter to correctly adapt buffer sizes - allows using a framerate
Original commit message from CVS:
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c: (gst_visual_class_init),
(gst_visual_init), (gst_visual_dispose), (gst_visual_getcaps),
(gst_visual_srclink), (gst_visual_chain),
(gst_visual_change_state), (plugin_init):
use a GstAdapter to correctly adapt buffer sizes - allows using a
framerate
2004-05-04 00:44:19 +00:00
Colin Walters
d0d062e9ae plug a memleak
Original commit message from CVS:
plug a memleak
2004-04-30 20:57:48 +00:00
Benjamin Otte
712fde64fe add initial support for libvisual (http://libvisual.sourceforge.net) libvisual is still quite alpha, so expect crashe...
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c:
add initial support for libvisual (http://libvisual.sourceforge.net)
libvisual is still quite alpha, so expect crashes in there :)
2004-04-30 02:25:09 +00:00
Stéphane Loeuillet
a8192d32b3 change alsa pcm device discovery to find more than 1 device per card.
Original commit message from CVS:
change alsa pcm device discovery to find more than 1 device per card.
code review by Ronald.
2004-04-30 01:20:54 +00:00
Ronald S. Bultje
df0008971f ext/alsa/gstalsa.c: Don't probe for playback device if we're a source element. Fixes #139658.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices):
Don't probe for playback device if we're a source element. Fixes
#139658.
2004-04-29 00:40:14 +00:00
Ronald S. Bultje
aa31694595 New DTS decoder.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dts/Makefile.am:
* ext/dts/gstdtsdec.c: (gst_dtsdec_get_type),
(gst_dtsdec_base_init), (gst_dtsdec_class_init), (gst_dtsdec_init),
(gst_dtsdec_channels), (gst_dtsdec_renegotiate),
(gst_dtsdec_handle_event), (gst_dtsdec_update_streaminfo),
(gst_dtsdec_loop), (gst_dtsdec_change_state),
(gst_dtsdec_set_property), (gst_dtsdec_get_property),
(plugin_init):
* ext/dts/gstdtsdec.h:
New DTS decoder.
* ext/faad/gstfaad.c: (gst_faad_sinkconnect),
(gst_faad_srcconnect):
Add ESDS atom handling (.m4a).
2004-04-29 00:00:25 +00:00
David Schleef
80a61322ef ext/mad/gstid3tag.c: Add stdlib.h
Original commit message from CVS:
reviewed by David Schleef
* ext/mad/gstid3tag.c: Add stdlib.h
* gst/rtp/gstrtpgsmenc.c: same
* gst/tags/gstid3tag.c: same
* gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE
* gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust
GST_DISABLE_LOADSAVE use.
* gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise.
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise.
* ext/gnomevfs/gstgnomevfssrc.c: Include <stdlib.h> (needed by
atol(3)).
* sys/oss/gstosselement.h: Include <sys/types.h> (needed for dev_t).
* gst/tags/gstvorbistag.c: Include <stdlib.h> (needed by
strtoul(3)).
* gst/rtp/gstrtpL16enc.c: Include <stdlib.h> (needed by random(3)).
* ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS)
$(ID3_CFLAGS).
* ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add
$(LIBFAME_CFLAGS).
2004-04-20 23:03:28 +00:00
Thomas Vander Stichele
f9e831a09b fix wrong use of GST_ELEMENT_ERROR
Original commit message from CVS:
fix wrong use of GST_ELEMENT_ERROR
2004-04-16 17:01:15 +00:00
Ronald S. Bultje
f711e918b4 ext/gnomevfs/gstgnomevfssink.c: Bail out if no filename was given.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_open_file):
Bail out if no filename was given.
2004-04-10 13:07:31 +00:00
Benjamin Otte
50d120f1ba ext/gnomevfs/gstgnomevfssink.c: fix erase signal - if any handler returns false the file will not be overwritten. If ...
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(_gst_boolean_allow_overwrite_accumulator),
(gst_gnomevfssink_class_init):
fix erase signal - if any handler returns false the file will not be
overwritten. If no handler is connected, the file will not be
overwritten either.
renamed signal to "allow-overwrite"
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach):
free string when adding it to ID3 failed
* ext/vorbis/vorbisdec.c: (vorbis_dec_event):
unref event when done
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
free caps
* gst/typefind/gsttypefindfunctions.c:
(mpeg_video_stream_type_find):
fix invalid read
2004-04-09 18:55:10 +00:00
Ronald S. Bultje
2f7f80baf3 ext/gnomevfs/gstgnomevfssink.c: Fix erase signal. Don't erase by default. Remove handoff signal.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_base_init),
(_gst_boolean_did_something_accumulator),
(gst_gnomevfssink_class_init), (gst_gnomevfssink_dispose),
(gst_gnomevfssink_init), (gst_gnomevfssink_set_property),
(gst_gnomevfssink_get_property), (gst_gnomevfssink_open_file),
(gst_gnomevfssink_close_file), (gst_gnomevfssink_chain),
(gst_gnomevfssink_change_state):
Fix erase signal. Don't erase by default. Remove handoff signal.
Remove erase property. Don't segfault. General cleanup.
2004-04-07 01:41:58 +00:00
Benjamin Otte
f9eeda8ad2 ext/gnomevfs/gstgnomevfssrc.c: free the mutexes, too
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_dispose):
free the mutexes, too
2004-04-07 00:42:10 +00:00
Benjamin Otte
e6cf95ecfe ext/gnomevfs/gstgnomevfssrc.c: actually free the URI string
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_dispose):
actually free the URI string
* ext/mad/gstid3tag.c: (gst_id3_tag_src_event):
compute offset correctly when passing discont events
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
don't leak discont events
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
add some missing breaks so caps aren't copied randomly
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream):
if we realloc memory, we better use it
2004-04-06 23:46:00 +00:00
Benjamin Otte
f49d8faa28 ext/alsa/gstalsa.c: handle case better where a soundcard can't pause
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state),
(gst_alsa_close_audio):
handle case better where a soundcard can't pause
* ext/ogg/gstoggdemux.c:
don't crash when we get events but don't have pads yet
2004-04-01 16:34:14 +00:00
David Schleef
0eeb161910 ext/hermes/gsthermescolorspace.c: decrease rank by 2 to not interfere with other colorspaces.
Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c: (plugin_init): decrease rank
by 2 to not interfere with other colorspaces.
* ext/pango/gsttextoverlay.c: (plugin_init): change rank to NONE
* gst/colorspace/gstcolorspace.c: (plugin_init): decrease rank by
one to not interfere with ffmpeg_colorspace.
2004-03-30 07:07:45 +00:00
David Schleef
8f34965681 ext/alsa/gstalsa.c: Don't fixate fields that aren't in the caps.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_fixate): Don't fixate fields that
aren't in the caps.
* gst/sine/gstsinesrc.c: change rate caps to [1,MAX]
* gst/videocrop/gstvideocrop.c: (plugin_init): Change rank to NONE.
2004-03-30 06:51:31 +00:00
Benjamin Otte
4ae33d8a98 add experimental kiosrc plugin
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/kio/Makefile.am:
* ext/kio/kioreceiver.cpp:
* ext/kio/kioreceiver.h:
* ext/kio/kiosrc.cpp:
* ext/kio/kiosrc.h:
add experimental kiosrc plugin
* ext/alsa/gstalsaplugin.c: (plugin_init):
initialize debugging category only when we're sure registering the
plugins worked.
2004-03-30 02:53:00 +00:00
Benjamin Otte
cb6dd8dbed ext/alsa/gstalsa.*: debugging output fixes
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_probe_hw_params):
* ext/alsa/gstalsa.h:
debugging output fixes
2004-03-24 18:48:55 +00:00
Benjamin Otte
a120776798 ext/gnomevfs/gstgnomevfssrc.c: don't g_return_if_fail if element is PLAYING, fail silently as every other element.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_set_property):
don't g_return_if_fail if element is PLAYING, fail silently as every
other element.
* gst/effectv/gstquark.c: (gst_quarktv_chain):
only fix needed for cast lvalue issues in gst-plugins
* gst/volenv/gstvolenv.c: (gst_volenv_init):
add proxy_getcaps
2004-03-24 14:44:08 +00:00
Ronald S. Bultje
41182271ed ext/alsa/gstalsa.h: Remove unused entry.
Original commit message from CVS:
* ext/alsa/gstalsa.h:
Remove unused entry.
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add cinepak.
* gst/videodrop/gstvideodrop.c: (gst_videodrop_getcaps),
(gst_videodrop_link), (gst_videodrop_chain):
Fix, sort of. Was horribly broken with new capsnego. Bah...
2004-03-24 02:12:30 +00:00
Benjamin Otte
a2ade2eac3 ext/ogg/gstoggdemux.c: terminate gst_event_new_discontinuous correctly (fixes parts of #137711)
Original commit message from CVS:
reviewed by: Benjamin Otte  <otte@gnome.org>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
terminate gst_event_new_discontinuous correctly (fixes parts of
#137711)
2004-03-20 01:24:46 +00:00
Thomas Vander Stichele
f83cb187de don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:28 +00:00
Johan Dahlin
1d7bcc7a73 Re-add cardname
Original commit message from CVS:
Re-add cardname
2004-03-15 16:34:26 +00:00
Johan Dahlin
bf07c7cc9b *.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
2004-03-15 16:32:55 +00:00
Thomas Vander Stichele
2622996a82 bad bad ronald, here's the struct member
Original commit message from CVS:
bad bad ronald, here's the struct member
2004-03-15 10:52:49 +00:00
Ronald S. Bultje
e291418a8a ext/alsa/: Don't open the device if we're a mixer (= padless).
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_property),
(gst_alsa_open_audio), (gst_alsa_close_audio):
* ext/alsa/gstalsa.c:
Don't open the device if we're a mixer (= padless).
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_class_init),
(gst_alsa_mixer_init), (gst_alsa_mixer_open),
(gst_alsa_mixer_close), (gst_alsa_mixer_change_state):
Open mixer during state change rather than during object
initialization. Also, get a device name. Currently in a somewhat
hackish fashion, but I didn't really find something better.
2004-03-15 06:34:44 +00:00
Thomas Vander Stichele
4df3f18839 gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:34 +00:00
Jan Schmidt
578c7544fc Only close the device on probe if it succeeded in opening it.
Original commit message from CVS:
Only close the device on probe if it succeeded in opening it.
2004-03-13 06:47:25 +00:00
Ronald S. Bultje
7b7b337d12 ext/alsa/: Fix ancient leftovers... MixerTrack is a GObject.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_free_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_class_init),
(gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
Fix ancient leftovers... MixerTrack is a GObject.
2004-03-13 05:52:26 +00:00
Ronald S. Bultje
f71358e5bd Don't block during probing...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices):
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Don't block during probing...
2004-03-13 05:38:13 +00:00
Ronald S. Bultje
1be2b9f2bd Remove debug
Original commit message from CVS:
Remove debug
2004-03-13 04:52:26 +00:00
Ronald S. Bultje
23d142d276 ext/alsa/gstalsa.*: Add propertyprobe interface implementation, add some device-name property, all this so that it lo...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_type), (gst_alsa_class_init),
(gst_alsa_get_property), (gst_alsa_probe_get_properties),
(gst_alsa_class_probe_devices), (gst_alsa_class_list_devices),
(gst_alsa_probe_probe_property), (gst_alsa_probe_needs_probe),
(gst_alsa_probe_get_values), (gst_alsa_probe_interface_init),
(gst_alsa_open_audio), (gst_alsa_close_audio):
* ext/alsa/gstalsa.h:
Add propertyprobe interface implementation, add some device-name
property, all this so that it looks good in gnome-volume-control.
2004-03-13 04:44:50 +00:00
David Schleef
ad83c4a0d5 ext/alsa/gstalsa.c: Add fixate function. (bug #135719)
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_request_new_pad),
(gst_alsa_fixate): Add fixate function.  (bug #135719)
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_init):
2004-03-09 21:29:56 +00:00
Thomas Vander Stichele
27f32413fe releasing
Original commit message from CVS:
releasing
2004-03-09 18:35:03 +00:00
Thomas Vander Stichele
dbdc8052d3 add/fix error handling in cdparanoia add it to translations make tools scripts executable
Original commit message from CVS:
add/fix error handling in cdparanoia
add it to translations
make tools scripts executable
2004-03-09 16:36:30 +00:00
Thomas Vander Stichele
0e352e0cea removing plugins
Original commit message from CVS:
removing plugins
2004-03-09 13:16:29 +00:00
Thomas Vander Stichele
21257d7edc removing plugins from build
Original commit message from CVS:
removing plugins from build
2004-03-09 13:10:14 +00:00
Thomas Vander Stichele
d271b36641 signal serial
Original commit message from CVS:
signal serial
2004-03-06 17:31:59 +00:00
Thomas Vander Stichele
7c78fde400 handle _TIME and _BYTE queries
Original commit message from CVS:
handle _TIME and _BYTE queries
2004-03-06 16:41:39 +00:00
Benjamin Otte
170e28dce7 ext/ogg/gstoggdemux.c: make sure to handle the case where there's no current chain gracefully.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_get_pad_by_pad),
(gst_ogg_demux_src_query):
make sure to handle the case where there's no current chain
gracefully.
2004-03-06 11:18:28 +00:00
Thomas Vander Stichele
15f1314023 fix headers fix signals to use - instead of _
Original commit message from CVS:
fix headers
fix signals to use - instead of _
2004-03-04 21:39:15 +00:00
Thomas Vander Stichele
c4fd0eedb0 don't signal bitrate for < 1
Original commit message from CVS:
don't signal bitrate for < 1
2004-02-24 17:34:48 +00:00
Benjamin Otte
3acef0a88c configure.ac: export [_]*{gst,Gst,GST}.* symbols from plugins
Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

* configure.ac:
export [_]*{gst,Gst,GST}.* symbols from plugins

2004-02-22  Christophe Fergeau <teuf@gnome.org>

reviewed by: Benjamin Otte  <otte@gnome.org>

* ext/lame/gstlame.c: (add_one_tag):
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_tag_value),
(gst_vorbisenc_metadata_set1):
* gst/tags/gstid3tag.c:
* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add):
apply fixes from bugs #135042 (lame can't write tags) and #133817
(add GST_ALBUM_VOLUME_{COUNT,NUMBER} tags)
2004-02-22 15:14:25 +00:00
Thomas Vander Stichele
5da344cc51 fix gdk_pixbuf install location creation for solaris fix category for vorbisdec
Original commit message from CVS:

fix gdk_pixbuf install location creation for solaris
fix category for vorbisdec
2004-02-20 15:49:27 +00:00
Benjamin Otte
8eae64c32d ext/xine/: add first version of xine plugin wrapper. Currently only wraps the
Original commit message from CVS:
2004-02-20  Benjamin Otte  <otte@gnome.org>

* ext/xine/Makefile.am:
* ext/xine/gstxine.h:
* ext/xine/xine.c:
* ext/xine/xineaudiodec.c:
* ext/xine/xinecaps.c:
add first version of xine plugin wrapper. Currently only wraps the
QDM2 win32 DLL, and even that only in proof-of-concept quality.
* configure.ac:
* ext/Makefile.am:
add xine plugin wrapper, disabled by default. Use --enable-xine to
build. Note that it'll segfault on gst-register if you don't remove
the goom and tvtime post plugins from xine.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(qtdemux_parse), (qtdemux_parse_trak), (qtdemux_audio_caps):
add extradata parsing for QDM2.
change around debugging prints.
2004-02-20 00:52:06 +00:00
Benjamin Otte
10367e6279 ext/: use gst_tag_list_insert when you want to insert tags
Original commit message from CVS:
2004-02-19  Benjamin Otte  <otte@gnome.org>

* ext/lame/gstlame.c: (gst_lame_chain):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain):
use gst_tag_list_insert when you want to insert tags
2004-02-19 22:19:55 +00:00
David Schleef
36a3243b1a configure.ac: Move massink to gst-rotten
Original commit message from CVS:
* configure.ac:  Move massink to gst-rotten
* ext/Makefile.am:
* ext/mas/Makefile.am:
* ext/mas/massink.c:
* ext/mas/massink.h:
2004-02-19 03:08:32 +00:00
Julien Moutte
614d7e3d7d ext/alsa/gstalsa.c: Alsa should trigger an error if it failed opening the audio device.
Original commit message from CVS:
2004-02-16  Julien MOUTTE <julien@moutte.net>

* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_timestamp_to_bytes): Alsa should trigger an error if it
failed opening the audio device.
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_ximage_destroy), (gst_ximagesink_ximage_put),
(gst_ximagesink_xwindow_new), (gst_ximagesink_xwindow_destroy),
(gst_ximagesink_xwindow_resize), (gst_ximagesink_xwindow_clear),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_handle_xevents),
(gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear),
(gst_ximagesink_change_state), (gst_ximagesink_chain),
(gst_ximagesink_set_xwindow_id): Clearing window in READY TO PAUSED.
Removing some useless g_return_if_fail like wingo suggested.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_xvimage_destroy), (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_xwindow_new), (gst_xvimagesink_xwindow_destroy),
(gst_xvimagesink_xwindow_resize), (gst_xvimagesink_xwindow_clear),
(gst_xvimagesink_update_colorbalance),
(gst_xvimagesink_handle_xevents), (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_get_fourcc_from_caps),
(gst_xvimagesink_change_state), (gst_xvimagesink_chain),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_colorbalance_list_channels),
(gst_xvimagesink_colorbalance_set_value),
(gst_xvimagesink_colorbalance_get_value): Clearing window in READY TO
PAUSED. Removing some useless g_return_if_fail like wingo suggested.
2004-02-16 16:24:51 +00:00
Benjamin Otte
73a071b77a ext/alsa/gstalsa.*: try xrun recovery when wait failed. Make xrun recovery function return TRUE/FALSE to indicate suc...
Original commit message from CVS:
2004-02-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_pcm_wait),
(gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
try xrun recovery when wait failed. Make xrun recovery function
return TRUE/FALSE to indicate success. (might fix #134354)
2004-02-14 09:06:06 +00:00
Thomas Vander Stichele
b0ecd5f659 move ffmpeg stuff to gst-ffmpeg module
Original commit message from CVS:
move ffmpeg stuff to gst-ffmpeg module
2004-02-13 15:11:50 +00:00
David Schleef
909cd2b667 try getting it right yet again
Original commit message from CVS:
try getting it right yet again
2004-02-11 23:06:48 +00:00
David Schleef
7476daaef8 oops, messed up last checkin
Original commit message from CVS:
oops, messed up last checkin
2004-02-11 23:05:40 +00:00
David Schleef
f619d30100 ext/alsa/Makefile.am: Fix linking against libgstinterfaces. (bug #133886) Noticed by bugs@leroutier.net (Stephane LO...
Original commit message from CVS:
* ext/alsa/Makefile.am: Fix linking against libgstinterfaces.
(bug #133886)  Noticed by bugs@leroutier.net (Stephane LOEUILLET)
2004-02-11 23:05:00 +00:00
Benjamin Otte
a43a79b7b2 ext/mikmod/gstmikmod.*: fix caps negotiation in mikmod
Original commit message from CVS:
2004-02-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mikmod/gstmikmod.c: (gst_mikmod_init),
(gst_mikmod_srcfixate), (gst_mikmod_srclink), (gst_mikmod_loop):
* ext/mikmod/gstmikmod.h:
fix caps negotiation in mikmod
* ext/ogg/gstoggdemux.c: (gst_ogg_print):
output debug information
2004-02-10 08:37:50 +00:00
David Schleef
1da9222a88 ext/ogg/gstoggdemux.c: Don't push events to pads that haven't been created (#133508)
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_handle_event): Don't
push events to pads that haven't been created (#133508)
2004-02-08 02:17:14 +00:00
Benjamin Otte
57556a8d93 ext/alsa/gstalsa.c: be sure to stop the clock when going to paused
Original commit message from CVS:
2004-02-05  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_change_state):
be sure to stop the clock when going to paused
* sys/oss/gstosssink.c: (gst_osssink_change_state):
reset number of transmitted when going to ready.
fixes #132935

2004-02-05  Charles Schmidt <cschmidt2@emich.edu>

reviewed by Benjamin Otte

* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
extract track count (fixes #133410)
2004-02-05 00:18:24 +00:00
David Schleef
46fb44566c 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
56b6088c46 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:16 +00:00
Thomas Vander Stichele
0a5dcc9c5b remove textdomain calls
Original commit message from CVS:
remove textdomain calls
2004-02-02 22:25:38 +00:00
David Schleef
e4be2582bc 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
Thomas Vander Stichele
8336c47f0c 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
918077c6d1 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
1646d10b87 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:21 +00:00
Benjamin Otte
a61dceb24d 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
Benjamin Otte
f8dd2b328e 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:18 +00:00
Thomas Vander Stichele
7c8b3023bb 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
ebed8d8724 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:24 +00:00
Benjamin Otte
0799be4c1b fix compile error on unforgiving Gentoo compiler
Original commit message from CVS:
fix compile error on unforgiving Gentoo compiler
2004-01-30 03:59:03 +00:00
Benjamin Otte
ef502795dc 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:04 +00:00
Thomas Vander Stichele
03caa97b73 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:45 +00:00
Julien Moutte
1e9f5c82be 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
Benjamin Otte
b660e15f8d ext/ogg/gstoggdemux.c: lots of changes - mainly support for chained bitstreams, seeking, querying and bugfixes of course
Original commit message from CVS:
2004-01-29  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/ogg/gstoggdemux.c:
lots of changes - mainly support for chained bitstreams, seeking,
querying and bugfixes of course
* ext/vorbis/Makefile.am:
* ext/vorbis/vorbisdec.c:
* ext/vorbis/vorbisdec.h:
add vorbisdec raw vorbis decoder
* ext/vorbis/vorbis.c: (plugin_init):
register vorbisdec as PRIMARY, vorbisfile as SECONDARY
* gst/intfloat/Makefile.am:
* gst/intfloat/float22int.c:
* gst/intfloat/float22int.h:
* gst/intfloat/gstintfloatconvert.c: (plugin_init):
add float2intnew plugin. It converts multichannel interleaved float to
multichannel interleaved int. The name should probably be changed.
* gst/typefind/gsttypefindfunctions.c: (theora_type_find),
(plugin_init):
add typefinding for raw theora video so oggdemux can detect it.
2004-01-29 02:50:20 +00:00
Benjamin Otte
ead37dc249 ext/alsa/gstalsa.c: use gst_element_get_time to get correct time
Original commit message from CVS:
2004-01-28  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_query_func):
use gst_element_get_time to get correct time
2004-01-28 05:21:23 +00:00
Colin Walters
260071fc4a ext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_get): Remove ugly code to pull a bigger buffer in iradio mode. This a...
Original commit message from CVS:
2004-01-26  Colin Walters  <walters@verbum.org>

* ext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_get): Remove ugly
code to pull a bigger buffer in iradio mode.  This as a side effect
makes typefinding work.
2004-01-26 22:17:08 +00:00
Ronald S. Bultje
fec321f575 ext/ogg/gstoggdemux.c: Fix wrong file comment.
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/ogg/gstoggdemux.c:
Fix wrong file comment.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_info):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_header):
Add metadata reading properly.
2004-01-23 13:22:17 +00:00
Thomas Vander Stichele
863e207801 fix distcheck
Original commit message from CVS:
fix distcheck
2004-01-23 13:19:46 +00:00
Thomas Vander Stichele
a79bbfac25 fix includes for distcheck
Original commit message from CVS:
fix includes for distcheck
2004-01-21 12:51:28 +00:00
Christian Schaller
fc7a266b9b adding NAS plugin
Original commit message from CVS:
adding NAS plugin
2004-01-21 06:57:30 +00:00
Thomas Vander Stichele
fd060aa027 register and use debugging category in media-info make vorbisfile emit tags for streaminfo
Original commit message from CVS:
register and use debugging category in media-info
make vorbisfile emit tags for streaminfo
2004-01-20 16:25:11 +00:00
Thomas Vander Stichele
0d030dd3fa putting i18n in place for plugins
Original commit message from CVS:
putting i18n in place for plugins
2004-01-19 15:45:55 +00:00
Thomas Vander Stichele
814a6b0762 fix i18n include
Original commit message from CVS:
fix i18n include
2004-01-19 13:50:39 +00:00
Thomas Vander Stichele
2cfebc6799 fix typo
Original commit message from CVS:
fix typo
2004-01-19 13:29:28 +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
Jeremy Simon
1abf388f85 Check for libmusicbrainz
Original commit message from CVS:
Check for libmusicbrainz
Add the musicbrainz directory to the build process
Update Changelog
2004-01-18 20:19:44 +00:00
Scott Wheeler
1c2fe90b01 Build with GCC 2.95 (i.e. pre-C99)
Original commit message from CVS:
Build with GCC 2.95 (i.e. pre-C99)
2004-01-18 01:05:42 +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
fa5fc659ad ext/alsa/gstalsasink.c: Don't update the time of the clock sync to the clock given to alsasink, not the own clock
Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Don't update the time of the clock
(gst_alsa_sink_loop):
sync to the clock given to alsasink, not the own clock
* sys/oss/gstosssink.c: (gst_osssink_chain):
sync to the clock
(gst_osssink_change_state):
activate the clock
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
remove bogus code that made DISCONT events unhandled
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
explicitly case to double in _set_simple. (fixes 2nd warning in bug
#131502)
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_read_object_header),
(gst_asf_demux_handle_sink_event), (gst_asf_demux_audio_caps),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_video_caps):
convert g_warning because of wrong asf data to GST_WARNINGs (fixes
2nd warning in bug #131502)
2004-01-15 02:14:54 +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
Amaury Jacquot
75553cc4d3 enable compilation and installation of ivorbis plugin
Original commit message from CVS:
enable compilation and installation of ivorbis plugin
2004-01-13 23:15:58 +00:00
David Schleef
37d7aecdb6 Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
Original commit message from CVS:
Remove all usage of gst_pad_get_caps(), and replace it with
gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
2004-01-12 03:40:18 +00:00
David Schleef
6a5df541a6 Fixes to make ext/libcaca compile.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am: Fixes to make ext/libcaca compile.
* ext/divx/gstdivxdec.c:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link),
(gst_gdk_pixbuf_init), (gst_gdk_pixbuf_chain): Make gdkpixbufdec
handle images that span multiple buffers.  Now work with both
filesrc ! gdkpixbufdec and qtdemux ! gdkpixbufdec.
* ext/gdk_pixbuf/gstgdkpixbuf.h:
* ext/libcaca/gstcacasink.h: Fixes needed due to recent
video/video.h changes
* ext/xvid/gstxvid.c: (gst_xvid_csp_to_caps): same
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free): Use buffer free function instead
of GstData free function.
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
same.
2004-01-12 03:21:40 +00:00
David Schleef
d95a6d76c4 New source plugin based on librfb-0.1. RFB (remote framebuffer) is the protocol used by VNC.
Original commit message from CVS:
New source plugin based on librfb-0.1.  RFB (remote framebuffer)
is the protocol used by VNC.
2004-01-07 10:51:05 +00:00
Ronald S. Bultje
a22237f480 ext/alsa/gstalsamixer.c: Correct logic of dispose function (see #129306).
Original commit message from CVS:
2004-01-03  Thomas Canty <tommydal@optushome.com.au>

reviewed by: Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_dispose):
Correct logic of dispose function (see #129306).
2004-01-03 13:09:21 +00:00
Thomas Vander Stichele
738e334db2 fix Company's dist breaking
Original commit message from CVS:
fix Company's dist breaking
2004-01-03 10:03:56 +00:00
David Schleef
532c5eea39 ext/alsa/gstalsasrc.c: Remove bogus "src" request pad.
Original commit message from CVS:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_pad_factory),
(gst_alsa_src_base_init): Remove bogus "src" request pad.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_base_init),
(gst_mpeg_parse_class_init): Move pad template registration
to class_init, since the derived class (mpegdemux) doesn't
want them.
2004-01-03 01:27:31 +00:00
Benjamin Otte
fc3ec1a0f1 ext/alsa/README: Remove outdated document
Original commit message from CVS:
2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/README:
Remove outdated document
2004-01-02 17:28:56 +00:00
David Schleef
8c2c77d3a2 Fix compile error in last checkin
Original commit message from CVS:
Fix compile error in last checkin
2004-01-02 07:37:14 +00:00
David Schleef
7ccfa2dac7 Convert elements to use gst_pad_use_explicit_caps() where appropriate.
Original commit message from CVS:
Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2004-01-02 07:09:22 +00:00
Benjamin Otte
977bb1105e ext/alsa/gstalsa.c: Don't send ALSA debugging to stderr.
Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_open_audio):
Don't send ALSA debugging to stderr.
* ext/alsa/gstalsa.h:
Use GST_WARNING instead of g_warning when ALSA functions fail.
2003-12-27 17:19:29 +00:00
Colin Walters
cc9b7d1286 Add ARG_HANDLE property that takes a GnomeVFSHandle directly.
Original commit message from CVS:
Add ARG_HANDLE property that takes a GnomeVFSHandle directly.
2003-12-23 21:28:35 +00:00
Colin Walters
a5b7982494 Add "handle" argument, which takes a GnomeVFSHandle directly.
Original commit message from CVS:
Add "handle" argument, which takes a GnomeVFSHandle directly.
2003-12-23 03:49:27 +00:00
Benjamin Otte
d71b6b803a ext/alsa/gstalsa.c: Fix remaining caps handling errors due to CAPS merge.
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_get_caps), (gst_alsa_link):
Fix remaining caps handling errors due to CAPS merge.
2003-12-22 16:38:00 +00:00
David Schleef
3b60021408 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Benjamin Otte
76ecfc347f fix vorbis playback (by using a hack, but for now...)
Original commit message from CVS:
fix vorbis playback (by using a hack, but for now...)
2003-12-12 03:08:17 +00:00
Ronald S. Bultje
73ccd96473 This is a first attempt at a wrapper for the lib'ified mpeg2enc of mjpegtools. Currently, there's a few release candi...
Original commit message from CVS:
This is a first attempt at a wrapper for the lib'ified mpeg2enc of
mjpegtools. Currently, there's a few release candidates for mjpegtools-1.6.2
available, but no stable version yet.
I've made 4 small subclasses to wrap input, output, options and generic
encoding model. The last .cc file is the GStreamer plugin element.

Note that it doesn't actually work yet, I'm doing something wrong with
header parsing and Andrew asked me to commit so he could help debugging
that. Apart from that, we should soon be able to make top-quality MPEG
encodes! :).

mpeg2enc licensing is tricky, btw, I don't even want to start discussing
that...
2003-12-11 21:07:25 +00:00
Ronald S. Bultje
399c38e398 gcc-2.95 nitpicking - thanks Scott Wheeler
Original commit message from CVS:
gcc-2.95 nitpicking - thanks Scott Wheeler
2003-12-07 22:45:23 +00:00
Iain Holmes
d1537b9c5c Fix the GstInterface -> GstImplementsInterface changes
Original commit message from CVS:
Fix the GstInterface -> GstImplementsInterface changes
2003-12-07 14:03:31 +00:00
Leif Johnson
ba2b9bd9d1 + got the alsa mixer implementation to work !
Original commit message from CVS:
+ got the alsa mixer implementation to work !
2003-12-06 00:02:20 +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
473fd2f5e2 Add GST_FORMAT_PERCENT. From galt@gothpoodle.com, #125414.
Original commit message from CVS:
Add GST_FORMAT_PERCENT.  From galt@gothpoodle.com, #125414.
2003-12-02 04:01:24 +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
Christophe Fergeau
8a5879790d Fixed setting of the TRACKNUMBER tag
Original commit message from CVS:
Fixed setting of the TRACKNUMBER tag
2003-11-27 21:46:09 +00:00
Jan Schmidt
e286156c66 Fix a 'vorbistag might be used uninitialised' warning
Original commit message from CVS:
Fix a 'vorbistag might be used uninitialised' warning
2003-11-26 12:15:57 +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
Ronald S. Bultje
d0348439af Typo
Original commit message from CVS:
Typo
2003-11-22 22:15:57 +00:00
Benjamin Otte
20b290cd04 don't print to stderr, use debug messages
Original commit message from CVS:
don't print to stderr, use debug messages
2003-11-22 16:15:24 +00:00
Ronald S. Bultje
d54200bb4d Add faac build
Original commit message from CVS:
Add faac build
2003-11-22 12:40:19 +00:00
Ronald S. Bultje
e97ce73d42 Add C-based local matroska/EBML plugin, remove libmatroska/libebml c++ one
Original commit message from CVS:
Add C-based local matroska/EBML plugin, remove libmatroska/libebml c++ one
2003-11-21 21:34:26 +00:00
Ronald S. Bultje
4b15d61ebf New libfaad (MPEG-2/4 AAC decoder) plugin
Original commit message from CVS:
New libfaad (MPEG-2/4 AAC decoder) plugin
2003-11-21 21:20:42 +00:00
Benjamin Otte
280c25766a fixes for recent changes:
Original commit message from CVS:
fixes for recent changes:
- GstAlsaClock is not a GstSystemClock
- initialize debugging system correctly
2003-11-18 15:32:52 +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
Leif Johnson
e53facc93f + adding alsa mixer implementation
Original commit message from CVS:
+ adding alsa mixer implementation
2003-11-16 21:56:30 +00:00
Leif Johnson
f3b328da39 splitting ALSA code into separate source files
Original commit message from CVS:
splitting ALSA code into separate source files
2003-11-16 00:40:01 +00:00
Benjamin Otte
8f4600fbff use debugging macros for debugging (d'oh)
Original commit message from CVS:
use debugging macros for debugging (d'oh)
2003-11-12 02:49:30 +00:00
David Schleef
5a0d7c7c1e some cleanups suggested by gst-lint
Original commit message from CVS:
some cleanups suggested by gst-lint
2003-11-11 00:38:11 +00:00
David Schleef
cf680721df Update for videofilter changes
Original commit message from CVS:
Update for videofilter changes
2003-11-10 18:42:32 +00:00
Benjamin Otte
7e10f491a7 apparently you need this function now - it still doesn't work though
Original commit message from CVS:
apparently you need this function now - it still doesn't work though
2003-11-09 15:44:25 +00:00
Benjamin Otte
e9299c0a4f That function was removed from videofilter because of plugin_init changes
Original commit message from CVS:
That function was removed from videofilter because of plugin_init changes
2003-11-09 15:35:22 +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
Jan Schmidt
01a9ce9134 Updated for the new plugin loading code
Original commit message from CVS:
Updated for the new plugin loading code
2003-11-02 06:46:57 +00:00
Iain Holmes
87d8e8b181 Vorbis compiles once more
Original commit message from CVS:
Vorbis compiles once more
2003-11-02 02:20:36 +00:00
Iain Holmes
a61b34b883 Text overlay
Original commit message from CVS:
Text overlay
2003-11-02 01:21:38 +00:00
Iain Holmes
5ac7ef3cfa Fix CDParanoia for the new defines too
Original commit message from CVS:
Fix CDParanoia for the new defines too
2003-11-01 14:17:49 +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
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
Benjamin Otte
c52b047187 update alsa to the new debugging system
Original commit message from CVS:
update alsa to the new debugging system
2003-10-12 17:03:59 +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
David Schleef
0142d75bf9 libcdparanoia is GPL
Original commit message from CVS:
libcdparanoia is GPL
2003-09-25 01:56:01 +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
4eb8fcfe4f converted gst_element_error to new format in ext/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in ext/ - gettext pending
2003-09-15 01:08:40 +00:00
Ronald S. Bultje
483700af2a Add GST_DURATION() support to ALSA
Original commit message from CVS:
Add GST_DURATION() support to ALSA
2003-09-12 11:34:34 +00:00
Colin Walters
1574cf765f Escape filenames for display in error messages.
Original commit message from CVS:
Escape filenames for display in error messages.
2003-09-10 04:55:13 +00:00
David Schleef
6310d277da rewrite state machine in _loop() function to handle buffer durations
Original commit message from CVS:
rewrite state machine in _loop() function to handle buffer durations
2003-08-26 06:56:58 +00:00
David Schleef
295639cb4d Migrate caps to new system. Change to using a simple convolution to create outline.
Original commit message from CVS:
Migrate caps to new system.  Change to using a simple convolution
to create outline.
2003-08-26 05:10:44 +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
David Schleef
d1ef739d08 change FT_PIXEL_MODE_GRAY to ft_pixel_mode_grays
Original commit message from CVS:
change FT_PIXEL_MODE_GRAY to ft_pixel_mode_grays
2003-08-06 17:44:24 +00:00
David Schleef
c34b8d7fd7 Implement seekable property. Tested on named pipes, http streams and regular files. Fixes #104840
Original commit message from CVS:
Implement seekable property.  Tested on named pipes, http streams and
regular files.  Fixes #104840
2003-07-29 07:18:06 +00:00
David Schleef
cf9a455912 Make mplex subdir dependent on USE_MPLEX
Original commit message from CVS:
Make mplex subdir dependent on USE_MPLEX
2003-07-27 05:29:10 +00:00
Benjamin Otte
ccbd5cbade copy license from .h to .c, so it's really the LGPL header now
Original commit message from CVS:
copy license from .h to .c, so it's really the LGPL header now
2003-07-25 18:43:15 +00:00
David Schleef
cba4380b82 enable ext/mplex
Original commit message from CVS:
enable ext/mplex
2003-07-22 22:08:13 +00:00
Leif Johnson
8c0b28395b + changes for new float caps without slope/intercept + some category changes for plugins
Original commit message from CVS:
+ changes for new float caps without slope/intercept
+ some category changes for plugins
2003-07-19 23:25:26 +00:00
Leif Johnson
0894ba5603 + updated caps for new float caps + added 'Library' to license at top of file since gst-inspect says LGPL
Original commit message from CVS:
+ updated caps for new float caps
+ added 'Library' to license at top of file since gst-inspect says LGPL
2003-07-19 23:22:47 +00:00
Christian Schaller
5ab761f4bf the real speex disting fix, the previous one was just the build fix :)
Original commit message from CVS:
the real speex disting fix, the previous one was just the build fix :)
2003-07-18 20:33:39 +00:00
Christian Schaller
eccbe9b8b7 fix it so that the SPEEX plugin gets disted
Original commit message from CVS:
fix it so that the SPEEX plugin gets disted
2003-07-18 20:28:36 +00:00
David Schleef
5e896f15ce Add textoverlay element that was previously in the sandbox
Original commit message from CVS:
Add textoverlay element that was previously in the sandbox
2003-07-17 06:29:48 +00:00
Andy Wingo
7c6f49bf6b actually recurse into sndfile if we are able big ladspa cleanups, mainly to comply with the buffer-frames caps proper...
Original commit message from CVS:
* actually recurse into sndfile if we are able
* big ladspa cleanups, mainly to comply with the buffer-frames caps property, but also general
cleanups
- the samplerate prop is gone, if you want to set it explicitly (as in for get-based plugins)
you need to use a filtered connection, just like with buffer-frames
* big float2int and int2float changes for buffer-frames compatibility - I think it's quite a bit
simpler
* make the ossclock general, add it to gstaudio, and use it in sndfile as well

i need to update mimetypes, but that's coming soon. there are some other plugins that don't
support buffer-frames, i guess i need to get around to fixing them as well.
2003-07-16 16:08:13 +00:00
Ronald S. Bultje
7abf8c5dff Add matroska support to the build tree
Original commit message from CVS:
Add matroska support to the build tree
2003-07-14 17:37:34 +00:00
David Schleef
383483f966 Fixes for new caps system
Original commit message from CVS:
Fixes for new caps system
2003-07-14 08:29:25 +00:00
Benjamin Otte
ef24e8e54e vorbisfile is LGPL (see sources)
Original commit message from CVS:
vorbisfile is LGPL (see sources)
2003-07-09 02:07:14 +00:00
David Schleef
eff9a150cd /me attempts to fix stuff that BBB apparently never compiled
Original commit message from CVS:
/me attempts to fix stuff that BBB apparently never compiled
2003-07-07 00:34:24 +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
Ronald S. Bultje
d4d7574625 Superseeded by vorbisfile
Original commit message from CVS:
Superseeded by vorbisfile
2003-07-06 15:12:40 +00:00
Christian Schaller
cb63bf4789 small disting fix
Original commit message from CVS:
small disting fix
2003-07-05 22:45:39 +00:00
David Schleef
8f7cd9b5e6 add gst/videofilter and ext/pango
Original commit message from CVS:
add gst/videofilter and ext/pango
2003-07-02 08:15:01 +00:00
David Schleef
b947481c11 overlays text of the current timestamp
Original commit message from CVS:
overlays text of the current timestamp
2003-07-02 08:07:24 +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
Ronald S. Bultje
dc597dcfd0 Plugins cleanup:
Original commit message from CVS:
Plugins cleanup:
* stereo2mono, mono2stereo, int2float, float2int: replaced by audioconvert.
* stereosplit replaced by oneton.
* vumeter replaced by level (and was broken anyway).
* avifile replaced by ffmpeg.
* mjpegtools duplicates functionality of jpeg. jpeg now works with jpeg-mmx,
too, which makes mjpegtools unneeded.
* allow for jpegmmx instead of jpeg.
* openquicktime replaced by qtdemux and ffmpeg. Broken anyway.
* XMMS is broken and will never be fixed.
* vga is broken and will not be fixed anywhere soon.
* videosink has never worked. If it works, add it back to replace xvideosink.
2003-06-25 19:17:59 +00:00
David Schleef
4bee72f02d Add gdkpixbuf subdir. Alphabetize a few others.
Original commit message from CVS:
Add gdkpixbuf subdir.  Alphabetize a few others.
2003-06-25 03:18:27 +00:00
Andy Wingo
ee21d230e0 caps refcounting fixes for float2int fixed wrt setting of caps on int pad with dynamic number of sink pads in float2i...
Original commit message from CVS:
* caps refcounting fixes for float2int
* fixed wrt setting of caps on int pad with dynamic number of sink pads in float2int
* added libsndfile plugin (currently only the src is implemented) - currently only float output, noninterleaved is implemented
2003-06-16 14:56:34 +00:00
Ronald S. Bultje
b0122623f0 Remove NEW_MEDIA from plugins
Original commit message from CVS:
Remove NEW_MEDIA from plugins
2003-06-07 00:17:51 +00:00
Wim Taymans
cd3f2fa760 fix negotiation error handling
Original commit message from CVS:
fix negotiation error handling
2003-06-01 08:34:23 +00:00
Colin Walters
4c1af23744 Don't set the mime type.
Original commit message from CVS:
Don't set the mime type.
2003-05-30 21:42:03 +00:00
Wim Taymans
7dfe3cfe8c - small cleanups
Original commit message from CVS:
- small cleanups
- fix DURATION field
2003-05-29 13:17:17 +00:00
Wim Taymans
3faa5fd3df - small cleanups
Original commit message from CVS:
- small cleanups
- fix offset
- added blocksize property
2003-05-29 13:02:16 +00:00
David Schleef
f460018c84 GST_FORMAT_UNITS -> GST_FORMAT_DEFAULT conversion
Original commit message from CVS:
GST_FORMAT_UNITS -> GST_FORMAT_DEFAULT conversion
2003-05-28 06:25:39 +00:00
Wim Taymans
8e7b367524 UNITS -> DEFAULT
Original commit message from CVS:
UNITS -> DEFAULT
2003-05-24 10:41:58 +00:00
David Schleef
fd82531af2 gsize != gint on some platforms. Fix.
Original commit message from CVS:
gsize != gint on some platforms.  Fix.
2003-05-21 19:56:30 +00:00
Benjamin Otte
5cb610d298 make filtered connections actually work. Remove a leftover g_print
Original commit message from CVS:
make filtered connections actually work. Remove a leftover g_print
2003-05-17 20:39:34 +00:00
Benjamin Otte
3b983a1788 next big bunch of stuff:
Original commit message from CVS:
next big bunch of stuff:
- proper caps setting in alsasrc
- query / conversion functions
WARNING: Alsa 0.9.2 is heavily borked wrt recording - expect segfaults
2003-05-15 16:32:22 +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
Benjamin Otte
7035f1be3e be parent of own clock
Original commit message from CVS:
be parent of own clock
2003-05-10 11:37:35 +00:00
Benjamin Otte
51bbd119fd bugfixes:
Original commit message from CVS:
bugfixes:
- better error reporting
- segfault when using alsasrc without alsasink (d'oh)
- don't try to round when doing samples => time conversion
2003-04-29 21:51:10 +00:00
Benjamin Otte
a3f57dfba4 alsasrc works now, but it still uses hardcoded caps
Original commit message from CVS:
alsasrc works now, but it still uses hardcoded caps
2003-04-24 22:58:33 +00:00
Benjamin Otte
a05c17a8b8 fix segfault when --gst-mask=-1 is enabled
Original commit message from CVS:
fix segfault when --gst-mask=-1 is enabled
2003-04-24 20:31:20 +00:00
Benjamin Otte
05d819a9a5 We're not at EOS after a successfull seek (fixes #111498)
Original commit message from CVS:
We're not at EOS after a successfull seek (fixes #111498)
2003-04-24 18:56:47 +00:00
Benjamin Otte
dcdb424424 total code reorganization as a start to get alsasrc working - sink and src are now really different classes, not just...
Original commit message from CVS:
total code reorganization as a start to get alsasrc working - sink and src are now really different classes, not just on paper - includes a fix that makes the testsuite work that might be an older bug
2003-04-24 00:03:06 +00:00
Christian Schaller
232891aaf1 Removing avifile and http plugins, also fixing some disting issues
Original commit message from CVS:
Removing avifile and http plugins, also fixing some disting issues
2003-04-23 19:42:12 +00:00
Benjamin Otte
7d5843f31f change alsa to use non-blocking mode
Original commit message from CVS:
change alsa to use non-blocking mode
2003-04-22 23:33:04 +00:00
Benjamin Otte
f2f10fcade more indentation madness, no actual code changes
Original commit message from CVS:
more indentation madness, no actual code changes
2003-04-22 18:28:33 +00:00
Benjamin Otte
51b95c4653 indenting only
Original commit message from CVS:
indenting only
2003-04-22 14:45:41 +00:00
Ronald S. Bultje
9cd5e80245 Adds divx/xvid encoders. divx encoder is based on divx4linux (commercial, closed-source)
Original commit message from CVS:
Adds divx/xvid encoders.
* divx encoder is based on divx4linux (commercial, closed-source)
* xvid encoder is based on xvidcore (http://www.xvid.org/, GPL - Christian? ;) )

Both use a GstCaps that doesn't conform with what we currently use, I might fix that later on or so. For now, it doesn't matter, it's just a test. We're also missing corresponding decoders (ffmpeg can decoded this too, but that's not the point), these might come later too.
2003-04-21 21:54:26 +00:00
Colin Walters
700a618147 Reset in_first_get flag when done reading, and on opening a file.
Original commit message from CVS:
Reset in_first_get flag when done reading, and on opening a file.
2003-04-20 18:44:34 +00:00
Benjamin Otte
f928b71543 some more fixes for weird situations
Original commit message from CVS:
some more fixes for weird situations
2003-04-18 23:32:29 +00:00
Benjamin Otte
da25cbb0b3 fix clock - seeking, xruns etc should be handled correctly now includes bugfix to not play the rest of the audio buff...
Original commit message from CVS:
fix clock - seeking, xruns etc should be handled correctly now
includes bugfix to not play the rest of the audio buffer when going PAUSED => READY
2003-04-18 12:14:04 +00:00
Benjamin Otte
f3c926748a converted g_print to g_printerr
Original commit message from CVS:
converted g_print to g_printerr
2003-04-13 14:28:15 +00:00
Benjamin Otte
60154fca6e fix timestamp syncing timestamps are only guessed so add a (big) threshold before starting to drop/insert fix some cl...
Original commit message from CVS:
fix timestamp syncing
timestamps are only guessed so add a (big) threshold before starting to drop/insert
fix some clocking madness
2003-04-13 14:21:02 +00:00
Benjamin Otte
05ef1f25e5 ALSA rewrite, part 5:
Original commit message from CVS:
ALSA rewrite, part 5:
- sync to timestamps (which breaks a _lot_, because most plugins send out wrong timestamps)
- clocking support (A/V sync is superb as long as you don't sync and don't get wrong timestamps)
- 1/2 of format conversion
- assorted bugfixes
I'd like to get people to check the timestamps the plugins send out.
mpegdemux seems to be pretty broken, mad works (I just patched it...), avidemux works at least sometimes.
Haven't checked more so far.
2003-04-13 04:13:12 +00:00
Benjamin Otte
440f6c38f6 fix iradio mode
Original commit message from CVS:
fix iradio mode
2003-04-11 00:59:50 +00:00
Benjamin Otte
6c384754a9 make alsa not pause playback but drain the buffer on EOS
Original commit message from CVS:
make alsa not pause playback but drain the buffer on EOS
2003-04-11 00:24:19 +00:00
Benjamin Otte
8593c57c2f uhm yeah. segfault fix for gst-inspect
Original commit message from CVS:
uhm yeah. segfault fix for gst-inspect
2003-04-08 22:40:07 +00:00
Ronald S. Bultje
5f31c8200f Fix for 106448
Original commit message from CVS:
Fix for 106448
2003-04-06 23:02:29 +00:00
Benjamin Otte
bd55be76b9 opening/closing files and devices is done on NULL <-> READY
Original commit message from CVS:
opening/closing files and devices is done on NULL <-> READY
2003-03-30 22:16:47 +00:00
Benjamin Otte
4272238399 conform to vorbis metadata spec: http://www.xiph.org/ogg/vorbis/doc/v-comment.html
Original commit message from CVS:
conform to vorbis metadata spec: http://www.xiph.org/ogg/vorbis/doc/v-comment.html
2003-03-30 16:22:34 +00:00
Benjamin Otte
a9464c5893 warn on possibly broken discid, so app devs know about this
Original commit message from CVS:
warn on possibly broken discid, so app devs know about this
2003-03-30 02:13:37 +00:00
Benjamin Otte
24380eed1e Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '='
Original commit message from CVS:
Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '='
2003-03-29 18:37:15 +00:00
Benjamin Otte
2b473441ca bugfix: don't unref event twice
Original commit message from CVS:
bugfix: don't unref event twice
2003-03-27 03:16:31 +00:00
Benjamin Otte
b5a22d8630 get rid of bytestreams
Original commit message from CVS:
get rid of bytestreams
2003-03-27 00:17:26 +00:00
Benjamin Otte
7b30d7b9a4 use err = snd_... instead of errno afterwards -- removed unnecessary include
Original commit message from CVS:
use err = snd_... instead of errno afterwards -- removed unnecessary include
2003-03-26 22:24:35 +00:00
Benjamin Otte
f7995c6fd8 rewrote the caps nego / state change stuff once again, new features:
Original commit message from CVS:
rewrote the caps nego / state change stuff once again, new features:
- bugfixes
- get_caps function to report better caps when device is opened
- better _link function
2003-03-24 03:45:45 +00:00
Benjamin Otte
02872d827d fix compile error
Original commit message from CVS:
fix compile error
2003-03-24 02:58:13 +00:00
Benjamin Otte
a773e79446 bugfix: destroy bufferstreams after they're reset, not before
Original commit message from CVS:
bugfix: destroy bufferstreams after they're reset, not before
2003-03-22 02:17:08 +00:00
Benjamin Otte
d681473539 bugfixing:
Original commit message from CVS:
bugfixing:
- use better parameter setting functions
- assorted stuff
feature:
- added non-mmaped standard-rw output. Use 'alsasink mmap=false' to deactivate mmap output
2003-03-22 01:17:06 +00:00
Benjamin Otte
5dc94e9b3d fixing bugs:
Original commit message from CVS:
fixing bugs:
- reset original caps on failed caps nego
- do only initialize format/rate/caps if known
- added line for fast debugging output (need this for iain now ;)
2003-03-19 22:54:36 +00:00
Benjamin Otte
245d6e4d6d fix all kinds of shutdown stuff and do proper freeing of memory
Original commit message from CVS:
fix all kinds of shutdown stuff and do proper freeing of memory
2003-03-19 21:33:52 +00:00
Benjamin Otte
4b1649ad34 ALSA cleanup step 3:
Original commit message from CVS:
ALSA cleanup step 3:
- make caps nego work, when caps are already set
- rewriting lots of caps nego while doing so
- start stream explicitly now (will probably stay that way because of sync)
- random bugfixes
alsasrc is probably broken again.
alsasink should now be stable enough to be used with gst-player or rhythmbox (seeking works)
2003-03-18 22:07:56 +00:00
Benjamin Otte
489eafaf72 Bugfixing in alsa again:
Original commit message from CVS:
Bugfixing in alsa again:
- Leif's commit reverted an earlier patch
(stupid diff)
- Some comment from Leif made me clean up his code
- Moved wait() directly in front of mmap
- Assorted fixes
- fixed newbie bug: DON'T EVER USE STATIC VARIABLES WHEN YOU'RE NOT ABSOLUTELY SURE WHAT YOU'RE DOING, Leif *slap* ;)
I hope I didn't break the src now...
2003-03-10 21:30:00 +00:00
Christian Schaller
222eaddcc7 Complete the move of the RTP plugin
Original commit message from CVS:
Complete the move of the RTP plugin
2003-03-02 10:16:24 +00:00
Leif Johnson
20a9403fbf + alsasrc compiles and runs in "alsasrc ! fakesink" and "alsasrc ! osssink" pipelines. seems to have a 100% cpu issue...
Original commit message from CVS:
+ alsasrc compiles and runs in "alsasrc ! fakesink" and "alsasrc ! osssink"
pipelines. seems to have a 100% cpu issue at the moment.
2003-02-27 23:13:22 +00:00
Benjamin Otte
1516bb3f58 bugfixes found while testing:
Original commit message from CVS:
bugfixes found while testing:
- return after 1 iteration, don't loop for ever
- caps nego: only parse endianness when necessary
- caps nego: make mu law and a law work
- caps nego: make float work
- call right function when going from PAUSED to PLAYING
- stupid error in request_new_pad
2003-02-27 22:33:01 +00:00
Christian Schaller
d410130574 add FreeBSD patches from Andrew Turner and add missing ivorbis m4 to cvs, also disable ivorbis plugin as the test mis...
Original commit message from CVS:
add FreeBSD patches from Andrew Turner and add missing ivorbis m4 to cvs, also disable ivorbis plugin as the test mistakes ordinary vorbis for tremor
2003-02-23 19:58:50 +00:00
Christian Schaller
6c1b7a788f merge integer based Tremor vorbis plugin
Original commit message from CVS:
merge integer based Tremor vorbis plugin
2003-02-23 17:35:35 +00:00
Colin Walters
5120331774 New functions.
Original commit message from CVS:
(unicodify, gst_gnomevfssrc_unicodify): New functions.
(audiocast_thread_run): Use them.  Remove redundant if from
"if (foo) g_free (foo);" bits.  Change fprintf to g_print.
(gst_gnomevfssrc_received_headers_callback): Ditto.
(gst_gnomevfssrc_get_icy_metadata): Ditto.
2003-02-15 04:55:04 +00:00
Thomas Vander Stichele
2c30291763 committing fixes before deleting all of my gstreamer cvs to make room for music for the skiing trip, yay !
Original commit message from CVS:
committing fixes before deleting all of my gstreamer cvs to make room for
music for the skiing trip, yay !
2003-02-14 14:22:05 +00:00
Benjamin Otte
730ff79841 fixing alsa step 2: complete rewrite of data transfer. The whole stuff is clean enough to go from there now.
Original commit message from CVS:
fixing alsa step 2: complete rewrite of data transfer. The whole stuff is clean enough to go from there now.
License change to LGPL, since no copied code is left now.
Missing:
- alsasrc
- resetting format
- corner cases
- testsuite
2003-02-09 22:47:34 +00:00
Ronald S. Bultje
2534ded87b Will the who-ever it is that writes gcc-2.95-incompatible code please stop that? Some of us don't use C99 yet ;)
Original commit message from CVS:
Will the who-ever it is that writes gcc-2.95-incompatible code please stop that? Some of us don't use C99 yet ;)
2003-02-07 21:55:43 +00:00
Colin Walters
44f96d01be Port all the fixes from BRANCH-GSTREAMER-0_6.
Original commit message from CVS:
Port all the fixes from BRANCH-GSTREAMER-0_6.
2003-02-07 01:47:58 +00:00
Wim Taymans
54341cbe3b Fix compile error
Original commit message from CVS:
Fix compile error
Add some more debug info
2003-02-02 22:05:53 +00:00
David Schleef
0a1d9ddd6a Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Original commit message from CVS:
Change %lld, %llu to G_G[U]INT64_FORMAT globally.  Fix bad pointer->integer
conversion.
2003-02-02 05:26:29 +00:00
Zeeshan Ali
02b97c7b22 The first attempt to support MAS. Dont expect it to work :)
Original commit message from CVS:
The first attempt to support MAS. Dont expect it to work :)
2003-01-30 20:24:25 +00:00
Benjamin Otte
59f2a30f72 cleaning up alsa, step 1: cleaning up caps parsing/setting and templates
Original commit message from CVS:
cleaning up alsa, step 1: cleaning up caps parsing/setting and templates
- gst-launch ... ! spider ! alsasink works now
- alsasrc definitely does not work
2003-01-30 18:30:30 +00:00
Leif Johnson
f032898326 + removed the access_addr crap from GstAlsaPad ... just use this->access_addr[channel] instead + completely reorganiz...
Original commit message from CVS:
+ removed the access_addr crap from GstAlsaPad ... just use
this->access_addr[channel] instead
+ completely reorganized and reindented code
+ removed the gst_alsa_sink_silence_on_channel function, needs to be completely
redone anyway
+ got alsasink to work on my machine finally ! yay !
2003-01-27 12:59:24 +00:00
Colin Walters
27e205b313 Don't make a size request when in iradio mode.
Original commit message from CVS:
(gst_gnomevfssrc_open_file): Don't make a size request when in iradio mode.
2003-01-25 23:20:36 +00:00
Benjamin Otte
3d78da5dc2 bugfixing:
Original commit message from CVS:
bugfixing:
- Fix for bug 93479
- Fix for bug 103659
- Did not set interleaved/non-interleaved correctly
- Changed g_print to DEBUG to disable unwanted output
Alsa is still not really useful. Missing is for example:
- Support for Relinking in paused state (when going to next song in gst-player)
- A bug when using gst-launch filesrc ! spider ! alsasink
- Support for events
- Padtemplates exporting proper caps
- general cleanliness
K, back to work ;)
2003-01-25 21:32:01 +00:00
Leif Johnson
85a0755988 + fixing 100 % cpu usage bug (bug #103658) + cleaning up some of the FIXMEs, mostly bytestream stuff + changing loop ...
Original commit message from CVS:
+ fixing 100 % cpu usage bug (bug #103658)
+ cleaning up some of the FIXMEs, mostly bytestream stuff
+ changing loop to use snd_pcm_wait instead of that poll business
2003-01-19 23:23:30 +00:00
Wim Taymans
dc7a0dc712 Slightly better read function
Original commit message from CVS:
Slightly better read function
2003-01-19 20:11:13 +00:00
Christian Schaller
f18d6d3825 commit Leif's alsa patch, it actually makes Alsa work better
Original commit message from CVS:
commit Leif's alsa patch, it actually makes Alsa work better
2003-01-16 11:25:15 +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
742e4fcec5 fix typo
Original commit message from CVS:
fix typo
2003-01-02 09:00:20 +00:00
Iain Holmes
e666edcc9a Add indexing
Original commit message from CVS:
Add indexing
Don't set the speed on the cdparanoia object until the open
2003-01-01 23:57:41 +00:00
Wim Taymans
12bd93773c Fix plugins for new query API
Original commit message from CVS:
Fix plugins for new query API
2002-12-30 17:53:18 +00:00
Christian Schaller
a219deee1f apply Jeroens patch to move us to mpeg2dec 0.3.1, also update REQ file and spec file.
Original commit message from CVS:
apply Jeroens patch to move us to mpeg2dec 0.3.1, also update REQ file and spec file.
2002-12-15 21:48:33 +00:00
Christian Schaller
79da0dd437 do not install man page
Original commit message from CVS:
do not install man page
2002-12-12 10:28:39 +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
Christian Schaller
8b5e2c2cbc fix some disting and rpm building issues
Original commit message from CVS:
fix some disting and rpm building issues
2002-11-28 12:58:38 +00:00
Christian Schaller
1c7de6baed fix some directories left out of dist
Original commit message from CVS:
fix some directories left out of dist
2002-11-27 21:25:11 +00:00
Wim Taymans
9d9f4e73e5 Removed properties that are better queried.
Original commit message from CVS:
Removed properties that are better queried.
2002-11-27 21:07:17 +00:00
Thomas Vander Stichele
98d8edab26 not sure what I did wrong but this should fix it hopefully
Original commit message from CVS:
not sure what I did wrong but this should fix it hopefully
2002-11-27 19:58:21 +00:00
Thomas Vander Stichele
803632635c flac debug cleanup m4 for ffmpeg
Original commit message from CVS:
flac debug cleanup
m4 for ffmpeg
2002-11-26 14:51:34 +00:00
Colin Walters
4c7c8a02e8 Test for url in correct variable.
Original commit message from CVS:
Test for url in correct variable.
2002-11-25 16:36:11 +00:00
Wim Taymans
8557496cae small fix
Original commit message from CVS:
small fix
2002-11-20 22:56:26 +00:00
Thomas Vander Stichele
ec309fea67 LIBPNG going in
Original commit message from CVS:
LIBPNG going in
2002-11-18 22:30:12 +00:00
Wim Taymans
f0ceb74eb2 use the rate of the logical stream to calculate duration instead of current rate.
Original commit message from CVS:
use the rate of the logical stream to calculate duration instead
of current rate.
2002-11-12 20:56:13 +00:00
Thomas Vander Stichele
dc446a0fa1 debug info
Original commit message from CVS:
debug info
2002-11-11 14:06:31 +00:00
Thomas Vander Stichele
b7cd417797 some debug output
Original commit message from CVS:
some debug output
2002-11-10 14:37:29 +00:00
Thomas Vander Stichele
76164a4be8 this is how we want to do this in the future hopefully ;)
Original commit message from CVS:
this is how we want to do this in the future hopefully ;)
2002-11-10 00:38:57 +00:00
Thomas Vander Stichele
c71c3316cf use tags as well
Original commit message from CVS:
use tags as  well
2002-11-09 18:34:48 +00:00
Wim Taymans
00b21146ed Removed silly debug printf
Original commit message from CVS:
Removed silly debug printf
2002-11-02 14:39:59 +00:00
Wim Taymans
5821ffafd8 lots of metadata/query/seeking updates
Original commit message from CVS:
lots of metadata/query/seeking updates
2002-11-02 13:48:08 +00:00
David I. Lehn
cc74679be5 #include time.h for time()
Original commit message from CVS:
#include time.h for time()
2002-11-02 08:07:22 +00:00
Wim Taymans
f82e92096c Small fixes, added more query types
Original commit message from CVS:
Small fixes, added more query types
2002-11-01 17:06:08 +00:00
Wim Taymans
f97069b4dc More seeking and query/convert stuff, it's getting pretty complete now
Original commit message from CVS:
More seeking and query/convert stuff, it's getting pretty complete
now
2002-11-01 00:40:15 +00:00
Wim Taymans
5207b79805 formatting cleanups convert more stuff to the generic seeking/convert/query interface
Original commit message from CVS:
formatting cleanups
convert more stuff to the generic seeking/convert/query interface
2002-10-31 00:06:48 +00:00
Wim Taymans
f5f94ecf02 Really remove vorbisdec so it can register again
Original commit message from CVS:
Really remove vorbisdec so it can register again
2002-10-30 20:30:58 +00:00
Thomas Vander Stichele
53fdee3891 deprecating vorbisdec
Original commit message from CVS:
deprecating vorbisdec
2002-10-29 22:55:52 +00:00
Thomas Vander Stichele
8984e091f5 Uraeus : how much license fields do you think you missed ? ;)
Original commit message from CVS:
Uraeus : how much license fields do you think you missed ? ;)
This ought to be fixed for the release
2002-10-29 14:30:33 +00:00
Christian Schaller
9e683175b3 fixed shout2 building
Original commit message from CVS:
fixed shout2 building
2002-10-29 12:02:31 +00:00
Thomas Vander Stichele
a88782e66b this patch implements metadata the wtay way.
Original commit message from CVS:
this patch implements metadata the wtay way.
some other stuff I still need to clean up to make it work well.
test it with
gst-launch filesrc location=... ! vorbisfile
2002-10-29 02:05:37 +00:00
Thomas Vander Stichele
b96b8a0815 standardize samplerate
Original commit message from CVS:
standardize samplerate
2002-10-27 15:58:03 +00:00
Wim Taymans
c22baccb85 Make sure to flush the header
Original commit message from CVS:
Make sure to flush the header
2002-10-20 22:27:53 +00:00
Wim Taymans
201c4a698e Don't push on unusable pads
Original commit message from CVS:
Don't push on unusable pads
2002-10-20 17:27:51 +00:00
Wim Taymans
168b9de977 - Implement queries and convert functions for vorbisenc + lots of cleanups/improvements
Original commit message from CVS:
- Implement queries and convert functions for vorbisenc + lots of
cleanups/improvements
- catch negotiation errors in vorbisfile
2002-10-20 17:11:10 +00:00
Wim Taymans
2809d5864a Added bitrate control and metadata
Original commit message from CVS:
Added bitrate control and metadata
2002-10-20 01:55:28 +00:00