Commit graph

1285 commits

Author SHA1 Message Date
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
Ronald S. Bultje
5528abe7af gst/qtdemux/qtdemux.*: Bitch. Also known as seeking, querying & co.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event),
(gst_qtdemux_handle_sink_event), (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (qtdemux_dump_mvhd),
(qtdemux_parse_trak):
* gst/qtdemux/qtdemux.h:
Bitch. Also known as seeking, querying & co.
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/oss/gstosssink.h:
Resyncing is for weenies, this hack is no longer needed and was
broken anyway (since it - unintendedly - always leaves resync to
TRUE).
2004-06-05 18:50:47 +00:00
Andrew Turner
d95fa9f8e8 gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD)
Original commit message from CVS:
* gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD)
* gst/tcp/gsttcpclientsrc.h: idem
- define MSG_NOSIGNAL if not done
- include unistd.h for off_t
(fixes #143749)
patch by Andrew Turner <zxombie@hotpop.com>
2004-06-05 15:40:10 +00:00
Benjamin Otte
4455243d07 check for qt's moc preprocessor explicitly and use it
Original commit message from CVS:
* configure.ac:
* ext/kio/Makefile.am:
check for qt's moc preprocessor explicitly and use it
2004-06-05 14:34:02 +00:00
Thomas Vander Stichele
b5580efd05 don't get sigpipe on send
Original commit message from CVS:
don't get sigpipe on send
2004-06-03 15:34:07 +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
276f819c74 real fix thise time : don't use glib 2.4 specific defines
Original commit message from CVS:
real fix thise time : don't use glib 2.4 specific defines
2004-06-02 12:01:52 +00:00
Wim Taymans
e4725fb337 gst/multipart/multipartmux.c: Oops
Original commit message from CVS:
reviewed by: Johan
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_loop):
Oops
2004-06-02 11:49:20 +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
Wim Taymans
d95db89ae8 gst/multipart/multipartmux.c: Added configurable boundary specifier, added the value as a caps field as well.
Original commit message from CVS:
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_init), (gst_multipart_mux_loop),
(gst_multipart_mux_get_property), (gst_multipart_mux_set_property),
(gst_multipart_mux_change_state):
Added configurable boundary specifier, added the value as a
caps field as well.
2004-06-02 11:35:20 +00:00
Christophe Fergeau
46c7f43c32 ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment buffer since libflac doesn't expect it (reports a ...
Original commit message from CVS:
2004-06-01  Christophe Fergeau  <teuf@gnome.org>

* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
buffer since libflac doesn't expect it (reports a sync error when
it encounters that)
2004-06-01 20:23:12 +00:00
Owen Fraser-Green
46616b104b Added property accessors for mixertrack and mixeroptions.
Original commit message from CVS:
Added property accessors for mixertrack and mixeroptions.
2004-06-01 20:08:52 +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
Thomas Vander Stichele
7fc0c37a08 leniate musicbrainz check; check for v4l-conf before calling it
Original commit message from CVS:
leniate musicbrainz check; check for v4l-conf before calling it
2004-06-01 12:10:37 +00:00
Thomas Vander Stichele
31e3fb26a7 more readable g_error
Original commit message from CVS:
more readable g_error
2004-06-01 08:51:55 +00:00
Stéphane Loeuillet
f47ad86b73 gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make the conversion between internal frequency...
Original commit message from CVS:
* gst-libs/gst/tuner/tunerchannel.h:
- add a freq_multiplicator field to make the conversion
between internal frequency unit and Hz
* sys/v4l/gstv4lelement.c:
* sys/v4l2/gstv4l2element.c:
- change default video device to /dev/video0
* sys/v4l/v4l_calls.c:
* sys/v4l2/v4l2_calls.c:
- we only expose frequency to the user in Hz instead of
bastard v4lX unit (either 62.5kHz or 62.5Hz)
2004-05-31 14:16:54 +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
Wim Taymans
eb3557adbf A plugin to add an alpha channel to I420 video. Can optionally do chroma keying.
Original commit message from CVS:
* configure.ac:
* gst/alpha/Makefile.am:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_get_type), (gst_alpha_base_init),
(gst_alpha_class_init), (gst_alpha_init), (gst_alpha_set_property),
(gst_alpha_get_property), (gst_alpha_sink_link), (gst_alpha_add),
(gst_alpha_chroma_key), (gst_alpha_chain),
(gst_alpha_change_state), (plugin_init):
A plugin to add an alpha channel to I420 video. Can optionally do
chroma keying.
* gst/multipart/Makefile.am:
* gst/multipart/multipart.c: (plugin_init):
* gst/multipart/multipartdemux.c: (gst_multipart_demux_base_init),
(gst_multipart_demux_class_init), (gst_multipart_demux_init),
(gst_multipart_demux_finalize), (gst_multipart_demux_handle_event),
(gst_multipart_find_pad_by_mime), (gst_multipart_demux_chain),
(gst_multipart_demux_change_state),
(gst_multipart_demux_plugin_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_get_type),
(gst_multipart_mux_base_init), (gst_multipart_mux_class_init),
(gst_multipart_mux_get_sink_event_masks), (gst_multipart_mux_init),
(gst_multipart_mux_sinkconnect), (gst_multipart_mux_pad_link),
(gst_multipart_mux_pad_unlink),
(gst_multipart_mux_request_new_pad),
(gst_multipart_mux_handle_src_event),
(gst_multipart_mux_next_buffer), (gst_multipart_mux_compare_pads),
(gst_multipart_mux_queue_pads), (gst_multipart_mux_loop),
(gst_multipart_mux_get_property), (gst_multipart_mux_set_property),
(gst_multipart_mux_change_state), (gst_multipart_mux_plugin_init):
A Multipart demuxer/muxer. Not sure if it violates specs. Used to
send multipart jpeg images to a browser.
* gst/videobox/Makefile.am:
* gst/videobox/README:
* gst/videobox/gstvideobox.c: (gst_video_box_fill_get_type),
(gst_video_box_get_type), (gst_video_box_base_init),
(gst_video_box_class_init), (gst_video_box_init),
(gst_video_box_set_property), (gst_video_box_get_property),
(gst_video_box_sink_link), (gst_video_box_i420),
(gst_video_box_ayuv), (gst_video_box_chain),
(gst_video_box_change_state), (plugin_init):
Crops or adds borders around an image. can do alpha channel
borders as well.
* gst/videomixer/Makefile.am:
* gst/videomixer/README:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_base_init), (gst_videomixer_pad_class_init),
(gst_videomixer_pad_get_sink_event_masks),
(gst_videomixer_pad_get_property),
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sinkconnect), (gst_videomixer_pad_link),
(gst_videomixer_pad_unlink), (gst_videomixer_pad_init),
(gst_video_mixer_background_get_type), (gst_videomixer_get_type),
(gst_videomixer_base_init), (gst_videomixer_class_init),
(gst_videomixer_init), (gst_videomixer_request_new_pad),
(gst_videomixer_handle_src_event),
(gst_videomixer_blend_ayuv_i420), (gst_videomixer_fill_checker),
(gst_videomixer_fill_color), (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues),
(gst_videomixer_loop), (gst_videomixer_get_property),
(gst_videomixer_set_property), (gst_videomixer_change_state),
(plugin_init):
Generic video mixer plugin, can handle multiple inputs all with
different framerates and video sizes. Is fully alpha channel
aware.
2004-05-28 18:01:33 +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
b95a7dca6a gst/audioconvert/gstaudioconvert.c: fixate nicely even when the peer is not negotiating
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
fixate nicely even when the peer is not negotiating
2004-05-26 14:47:23 +00:00
Benjamin Otte
4f845c50ce gst/audioconvert/gstaudioconvert.c: make sure we don't allow depth > width
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps):
make sure we don't allow depth > width
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
fixate endianness to G_BYTE_ORDER as default
* gst/audioscale/gstaudioscale.c:
we don't handle another endianness as host-endianness
2004-05-25 20:14:10 +00:00
David Schleef
7e27333a2b gst/ffmpegcolorspace/mem.c: malloc() is in stdlib.h, not malloc.h
Original commit message from CVS:
* gst/ffmpegcolorspace/mem.c:  malloc() is in stdlib.h, not malloc.h
2004-05-25 18:38:39 +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
Thomas Vander Stichele
72f03b689d use GST_ENABLE_NEW
Original commit message from CVS:
use GST_ENABLE_NEW
2004-05-24 16:36:54 +00:00
Benjamin Otte
75375e26de gst-libs/gst/resample/private.h: don't use optimizations that are #if 0'ed
Original commit message from CVS:
* gst-libs/gst/resample/private.h:
don't use optimizations that are #if 0'ed
2004-05-24 16:22:12 +00:00
Wim Taymans
c404f962ce gst/avi/gstavidemux.c: Fix potential division by zero error and hopefully get the position query right to get correct...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query):
Fix potential division by zero error and hopefully get
the position query right to get correct timestamps on avi
audio.
2004-05-24 15:24:04 +00:00
Wim Taymans
30c85388fa gst/videoscale/videoscale.c: Fix the scaling algorithm and avoid a buffer overflow. removed the while loop in the sca...
Original commit message from CVS:
* gst/videoscale/videoscale.c: (gst_videoscale_scale_nearest),
(gst_videoscale_scale_nearest_str2),
(gst_videoscale_scale_nearest_str4),
(gst_videoscale_scale_nearest_32bit),
(gst_videoscale_scale_nearest_24bit),
(gst_videoscale_scale_nearest_16bit):
Fix the scaling algorithm and avoid a buffer overflow.
removed the while loop in the scaling function as it
was used for point sampling only.
2004-05-24 14:48:54 +00:00
Benjamin Otte
fd3b7164a7 ext/mad/gstid3tag.c: lots of fixes to make id3mux work and id3demux work correctly
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
(gst_id3_tag_class_init), (gst_id3_tag_init),
(gst_id3_tag_set_property), (gst_id3_tag_get_tag_to_render),
(gst_id3_tag_handle_event), (gst_id3_tag_do_caps_nego),
(gst_id3_tag_send_tag_event):
lots of fixes to make id3mux work and id3demux work correctly
2004-05-24 14:12:33 +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
Thomas Vander Stichele
279760c082 woohoo, KDE here I come
Original commit message from CVS:
woohoo, KDE here I come
2004-05-21 14:49:29 +00:00
Stéphane Loeuillet
cebeb181ab gst/cdxaparse/gstcdxaparse.*: some renaming add some checks/sanity prepare for seek addition
Original commit message from CVS:
* gst/cdxaparse/gstcdxaparse.c:
* gst/cdxaparse/gstcdxaparse.h:
some renaming
add some checks/sanity
prepare for seek addition

* sys/sunaudio/gstsunaudio.c:
remove exported dupe init function
2004-05-21 14:09:51 +00:00
Jan Schmidt
eb43a73244 ext/dv/gstdvdec.c: Fix format conversion and position querying.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_get_formats),
(gst_dvdec_src_convert), (gst_dvdec_sink_convert):
Fix format conversion and position querying.
* gst/debug/progressreport.c: (gst_progressreport_report):
Don't output a bogus total value that we didn't query.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Always set XV_AUTOPAINT_COLORKEY to true. Fixes xvimagesink showing
only a blank window after xine has been used.
2004-05-21 13:28:24 +00:00
Thomas Vander Stichele
182d4ec6bf sync with upstream
Original commit message from CVS:
sync with upstream
2004-05-21 11:20:49 +00:00
Stéphane Loeuillet
8cb0dce19d forgot to update the Changelog for the past two days, bad me, bad
Original commit message from CVS:
forgot to update the Changelog for the past two days, bad me, bad
2004-05-20 23:00:14 +00:00
David Schleef
549b70ba3c configure.ac: Minor cosmetic change to convince the buildbot to reautogen.
Original commit message from CVS:
* configure.ac: Minor cosmetic change to convince the buildbot to
reautogen.
* sys/sunaudio/gstsunaudio.c: (gst_sunaudiosink_class_init),
(gst_sunaudiosink_init), (gst_sunaudiosink_getcaps),
(gst_sunaudiosink_pad_link), (gst_sunaudiosink_chain),
(gst_sunaudiosink_setparams), (gst_sunaudiosink_open),
(gst_sunaudiosink_close), (gst_sunaudiosink_change_state),
(gst_sunaudiosink_set_property), (gst_sunaudiosink_get_property):
More hacking.  Plays audio now.
2004-05-20 21:53:49 +00:00
David Schleef
38088fa100 Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
2004-05-20 19:56:27 +00:00
David Schleef
058cec0657 sys/osxaudio/Makefile.am: New OS X audio plugin by Zaheer Merali
Original commit message from CVS:
* sys/osxaudio/Makefile.am:  New OS X audio plugin by Zaheer Merali
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudioelement.h:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.c:
* sys/osxaudio/gstosxaudiosrc.h:
2004-05-20 19:45:13 +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
Thomas Vander Stichele
253fc51655 add new tcp elements
Original commit message from CVS:
add new tcp elements
2004-05-20 10:15:31 +00:00
Wim Taymans
388a540bad gst/law/mulaw-conversion.c: Fix overflow bug in ulaw encoding.
Original commit message from CVS:
* gst/law/mulaw-conversion.c: (mulaw_encode):
Fix overflow bug in ulaw encoding.
2004-05-19 20:04:10 +00:00
Benjamin Otte
1398153c55 ext/mad/gstmad.c: don't unref the event twice
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_handle_event):
don't unref the event twice
2004-05-19 19:34:12 +00:00
Benjamin Otte
e9f5015f97 configure.ac: remove -Wno-sign-compare
Original commit message from CVS:
* configure.ac:
remove -Wno-sign-compare
2004-05-19 16:10:22 +00:00
Benjamin Otte
83137dd758 configure.ac: remove -DG_DISABLE_DEPRECATED. It's not usable without workarounds if you want to work against glib 2.2...
Original commit message from CVS:
* configure.ac:
remove -DG_DISABLE_DEPRECATED. It's not usable without workarounds
if you want to work against glib 2.2 and 2.4
2004-05-19 15:26:27 +00:00
Thomas Vander Stichele
79d7ddc550 gsttcp -> gsttcpplugin
Original commit message from CVS:
gsttcp -> gsttcpplugin
2004-05-19 15:07:44 +00:00
Benjamin Otte
752e2cc3da gst/debug/tests.c: fix segfault on gst-inspect
Original commit message from CVS:
* gst/debug/tests.c: (md5_get_value):
fix segfault on gst-inspect
2004-05-19 14:59:25 +00:00
Benjamin Otte
1a152938c8 gst/debug/: add new extensible and configurable testing element. Current tests include buffer count, stream length, t...
Original commit message from CVS:
* gst/debug/testplugin.c:
* gst/debug/tests.c:
* gst/debug/tests.h:
add new extensible and configurable testing element. Current tests
include buffer count, stream length, timestamp/duration matching and
md5.
* gst/debug/Makefile.am:
* gst/debug/gstdebug.c: (plugin_init):
add infrastructure for new element
2004-05-19 14:15:41 +00:00
Johan Dahlin
926e263602 ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the array. Fixes gst-inspect segfault on ppc.
Original commit message from CVS:
* ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper
ending of the array. Fixes gst-inspect segfault on ppc.
2004-05-19 09:21:43 +00:00
David Schleef
63469508c4 gst/ffmpegcolorspace/imgconvert.c: Fixes for warnings (bugs, actually) noticed by gcc but not forte.
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (img_convert): Fixes for
warnings (bugs, actually) noticed by gcc but not forte.
2004-05-19 06:47:58 +00:00
David Schleef
7f52a0ce8f sys/sunaudio/: New sunaudiosink
Original commit message from CVS:
* sys/sunaudio/Makefile.am:
* sys/sunaudio/gstsunaudio.c: New sunaudiosink
2004-05-19 06:28:07 +00:00
David Moore
46855951b1 gst/qtdemux/qtdemux.c: Patch from dcm@acm.org (David Moore) to allow qtdemux to use non-seekable streams. (bug #142272)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header):  Patch from dcm@acm.org (David Moore)
to allow qtdemux to use non-seekable streams. (bug #142272)
2004-05-19 06:23:37 +00:00
David Schleef
0ab84afae6 gst-libs/gst/resample/resample.c: Remove use of static temporary buffer. This code was obviously not supposed to las...
Original commit message from CVS:
* gst-libs/gst/resample/resample.c: (gst_resample_sinc_ft_s16),
(gst_resample_sinc_ft_float): Remove use of static temporary
buffer.  This code was obviously not supposed to last long, but
it's stuck in our ABI, so it required a little hack to make it
ABI-compatible.  Fixes #142585.
* gst-libs/gst/resample/resample.h: same.
2004-05-19 06:14:06 +00:00
David Schleef
c95dd78c2b configure.ac: Add sunaudio
Original commit message from CVS:
* configure.ac: Add sunaudio
* examples/Makefile.am: make gstplay depend on gconf
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Remove c99-isms
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette),
(convert_table_lookup), (img_convert): remove c99-isms
* gst/ffmpegcolorspace/imgconvert_template.h: make a constant
unsigned, to fix a warning on Solaris
* gst/mpeg1sys/systems.c: bcopy->memcpy
* gst/rtjpeg/RTjpeg.c: (RTjpeg_yuvrgb8): bcopy->memcpy
* sys/Makefile.am: Add sunaudio
2004-05-19 06:10:49 +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
Stéphane Loeuillet
754cf8b99b gst/asfdemux/: - fix ASF_OBJ_PADDING guid
Original commit message from CVS:
* gst/asfdemux/asfheaders.c :
* gst/asfdemux/asfheaders.h :
* gst/asfdemux/gstasfdemux.c :
- fix ASF_OBJ_PADDING guid
- add 3 new object guids (language list, metadata,
extended stream properties)
- add a function to parse extended header objects
2004-05-18 01:38:48 +00:00
Benjamin Otte
091c9e4e37 sys/oss/gstosselement.c: remove leftover debugging g_print
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms):
remove leftover debugging g_print
2004-05-18 01:17:49 +00:00
Ronald S. Bultje
2911e37634 ext/mad/gstmad.c: Fix for when the first format in a discont event is not a byte-based one. Should fix #137710.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_handle_event):
Fix for when the first format in a discont event is not a
byte-based one. Should fix #137710.
2004-05-18 00:25:09 +00:00
Stéphane Loeuillet
0878263de0 m4/a52.m4: fix compilation with -Wall -Werror
Original commit message from CVS:
* m4/a52.m4 : fix compilation with -Wall -Werror
* m4/libfame.m4 : idem
* m4/libmikmod.m4 : idem
2004-05-18 00:13:45 +00:00
Benjamin Otte
60d78a38c3 gst/asfdemux/gstasfdemux.c: signal the new tags before giving up the reference
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
signal the new tags before giving up the reference
2004-05-17 17:59:45 +00:00
Benjamin Otte
22dcc422e6 whoops, I always forget to note the bug
Original commit message from CVS:
whoops, I always forget to note the bug
2004-05-17 17:33:07 +00:00
Benjamin Otte
b3ac0ec601 ext/shout2/gstshout2.c: Guimond, fixes #142432)
Original commit message from CVS:
* ext/shout2/gstshout2.c:
use application/ogg instead of application/x-ogg (patch by Patrick
Guimond, fixes #142432)
* sys/oss/gstosselement.c: (gst_osselement_reset),
(gst_osselement_sync_parms):
don't set fragment size unless specified
2004-05-17 17:31:47 +00:00
Stéphane Loeuillet
2d0bac038b configure.ac: fix compilation of v4l2src with "-Wall -Werror" fixes #142664
Original commit message from CVS:
* configure.ac : fix compilation of v4l2src with "-Wall -Werror"
fixes #142664
2004-05-17 16:58:24 +00:00
Benjamin Otte
064f3dbadc whoops, checked in too much
Original commit message from CVS:
whoops, checked in too much
2004-05-17 00:38:59 +00:00
David Moore
040213e475 compute offsets correctly for internal buffers so timestamps are set correctly when we can't seek. Also handle cases ...
Original commit message from CVS:
* autogen.sh:
* configure.ac:
* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
compute offsets correctly for internal buffers so timestamps are set
correctly when we can't seek. Also handle cases where there are no
offsets. (based on a patch by David Moore, fixes #142507)
2004-05-17 00:25:30 +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
Benjamin Otte
17f0908981 gst/asfdemux/gstasfdemux.c: Hi, I'm a memleak
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Hi, I'm a memleak
2004-05-16 23:29:09 +00:00
Stéphane Loeuillet
ccae329668 gst/asfdemux/gstasfdemux.c: - fix a mem leak and always propagate tags
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
- fix a mem leak and always propagate tags
- add WMV3 to known video codecs (but no decoder yet)
- replace "surplus data" at end of audio header for what
it is : codec specific data
- fix a typo
2004-05-16 22:18:11 +00:00
Ronald S. Bultje
6e628ecf6d gst-libs/gst/audio/audioclock.c: Fix wrong return type (#142205).
Original commit message from CVS:
reviewed by: Ronald Bultje  <rbultje@ronald.bitfreak.net>
* gst-libs/gst/audio/audioclock.c:
Fix wrong return type (#142205).
2004-05-16 20:55:38 +00:00
Ronald S. Bultje
bcf7d51448 ext/mad/gstmad.c: Ignore CRCs by default (fixes #142566).
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_class_init), (gst_mad_init):
Ignore CRCs by default (fixes #142566).
2004-05-16 20:50:13 +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
Ronald S. Bultje
49c96eeb84 gst-libs/gst/riff/riff-read.c: Don't touch events after not owning them anymore.
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek):
Don't touch events after not owning them anymore.
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_fmt), (gst_wavparse_other),
(gst_wavparse_handle_seek), (gst_wavparse_loop),
(gst_wavparse_pad_convert), (gst_wavparse_pad_query),
(gst_wavparse_srcpad_event):
* gst/wavparse/gstwavparse.h:
Add seeking, fix querying.
2004-05-16 20:06:35 +00:00
Stéphane Loeuillet
6710f022b2 gst/asfdemux/gstasfdemux.c: - process comments even if they don't end with \0\0 g_convert would ignore them if presen...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
- process comments even if they don't end with \0\0
g_convert would ignore them if present and works well without them
2004-05-16 17:10:29 +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
4c347cf61a forgot the bugnumber I fixed again...
Original commit message from CVS:
forgot the bugnumber I fixed again...
2004-05-16 16:24:06 +00:00
Benjamin Otte
e3566aeebe gst/asfdemux/gstasfdemux.c: don't write to memory we might not write to - g_convert does that for us anyway conmment ...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
don't write to memory we might not write to - g_convert does that
for us anyway
(gst_asf_demux_audio_caps):
conmment out gst_util_dump_mem
2004-05-16 16:22:42 +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
0640f43362 add note about bug
Original commit message from CVS:
add note about bug
2004-05-16 02:53:11 +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
4fc66c9509 Add new files for gdk_pixbuf based scaler
Original commit message from CVS:
Add new files for gdk_pixbuf based scaler
2004-05-15 13:16:40 +00:00
Jan Schmidt
a0963dae3c Oops, forgot the Changelog :)
Original commit message from CVS:
Oops, forgot the Changelog :)
2004-05-15 12:16:58 +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
David Schleef
8df8afe28b ext/esd/esdsink.c: Fix crash when ESD is killed while we're playing.
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_chain): Fix crash when ESD
is killed while we're playing.
* gst/qtdemux/qtdemux.c: (qtdemux_parse): call
gst_element_no_more_pads().
2004-05-14 19:26:34 +00:00
Stéphane Loeuillet
7223edd775 gst-libs/gst/riff/riff-read.c: - fix INFO tag extraction in RIFF/AVI files because gst_event_unref (event) also freed...
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c :
- fix INFO tag extraction in RIFF/AVI files
because gst_event_unref (event) also freed taglist
- avoid a mem leak
2004-05-14 17:23:08 +00:00
Stéphane Loeuillet
3bb1183c19 ext/mad/gstid3tag.c: move from "Codec/(Dem/M)uxer" to "Codec/(Dem/M)uxer/Audio"
Original commit message from CVS:
* ext/mad/gstid3tag.c : move from "Codec/(Dem/M)uxer" to "Codec/(Dem/M)uxer/Audio"
* gst/wavenc/gstwavenc.c : move from "Codec/Encoder/Audio" to "Codec/Muxer/Audio"

* gst/auparse/gstauparse.c :
- add code (commented for now) to support audio/x-adpcm on src pad
(we have no decoder for those layout yet)

* gst/cdxaparse/gstcdxaparse.c :
* gst/cdxaparse/gstcdxaparse.h :
- partial rewrite using RiffRead (ripped iain's wavparse code)

* gst/rtp/gstrtpL16enc.c : typo
* gst/rtp/gstrtpgsmenc.c : typo
2004-05-13 21:27:13 +00:00
Benjamin Otte
31f29234a4 configure.ac: check for exact version of libvisual, it's not supposed to be
Original commit message from CVS:
* configure.ac:
check for exact version of libvisual, it's not supposed to be
API/ABI stable yet
2004-05-13 20:21:39 +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
Jan Schmidt
616d9f6d9a Report which format was used for GST_FORMAT_DEFAULT in dvdec
Original commit message from CVS:
Report which format was used for GST_FORMAT_DEFAULT in dvdec
Add progressreport element for testing.
2004-05-13 11:32:42 +00:00
Thomas Vander Stichele
fb0e748c50 sys/v4l/: add more debugging send a discont at start
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_change_state):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4lmjpegsink_calls.c: (gst_v4lmjpegsink_playback_init):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_init):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init),
(gst_v4lsrc_grab_frame):
add more debugging
send a discont at start
2004-05-13 10:13:41 +00:00
Colin Walters
0349083d6d Avoid inflooping
Original commit message from CVS:
Avoid inflooping
2004-05-13 00:59:19 +00:00
Jan Schmidt
92db02143f ext/audiofile/gstafsrc.c: Remove old debug output
Original commit message from CVS:
* ext/audiofile/gstafsrc.c: (gst_afsrc_get):
Remove old debug output
* ext/dv/gstdvdec.c: (gst_dvdec_quality_get_type),
(gst_dvdec_class_init), (gst_dvdec_loop), (gst_dvdec_change_state),
(gst_dvdec_set_property), (gst_dvdec_get_property):
Change the quality setting to an enum, so it works from gst-launch
Don't renegotiate a non-linked pad. Allows audio only decoding.
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_getcaps),
(gst_deinterlace_link), (gst_deinterlace_init):
* gst/videodrop/gstvideodrop.c: (gst_videodrop_getcaps),
(gst_videodrop_link):
Some caps negotiation fixes
2004-05-12 14:53:57 +00:00
Stéphane Loeuillet
b3448b344a ext/tarkin/gsttarkin.c: - Change RANK from NONE to PRIMARY (decoder)
Original commit message from CVS:
* ext/tarkin/gsttarkin.c :
- Change RANK from NONE to PRIMARY (decoder)
* ext/gdk_pixbuf/gstgdkpixbuf.c :
- Change RANK from NONE to MARGINAL (decoder)
* ext/divx/gstdivxenc.c :
- Change RANK from PRIMARY to NONE (encoder/spider issue)
2004-05-12 10:19:19 +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
Stéphane Loeuillet
216e8fb07f gst/auparse/gstauparse.c: - Document all audio encoding we can encounter from Solaris 9 headers and libsndfile inform...
Original commit message from CVS:
* gst/auparse/gstauparse.c :
- Document all audio encoding we can encounter from Solaris 9
headers and libsndfile information.
- Increase max. rate from 48000 to 192000 (to match other elements)
- Don't try to play junk data between header and samples
2004-05-11 22:55:35 +00:00
Stéphane Loeuillet
0d95b0d8f9 gst/cdxaparse/gstcdxaparse.c: Add mpegversion to CAPS to make it link
Original commit message from CVS:
* gst/cdxaparse/gstcdxaparse.c :
Add mpegversion to CAPS to make it link
Rank is as GST_RANK_SECONDARY instead of NONE
2004-05-11 16:59:44 +00:00
Jeremy Simon
c3ea7c414d gst/asfdemux/gstasfdemux.c: Use codec_data property instead of flag1 and flag2 for wma
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Use codec_data property instead of flag1 and flag2 for wma
2004-05-11 16:25:03 +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
Ronald S. Bultje
9c92a958ec gst/asfdemux/gstasfdemux.c: Fix some odd cases and fix BE metadata parsing of unicode16 text.
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
Fix some odd cases and fix BE metadata parsing of unicode16 text.
2004-05-11 04:33:48 +00:00
Benjamin Otte
b22da0b4e2 gst/switch/gstswitch.c: whoever that was: DO NOT IMPORT PRIVATE SYMBOLS THAT ARE NOT IN
Original commit message from CVS:
* gst/switch/gstswitch.c: (gst_switch_release_pad),
(gst_switch_request_new_pad), (gst_switch_poll_sinkpads),
(gst_switch_loop), (gst_switch_get_type):
whoever that was: DO NOT IMPORT PRIVATE SYMBOLS THAT ARE NOT IN
HEADERS. Had to be said.
2004-05-11 03:56:19 +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
Ronald S. Bultje
494b419c60 gst/auparse/gstauparse.c: Hack around spider. Remove me some day please.
Original commit message from CVS:
* gst/auparse/gstauparse.c: (gst_auparse_class_init),
(gst_auparse_init), (gst_auparse_chain),
(gst_auparse_change_state):
Hack around spider. Remove me some day please.
2004-05-11 00:20:02 +00:00
Ronald S. Bultje
b9e332e13f gst/auparse/gstauparse.c: Fix for some uninitialized variables in previous patch, also makes it work. Fixes #142286 w...
Original commit message from CVS:
* gst/auparse/gstauparse.c: (gst_auparse_chain):
Fix for some uninitialized variables in previous patch, also
makes it work. Fixes #142286 while we're at it.
2004-05-11 00:07:57 +00:00
Stéphane Loeuillet
2800919549 gst/auparse/gstauparse.c: eee (32, 64) only unsupported formats are ADPCM/CCITT G.72x
Original commit message from CVS:
* gst/auparse/gstauparse.c:
fixes a-law, adds mu-law, linear pcm (8,16,24,32), ieee (32, 64)
only unsupported formats are ADPCM/CCITT G.72x
reviewed by Ronald
* gst-libs/gst/audio/audio.h:
adds 24bit depth to PCM (x-raw-int)
2004-05-10 23:55:17 +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
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
Jan Schmidt
0fde173414 Return the result of the parent state change call
Original commit message from CVS:
Return the result of the parent state change call
2004-05-10 12:19:02 +00:00
Stéphane Loeuillet
7b18553546 ext/a52dec/gsta52dec.c: mark audio/a52, audio/ac3 as deprecated in a comment
Original commit message from CVS:
* ext/a52dec/gsta52dec.c : mark audio/a52, audio/ac3 as deprecated in a comment
* gst/ac3parse/gstac3parse.c : audio/ac3 => audio/x-ac3
* gst/realmedia/rmdemux.c : audio/a52 => audio/x-ac3
2004-05-10 00:27:36 +00:00
Stéphane Loeuillet
ba7195e818 gst/law/alaw-decode.c: put audio/x-alaw on pads, instead of audio/x-mulaw
Original commit message from CVS:
* gst/law/alaw-decode.c : put audio/x-alaw on pads, instead of audio/x-mulaw
* gst/law/alaw-encode.c : (idem)
2004-05-09 22:56:56 +00:00
Stéphane Loeuillet
8bbaf7acbf gst/law/alaw.c: alawdec should be registered with type ALAWDEC, not ALAWENC
Original commit message from CVS:
* gst/law/alaw.c : alawdec should be registered with type ALAWDEC, not ALAWENC
2004-05-09 22:46:06 +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
7180b58bb3 gst-libs/gst/riff/: Fix for unaligned RIFF files (i.e. where all the chunks together in a LIST chunk are not of the s...
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
Fix for unaligned RIFF files (i.e. where all the chunks together
in a LIST chunk are not of the same size as the size given in
the LIST chunk header). Fixes several odd WAVE files. Also fix
ADPCM (block_align property) in audio, so that wavparse based
on this works now as it used to stand-alone.
2004-05-09 15:49:25 +00:00
Benjamin Otte
5dc93f5e7b ext/: \1/Codec, (fixes #142193)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/a52dec/gsta52dec.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c: (gst_faad_base_init):
* ext/ivorbis/vorbisfile.c:
* ext/lame/gstlame.c:
* ext/libfame/gstlibfame.c:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/sidplay/gstsiddec.cc:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
correct klasses. Mostly s,Codec/(Audio|Video),\1/Codec,
(fixes #142193)
2004-05-09 14:37:14 +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
5d568b25ce gst/wavparse/gstwavparse.c: make PAUSED=>READY=>PAUSED=READY work by not destroying NULL sourcepads
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_destroy_sourcepad),
(gst_wavparse_create_sourcepad):
make PAUSED=>READY=>PAUSED=READY work by not destroying NULL
sourcepads
2004-05-09 00:13:39 +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
Benjamin Otte
f79bab2955 gst/level/gstlevel.*: figure out if we're initialized directly instead of keeping a variable that's wrong in 90% of c...
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_link), (gst_level_chain),
(gst_level_change_state), (gst_level_init):
* gst/level/gstlevel.h:
figure out if we're initialized directly instead of keeping a
variable that's wrong in 90% of cases
don't initialize pads and then leak them and use a new unitialized
pad. (fixes #142084)
these were bugs so n00bish I didn't find them for an hour :/
2004-05-08 13:03:59 +00:00
Iain Holmes
935969b8c1 Rewrote wavparse to use riff-read instead of doing bytestream stuff by hand.
Original commit message from CVS:
Rewrote wavparse to use riff-read instead of doing bytestream stuff by hand.
Made some useful functions in riff-read non-static.
2004-05-08 00:33:39 +00:00
David Schleef
bcd67755b5 ext/faad/gstfaad.c: HACK to correct signed char assumption in faad.h.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_sinkconnect): HACK to correct
signed char assumption in faad.h.
2004-05-08 00:20:18 +00:00
Ronald S. Bultje
fbbf25b293 sys/v4l2/gstv4l2src.c:
Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps):
Missing break, detected by Daniel Gazard <daniel.gazard@free.fr>.
2004-05-07 23:47:00 +00:00
Colin Walters
9ecad5ee01 fix a number of memleaks
Original commit message from CVS:
fix a number of memleaks
2004-05-07 20:26:47 +00:00
Jan Schmidt
67757ba250 ext/dv/gstdvdec.c: Fix caps nego and pad templates. RGB mode caps should work now.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_video_link):
Fix caps nego and pad templates. RGB mode caps should
work now.
* ext/dvdnav/gst-dvd:
Move mpeg2dec inside the thread because otherwise the
queue rejects cap changes mid-stream
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_get_type),
(gst_mpeg2dec_flush_decoder):
For mpeg2dec > 0.4.0, call the flush function instead of
manually extracting all in-flight frames.
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_factory),
(gst_dv1394src_init), (gst_dv1394src_iso_receive):
Change mime type video/dv go video/x-dv to match the
rest of gst-plugins
2004-05-07 16:17:25 +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
Benjamin Otte
07974d8869 cvs commit: warning: file 'ChangeLog' seems to still contain conflict indicators
Original commit message from CVS:
cvs commit: warning: file 'ChangeLog' seems to still contain conflict indicators
2004-05-07 00:45:12 +00:00
Benjamin Otte
b581588127 ext/lame/gstlame.c: simplify
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
simplify
* ext/mad/gstmad.c: (gst_mad_handle_event):
fix event leak
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
be able to detect mp3 files < 4096 bytes
2004-05-07 00:43:50 +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
35eb307d93 ext/mpeg2enc/gstmpeg2enc.cc: Forward events first before deciding that negotiation was not performed.
Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc:
Forward events first before deciding that negotiation was
not performed.
2004-05-06 09:21:24 +00:00
Wim Taymans
6a07206b05 gst/wavenc/gstwavenc.c: First process the events before deciding that negotiation was not performed.
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain):
First process the events before deciding that negotiation
was not performed.
2004-05-06 09:14:28 +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
Thomas Vander Stichele
9dc7089430 ext/jpeg/gstjpegenc.c: fix DURATION on outgoing buffers
Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_chain):
fix DURATION on outgoing buffers
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
debug using time formats
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_sink_link):
windows with width/height 0 generate X errors, so don't allow them
2004-05-05 11:29:49 +00:00
Wim Taymans
97ca691d17 ext/mpeg2dec/gstmpeg2dec.*: removed the static pad template so that we can add the more accurate framerate value to t...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (src_templ),
(gst_mpeg2dec_base_init), (gst_mpeg2dec_init),
(gst_mpeg2dec_negotiate_format):
* ext/mpeg2dec/gstmpeg2dec.h:
removed the static pad template so that we can add the
more accurate framerate value to the caps.
2004-05-05 09:13:42 +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
Wim Taymans
4a5e4bd000 ext/mpeg2enc/gstmpeg2enc.cc: call the parent dispose function to avoid segfault on destroy.
Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc: (gst_mpeg2enc_dispose): call the
parent dispose function to avoid segfault on destroy.
2004-05-04 14:39:29 +00:00
Thomas Vander Stichele
8bb06eec5c sys/: clean up debugging caps also recreate xvimage when format has changed
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(plugin_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_sink_link):
clean up debugging caps
also recreate xvimage when format has changed
2004-05-04 14:17:25 +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
Thomas Vander Stichele
7da21bd2e8 query v4lsrc device for fps (which works for webcams)
Original commit message from CVS:
query v4lsrc device for fps (which works for webcams)
2004-05-03 17:26:43 +00:00
Stéphane Loeuillet
36fef2e569 don't trust lame_init to set good values as defaults
Original commit message from CVS:
don't trust lame_init to set good values as defaults
2004-05-03 16:46:10 +00:00
Thomas Vander Stichele
4676f68803 ext/divx/gstdivxenc.c: fix range since -1 is the default
Original commit message from CVS:
* ext/divx/gstdivxenc.c: (gst_divxenc_get_type),
(gst_divxenc_class_init):
fix range since -1 is the default
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_mpeg1_system_encode_get_type), (gst_system_encode_multiplex):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_get_type),
(gst_rtjpegdec_chain):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_get_type),
(gst_rtjpegenc_chain):
* sys/qcam/gstqcamsrc.c: (gst_autoexp_mode_get_type),
(gst_qcamsrc_get_type), (gst_qcamsrc_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_get_type):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get_type):
* sys/v4l/gstv4lsrc.c:
* sys/v4l/v4l_calls.c: (gst_v4l_open):
* sys/v4l/v4lmjpegsink_calls.c: (gst_v4lmjpegsink_playback_init):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_init):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init):
* sys/vcd/vcdsrc.c: (vcdsrc_get_type), (vcdsrc_get):
remove gst_info calls
2004-05-03 14:31:47 +00:00
Thomas Vander Stichele
17e7683cb5 updated translations
Original commit message from CVS:
updated translations
2004-05-03 13:37:09 +00:00
Thomas Vander Stichele
cba2022045 gst/audioconvert/gstaudioconvert.c: refactor/comment code
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
refactor/comment code
2004-05-03 13:25:22 +00:00
Ronald S. Bultje
da4145de66 gst/asfdemux/: Add tagging support to demuxer, split out registration in its own and prevent having some tables in ou...
Original commit message from CVS:
* gst/asfdemux/Makefile.am:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_type),
(gst_asf_demux_base_init), (gst_asf_demux_process_comment),
(gst_asf_demux_setup_pad):
* gst/asfdemux/gstasfdemux.h:
* gst/asfdemux/gstasfmux.c:
* gst/asfdemux/gstasfmux.h:
Add tagging support to demuxer, split out registration in its own
file instead of in demux (hacky), and prevent having some tables
in our memory multiple times (in asfheaders.h).
2004-05-02 18:07:39 +00:00
Ronald S. Bultje
164e1ae976 gst/matroska/: Basic tag reading support.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_metadata):
* gst/matroska/matroska-ids.h:
Basic tag reading support.
2004-05-01 17:27:23 +00:00
Ronald S. Bultje
bd56d546af gst/matroska/matroska-demux.c: Really detect ac-3 audio.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
Really detect ac-3 audio.
* gst/typefind/gsttypefindfunctions.c: (matroska_type_find):
really detect matroska files (off-by-1).
2004-05-01 02:46:38 +00:00
David Schleef
0afd22808f gst/qtdemux/qtdemux.c: More qtdemux hackage -- parse a lot more atoms, extract a few tags. One might even mistake th...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_type_get),
(qtdemux_dump_stsz), (qtdemux_dump_stco), (qtdemux_dump_co64),
(qtdemux_dump_unknown), (qtdemux_parse_tree), (qtdemux_parse_udta),
(qtdemux_tag_add), (get_size), (gst_qtdemux_handle_esds): More qtdemux
hackage -- parse a lot more atoms, extract a few tags.  One might even
mistake this for tag support.  Maybe it is.
* gst/qtdemux/qtdemux.h:
2004-05-01 01:46:16 +00:00
Colin Walters
d0d062e9ae plug a memleak
Original commit message from CVS:
plug a memleak
2004-04-30 20:57:48 +00:00
Thomas Vander Stichele
6e19650c97 gst/ffmpegcolorspace/gstffmpegcolorspace.c: remove broken nego fix
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
remove broken nego fix
2004-04-30 12:21:11 +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
David Schleef
d74765e3fd gst/qtdemux/qtdemux.c: Hacked up qtdemux to make it spit out codec_data. Do _not_ look at this code; you will no lon...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse),
(qtdemux_parse_trak), (get_size), (gst_qtdemux_handle_esds): Hacked
up qtdemux to make it spit out codec_data.  Do _not_ look at this
code; you will no longer respect me.
2004-04-30 02:19:16 +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
David Schleef
f9b2782a96 sys/oss/gstosselement.c: Add a check for a driver bug on FreeBSD. (bug #140565)
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_rate_probe_check):
Add a check for a driver bug on FreeBSD.  (bug #140565)
2004-04-29 23:45:03 +00:00
Thomas Vander Stichele
c3c9ba6297 ext/jpeg/: move format setting to inner loop
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_get_type):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_getcaps):
move format setting to inner loop
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
use GST_PAD_CAPS if available so that we use already negotiated
caps
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_moov), (qtdemux_parse):
extra debugging
* sys/qcam/qcam-Linux.c: (qc_lock_wait), (qc_unlock):
* sys/qcam/qcam-os.c: (qc_lock_wait), (qc_unlock):
move hardcoded path to DEFINE
2004-04-29 17:37:01 +00:00
David Schleef
b2b8ee0908 gst/speed/gstspeed.c: Fix caps parsing. (bug #140064)
Original commit message from CVS:
* gst/speed/gstspeed.c: (speed_parse_caps):  Fix caps parsing.
(bug #140064)
2004-04-29 03:38:16 +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
Benjamin Otte
77f14f9209 ext/mad/gstid3tag.c: rewrite buffer offset
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event),
(gst_id3_tag_chain):
rewrite buffer offset
2004-04-29 00:13:16 +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
Ronald S. Bultje
cf31f62b17 ext/divx/gstdivxdec.c: Remove comment that makes no sense.
Original commit message from CVS:
* ext/divx/gstdivxdec.c: (plugin_init):
Remove comment that makes no sense.
* ext/mad/gstid3tag.c: (gst_id3_tag_set_property):
Fix for obvious typo that resulted in warnings during gst-register.
* ext/xvid/gstxviddec.c: (gst_xviddec_src_link),
(gst_xviddec_sink_link):
Fix caps negotiation a bit better.
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
We call this 'codec_data', not 'esds'.
2004-04-28 03:13:48 +00:00
Benjamin Otte
76aad24148 gst/monoscope/gstmonoscope.c: make sure we only provide 256x128
Original commit message from CVS:
* gst/monoscope/gstmonoscope.c:
make sure we only provide 256x128
* gst/monoscope/monoscope.c: (monoscope_init):
assert size of 256x128
2004-04-27 15:59:57 +00:00
Thomas Vander Stichele
e77412eaf0 use max width and height for fixation
Original commit message from CVS:
use max width and height for fixation
2004-04-27 15:08:27 +00:00
Thomas Vander Stichele
21dadc6449 fix v4l for qc-usb webcams
Original commit message from CVS:
fix v4l for qc-usb webcams
2004-04-27 11:33:52 +00:00
Thomas Vander Stichele
220f6adf6c add num-buffers property
Original commit message from CVS:
add num-buffers property
2004-04-27 09:42:45 +00:00
Benjamin Otte
71c057b0f2 ext/mad/gstid3tag.c: set id3mux rank to NONE so it doesn't confuse spider require audio/mpeg,mpegversion=1 in id3mux
Original commit message from CVS:
* ext/mad/gstid3tag.c: (plugin_init):
set id3mux rank to NONE so it doesn't confuse spider
require audio/mpeg,mpegversion=1 in id3mux
2004-04-26 20:38:12 +00:00
Benjamin Otte
0ca09a71c4 configure.ac: detect faad correctly as non-working if it's indeed non-working
Original commit message from CVS:
* configure.ac:
detect faad correctly as non-working if it's indeed non-working
2004-04-26 18:03:19 +00:00
Thomas Vander Stichele
68658256e7 fix jpeg getcaps so it negotiates correctly
Original commit message from CVS:
fix jpeg getcaps so it negotiates correctly
2004-04-26 13:47:38 +00:00
Benjamin Otte
1cd4212d70 gst/audioconvert/gstaudioconvert.c: fix memleak
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
fix memleak
2004-04-25 17:56:11 +00:00
Benjamin Otte
c17acf4260 gst-libs/gst/riff/riff-media.c: audio/x-raw-int with height rules! not. Now it's depth.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
audio/x-raw-int with height rules! not. Now it's depth.
2004-04-23 02:32:58 +00:00
Ronald S. Bultje
5a24cfe7fc gst/wavparse/gstwavparse.c: Missing variable initialization. Add handling of DVI ADPCM. Fix mis-parsing of LIST chunk...
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event),
(gst_wavparse_loop):
Missing variable initialization. Add handling of DVI ADPCM. Fix
mis-parsing of LIST chunks. This works around a bug where we mis-
parse non-aligning LIST chunks (so LIST chunks where the contents
don't align with the actual LIST size). The correct fix is to use
rifflib, I'm not going to fix wavparse - too much work. All this
fixes #104878.
2004-04-23 00:47:41 +00:00
Benjamin Otte
2a0fbe000f ext/shout/gstshout.c: fix shoutcast not working (fixes #140844)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/shout/gstshout.c: (gst_icecastsend_change_state):
fix shoutcast not working (fixes #140844)
2004-04-22 15:50:05 +00:00
Benjamin Otte
29e86d6493 s/gst_caps_simplify/gst_caps_do_simplify/
Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_caps_remove_format_info):
* gst/colorspace/gstcolorspace.c:
(gst_colorspace_caps_remove_format_info):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_caps_remove_format_info):
s/gst_caps_simplify/gst_caps_do_simplify/
2004-04-22 03:52:53 +00:00
Benjamin Otte
0f6862668b gst-libs/gst/riff/riff-media.c: mpegversion is an int
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
mpegversion is an int
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init):
don't try to create pad templates with NULL caps, use any caps
instead.
2004-04-22 03:29:01 +00:00
David Schleef
b14bbb96e8 ext/sdl/Makefile.am: Link against libgstinterfaces, not libgstxoverlay. jmmv@menta.net (Julio M. Merino Vidal) (bug ...
Original commit message from CVS:
* ext/sdl/Makefile.am: Link against libgstinterfaces, not
libgstxoverlay.  jmmv@menta.net (Julio M. Merino Vidal)
(bug #140384)
2004-04-21 00:30:03 +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
David Schleef
d9141f9b11 gst/realmedia/rmdemux.c: This was supposed to part of the last checkin. Same idea.
Original commit message from CVS:
* gst/realmedia/rmdemux.c:  This was supposed to part of the
last checkin.  Same idea.
2004-04-20 21:05:40 +00:00
David Schleef
df3fa511a7 configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds]
Original commit message from CVS:
reviewed by David Schleef
* configure.ac: bump required gstreamer version to 0.8.1.1
because of following changes [--ds]
* gst-libs/gst/riff/riff-read.c:  Include gst/gstutils.h.
(gst_riff_peek_head, gst_riff_peek_list, gst_riff_read_list)
(gst_riff_read_header):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
* gst/typefind/gsttypefindfunctions.c: Include gst/gstutils.h.
(mp3_type_find):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
(mp3_type_find, mpeg1_parse_header, qt_type_find)
(speex_type_find): Likewise
* gst/tags/gstvorbistag.c: (ADVANCE): Likewise
* gst/qtdemux/qtdemux.c: Include stdlib.h (needed by realloc).
(QTDEMUX_GUINT32_GET, QTDEMUX_GUINT16_GET, QTDEMUX_FP32_GET)
(QTDEMUX_FP16_GET, QTDEMUX_FOURCC_GET)
(gst_qtdemux_loop_header, gst_qtdemux_loop_header)
(qtdemux_node_dump_foreach, qtdemux_tree_get_child_by_type)
(qtdemux_tree_get_sibling_by_type):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
* gst/mpegstream/gstmpegpacketize.c: (parse_generic, parse_chunk):
Likewise.
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead)
(gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes): Likewise.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Likewise.
* gst/mpeg2sub/gstmpeg2subt.c: (GST_BUFFER_DATA)
(gst_mpeg2subt_chain_subtitle): Likewise.
* gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq)
(gst_mp1videoparse_time_code, gst_mp1videoparse_real_chain):
Likewise.
* gst/mpeg1sys/buffer.c: (mpeg1mux_buffer_update_audio_info):
Likewise.
* gst/cdxaparse/gstcdxaparse.c: (gst_bytestream_peek_bytes):
Likewise.
* gst/asfdemux/gstasfdemux.c: (_read_var_length, _read_uint):
Likewise.
2004-04-20 21:04:21 +00:00
Thomas Vander Stichele
aaa6aacfb3 up required gst version fix po download snippet
Original commit message from CVS:
up required gst version
fix po download snippet
2004-04-20 16:07:04 +00:00
Benjamin Otte
26cc5e8768 ext/mad/gstid3tag.c: remove leftover g_print
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_init):
remove leftover g_print
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
don't try setting only a subset of the caps. We don't want to kill
autoplugging on purpose
2004-04-20 15:51:48 +00:00
Thomas Vander Stichele
4b27299a4a add debugging categories
Original commit message from CVS:
add debugging categories
2004-04-20 15:45:07 +00:00
Thomas Vander Stichele
a983e1622b adding english translation
Original commit message from CVS:
adding english translation
2004-04-20 11:21:49 +00:00
David Schleef
5e75dfe5ef gst/qtdemux/qtdemux.c: A number of new features and hacks to extract the esds atom and put it into the caps. (bug #1...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(qtdemux_parse), (qtdemux_type_get), (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_stsd), (qtdemux_dump_unknown),
(qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps):
A number of new features and hacks to extract the esds atom and
put it into the caps.  (bug #137724)
2004-04-20 08:27:15 +00:00
David Schleef
3e84dfa539 gconf/Makefile.am: Fix for non-GNU make
Original commit message from CVS:
* gconf/Makefile.am: Fix for non-GNU make
* gst-libs/gst/Makefile.am: Change directory order to handle
GstPlay linking with gstinterfaces
* gst-libs/gst/audio/make_filter: make use of tr portable
* gst-libs/gst/play/Makefile.am: Add intended \
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_xwin_set_clips): Switch to ISO variadic macro. Use a
function prototype instead of void *.
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Switch to ISO variadic
macro.
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_chain): wrap NULL in GST_ELEMENT_ERROR call
* gst/videofilter/make_filter: make use of tr portable
* pkgconfig/Makefile.am: Remove GNU extension in Makefile target
2004-04-19 22:51:57 +00:00
Thomas Vander Stichele
575790a918 adding ukrainian translation
Original commit message from CVS:
adding ukrainian translation
2004-04-19 13:50:14 +00:00
Ronald S. Bultje
12caf56e44 ext/gsm/gstgsmdec.c: Fix capsnego, simplify chain function slightly.
Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init), (gst_gsmdec_getcaps),
(gst_gsmdec_link), (gst_gsmdec_chain):
Fix capsnego, simplify chain function slightly.
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Add GSM.
2004-04-19 02:00:24 +00:00
Ronald S. Bultje
dab7534fcf gst/wavparse/gstwavparse.c: Hack to make wavparse work with spider (always -> sometimes pad).
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_destroy_sourcepad), (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_fmt), (gst_wavparse_change_state):
Hack to make wavparse work with spider (always -> sometimes pad).
Fixes #135862 && #140411.
2004-04-18 23:40:34 +00:00
Benjamin Otte
383c281c4e sys/oss/gstosselement.c: get rid of \n in debug output
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms),
(gst_osselement_rate_probe_check),
(gst_osselement_rate_check_rate), (gst_osselement_rate_add_rate):
get rid of \n in debug output
2004-04-18 20:14:36 +00:00
Iain Holmes
4069bc7967 Allow all events, not just EOS
Original commit message from CVS:
Allow all events, not just EOS
2004-04-17 22:33:37 +00:00
Benjamin Otte
614a71f04b ext/mad/gstid3tag.c: deprecate id3tag element and replace with id3demux/id3mux.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
(gst_id3_tag_class_init), (gst_id3_tag_get_caps),
(gst_id3_tag_add_src_pad), (gst_id3_tag_init),
(gst_id3_tag_set_property), (gst_id3_tag_do_caps_nego),
(gst_id3_tag_src_link), (gst_id3_tag_chain),
(gst_id3_tag_change_state), (plugin_init):
deprecate id3tag element and replace with id3demux/id3mux.
great side effect: this ugly file is now even uglier, yay!
* ext/mad/gstmad.h:
remove non-available function
update for new get_type
2004-04-17 17:52:35 +00:00
Benjamin Otte
5236072df3 configure.ac: require mpeg2dec >= 0.4.0
Original commit message from CVS:
* configure.ac:
require mpeg2dec >= 0.4.0
2004-04-17 03:40:37 +00:00
Benjamin Otte
0d88bf0a00 sys/xvimage/xvimagesink.c: call GST_ELEMENT_ERROR whenever get_xcontext fails. Includes assorted cleanup fixes.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_xcontext_get), (gst_xvimagesink_change_state),
(gst_xvimagesink_set_xwindow_id):
call GST_ELEMENT_ERROR whenever get_xcontext fails. Includes
assorted cleanup fixes.
2004-04-17 02:30:28 +00:00
David Schleef
4bdad4d6a9 sys/ximage/ximagesink.h: Compile fix for FreeBSD. (bug #140268)
Original commit message from CVS:
* sys/ximage/ximagesink.h: Compile fix for FreeBSD. (bug #140268)
* sys/xvimage/xvimagesink.h: same
2004-04-16 23:42:12 +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
1c3add3521 gst-libs/gst/riff/riff-media.c: Add div[3456] as fourccs for DivX 3 (fixes #140137).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add div[3456] as fourccs for DivX 3 (fixes #140137).
2004-04-16 01:43:13 +00:00
Ronald S. Bultje
38e6fccd41 gst/: Add MS RLE support. I added some functions to read out strf chunks into strf chunks and the data behind it. Thi...
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_caps), (gst_riff_create_audio_caps),
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_vids):
* gst-libs/gst/riff/riff-read.h:
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Add MS RLE support. I added some functions to read out strf chunks
into strf chunks and the data behind it. This is usually color
palettes (as in RLE, but also in 8-bit RGB). Also use those during
caps creation. Lastly, add ADPCM (similar to wavparse - which
should eventually be rifflib based).
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_init), (gst_matroska_demux_reset):
* gst/matroska/matroska-demux.h:
Remove placeholders for some prehistoric tagging system. Didn't add
support for any tag system really anyway.
* gst/qtdemux/qtdemux.c:
Add support for audio/x-m4a (MPEG-4) through spider.
* gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt),
(gst_wavparse_loop):
ADPCM support (#135862). Increase max. buffer size because we
cannot split buffers for ADPCM (screws references) and I've seen
files with 2048 byte chunks. 4096 seems safe for now.
2004-04-16 01:20:43 +00:00
Thomas Vander Stichele
38fef72250 bump nano to 1
Original commit message from CVS:
bump nano to 1
2004-04-15 15:21:23 +00:00
Thomas Vander Stichele
f1c62ece9f releasing
Original commit message from CVS:
releasing
2004-04-15 15:16:31 +00:00
Thomas Vander Stichele
37014b348d nano bump for prerel add bug entry for a fixed bug translation updates
Original commit message from CVS:
nano bump for prerel
add bug entry for a fixed bug
translation updates
2004-04-15 10:00:37 +00:00
Ronald S. Bultje
2d7d24378e gst-libs/gst/riff/riff-media.c: Fix typo in divxversion (3 instead of 4 for "DIVX" fourcc).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Fix typo in divxversion (3 instead of 4 for "DIVX" fourcc).
2004-04-15 03:21:14 +00:00
Thomas Vander Stichele
58230a6e71 bugzilla entries
Original commit message from CVS:
bugzilla entries
2004-04-14 17:08:34 +00:00
Thomas Vander Stichele
9606116058 use release
Original commit message from CVS:
use release
2004-04-14 16:46:36 +00:00
Thomas Vander Stichele
d3010a0c4f lower rank of dvddemux
Original commit message from CVS:
lower rank of dvddemux
2004-04-14 16:16:45 +00:00
Benjamin Otte
f13fcb23ec configure.ac: save libs correctly when checking mad
Original commit message from CVS:
* configure.ac:
save libs correctly when checking mad
2004-04-14 15:42:03 +00:00
Thomas Vander Stichele
824d5315c5 #139926 - lowers rank of id3tag
Original commit message from CVS:
#139926 - lowers rank of id3tag
2004-04-14 15:33:16 +00:00
David Schleef
10ea3863f0 common/m4/gst-feature.m4: Call -config scripts with
Original commit message from CVS:
* common/m4/gst-feature.m4: Call -config scripts with
--plugin-libs if it is supported.
* gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect): sequences of
JPEG images are image/jpeg.
* gst/debug/Makefile.am:
* gst/debug/negotiation.c: (gst_negotiation_class_init),
(gst_negotiation_getcaps), (gst_negotiation_pad_link),
(gst_negotiation_update_caps), (gst_negotiation_get_property),
(gst_negotiation_plugin_init): Add a property that acts like
filter caps.
* testsuite/gst-lint:  Move license checking to be a standard
test.
2004-04-13 23:25:19 +00:00
Sebastien Cote
a019372724 gst/avi/gstavidemux.c: Fix memleak. patch from Sebastien Cote (bug #139958)
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset): Fix memleak.
patch from Sebastien Cote (bug #139958)
2004-04-13 21:34:28 +00:00
Thomas Vander Stichele
09930eaf71 make player example use gconf
Original commit message from CVS:
make player example use gconf
2004-04-13 13:41:20 +00:00
Thomas Vander Stichele
8e08204577 only open/close library during state changes, not creation/disposal
Original commit message from CVS:
only open/close library during state changes, not creation/disposal
2004-04-13 12:17:21 +00:00
Christian Schaller
b4e30f08a7 s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
Original commit message from CVS:
s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
2004-04-12 19:41:33 +00:00
Ronald S. Bultje
888315ae6c gst/avi/gstavidemux.c: Handle JUNK chunks inside data section. Prevents warnings.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_data):
Handle JUNK chunks inside data section. Prevents warnings.
2004-04-11 22:09:25 +00:00
Ronald S. Bultje
7897fe29b9 gst-libs/gst/riff/riff-media.c: Add MS video v1.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add MS video v1.
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_data):
Add support for "rec-list" chunks.
2004-04-11 21:36:45 +00:00
Ronald S. Bultje
53d78b8a7b gst-libs/gst/riff/riff-media.c: Fix another codecname mismatch.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Fix another codecname mismatch.
2004-04-11 19:33:55 +00:00
Ronald S. Bultje
292a24d4cc gst-libs/gst/riff/riff-media.c: Fix divx caps mismatch and move from video/x-jpeg to image/jpeg so that MJPEG plays b...
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Fix divx caps mismatch and move from video/x-jpeg to image/jpeg
so that MJPEG plays back.
2004-04-11 17:21:32 +00:00
Ronald S. Bultje
c69343a6f8 gst/mpeg1videoparse/gstmp1videoparse.*: Fix for some slight mis-cuts in buffer parsing, and for some potential overfl...
Original commit message from CVS:
* gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init),
(gst_mp1videoparse_real_chain), (gst_mp1videoparse_change_state):
* gst/mpeg1videoparse/gstmp1videoparse.h:
Fix for some slight mis-cuts in buffer parsing, and for some
potential overflows or faults-causers. Adds disconts. Also fixes
#139105 while we're at it.
2004-04-10 22:40:50 +00:00
Ronald S. Bultje
3dd5488a8c Workaround for missing struct v4l2_buffer declaration in Suse 9 and Mandrake 10 linux/videodev2.h header file (#135919).
Original commit message from CVS:
* configure.ac:
* sys/v4l2/gstv4l2element.h:
Workaround for missing struct v4l2_buffer declaration in Suse 9
and Mandrake 10 linux/videodev2.h header file (#135919).
2004-04-10 13:27:16 +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
Ronald S. Bultje
d4072e083c sys/v4l2/gstv4l2src.c: fix Y41P (was typo'ed to
Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps),
(gst_v4l2_fourcc_from_structure):
Add Y41B/Y42B YUV formats (see #125732), fix Y41P (was typo'ed to
Y41B somewhere).
2004-04-10 12:20:20 +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
David Schleef
d181fbe567 gst/ffmpegcolorspace/gstffmpegcolorspace.c: Change rank to PRIMARY.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_register): Change rank to PRIMARY.
2004-04-09 00:04:38 +00:00
David Schleef
f02396a02b gst/colorspace/gstcolorspace.c: Don't advertise a conversion we don't support (bug #139532)
Original commit message from CVS:
* gst/colorspace/gstcolorspace.c: Don't advertise a conversion
we don't support (bug #139532)
2004-04-09 00:01:44 +00:00
Thomas Vander Stichele
b2ed33fcae do not change caps in middle of stream except on new streams fixes #139382
Original commit message from CVS:
do not change caps in middle of stream except on new streams
fixes #139382
2004-04-07 15:48:40 +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
253562933c gst-libs/gst/gconf/test-gconf.c: add missing gst_init
Original commit message from CVS:
* gst-libs/gst/gconf/test-gconf.c: (main):
add missing gst_init
2004-04-07 00:54:03 +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
91cf19010d ext/mad/gstmad.c: fix GST_FORMAT_TIME usage
Original commit message from CVS:
* ext/mad/gstmad.c: (normal_seek):
fix GST_FORMAT_TIME usage
2004-04-06 06:03:30 +00:00
David Schleef
3e25ed3c05 ext/kio/kiosrc.cpp: Undefine KDE_DEPRECATED so we can use a deprecated function (hack!)
Original commit message from CVS:
* ext/kio/kiosrc.cpp:  Undefine KDE_DEPRECATED so we can use
a deprecated function (hack!)
2004-04-05 23:51:45 +00:00
Benjamin Otte
ec74d7008b ext/esd/esdmon.c: fix nonterminated vararg and memleak
Original commit message from CVS:
* ext/esd/esdmon.c: (gst_esdmon_get):
fix nonterminated vararg and memleak
2004-04-05 17:47:30 +00:00
Benjamin Otte
e8bf24012d ext/ladspa/gstladspa.c: clean up debugging
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_class_init),
(gst_ladspa_init), (gst_ladspa_force_src_caps),
(gst_ladspa_set_property), (gst_ladspa_get_property),
(gst_ladspa_instantiate), (gst_ladspa_activate),
(gst_ladspa_deactivate), (gst_ladspa_loop), (gst_ladspa_chain):
clean up debugging
2004-04-05 17:32:43 +00:00
Benjamin Otte
0db7a00219 gst/audioconvert/gstaudioconvert.c: advertise buffer-frames correctly on sinkpads
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_getcaps):
advertise buffer-frames correctly on sinkpads
2004-04-05 13:18:56 +00:00
Thomas Vander Stichele
577125d382 more debugging, only reset caps when not in error
Original commit message from CVS:
more debugging, only reset caps when not in error
2004-04-05 12:28:57 +00:00
Thomas Vander Stichele
06c318a6b7 add debug category + commenting and cleanups
Original commit message from CVS:
add debug category + commenting and cleanups
2004-04-05 11:38:04 +00:00
Benjamin Otte
c8b89188d1 configure.ac: fix == in test(1) operator
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* configure.ac:
fix == in test(1) operator
2004-04-04 23:38:15 +00:00
Benjamin Otte
86f43e382c configure.ac: fix --export-symblos-regex to a working regex.
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* configure.ac:
fix --export-symblos-regex to a working regex.
2004-04-04 23:00:03 +00:00
Benjamin Otte
a319fc2556 sys/oss/.cvsignore: add for oss_probe
Original commit message from CVS:
* sys/oss/.cvsignore:
add for oss_probe
2004-04-04 02:39:29 +00:00
Benjamin Otte
e7c41f841f ext/mad/gstid3tag.c: add missing 'new_media' argument (fixes #138168)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
add missing 'new_media' argument (fixes #138168)
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_seek_event):
add vararg terminator (fixes #138169)
2004-04-03 13:59:57 +00:00
David Schleef
10789cd432 ext/gdk_pixbuf/Makefile.am: Make sure gstgdkanimation.h is disted (bug #138914)
Original commit message from CVS:
* ext/gdk_pixbuf/Makefile.am:  Make sure gstgdkanimation.h is
disted (bug #138914)
2004-04-03 03:07:59 +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
Thomas Vander Stichele
e888bd8780 throw an error if we couldn't probe caps
Original commit message from CVS:
throw an error if we couldn't probe caps
2004-04-01 13:20:03 +00:00
Jan Schmidt
b022a6fd5c Add a really simple sample DVD player gst-launch command line
Original commit message from CVS:
Add a really simple sample DVD player gst-launch command line
2004-04-01 12:54:44 +00:00
Jan Schmidt
58e1939697 a52dec: Use a debug category, Output timestamps correctly
Original commit message from CVS:
a52dec:   Use a debug category, Output timestamps correctly
Emit tag info, Handle events, tell liba52dec about cpu
capabilities so it can use MMX etc.
dvdec:    Fix a crasher accessing invalid memory
dvdnavsrc:Some support for byte-format seeking.
Small fixes for still frames and menu button overlays
mpeg2dec: Use a debug category. Adjust the report level of several items to
LOG. Call mpeg2_custom_fbuf to mark our buffers as 'custom buffers'
so it doesn't lose the GstBuffer pointer
navseek:  Add the navseek debug element for seeking back and forth in a
video stream using arrow keys.
mpeg2subt:Pretty much a complete rewrite. Now a loopbased element. May still
require work to properly synchronise subtitle buffers.
mpegdemux:
dvddemux: Don't attempt to create subbuffers of size 0
Reduce a couple of error outputs to warnings.
y4mencode:Output the y4m frame header correctly
2004-04-01 11:48:25 +00:00
Thomas Vander Stichele
a4c1edf3cb avoid SIGFPE, throw error
Original commit message from CVS:
avoid SIGFPE, throw error
2004-04-01 11:40:45 +00:00
Thomas Vander Stichele
195d892034 leak plugs and style fixes
Original commit message from CVS:
leak plugs and style fixes
2004-04-01 08:42:30 +00:00
David Schleef
4f3158a64c gst/audioscale/gstaudioscale.c: Fix getcaps to expand and union lists. (bug #138225)
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_expand_value),
(gst_audioscale_getcaps): Fix getcaps to expand and union lists.
(bug #138225)
* gst/debug/Makefile.am:
* gst/debug/breakmydata.c: (gst_break_my_data_plugin_init):
* gst/debug/gstdebug.c: (plugin_init):  Merge elements into one
plugin.
* gst/debug/negotiation.c: (gst_gst_negotiation_get_type),
(gst_negotiation_base_init), (gst_negotiation_class_init),
(gst_negotiation_init), (gst_negotiation_getcaps),
(gst_negotiation_pad_link), (gst_negotiation_chain),
(gst_negotiation_set_property), (gst_negotiation_get_property),
(gst_negotiation_plugin_init):  New element to talk about random
negotiation things happening in a pipeline.
2004-03-31 22:36:36 +00:00
Thomas Vander Stichele
a9d2e74cd3 fixing CLAMPING
Original commit message from CVS:
fixing CLAMPING
2004-03-31 17:11:14 +00:00
Matthew.Spencer@eu.sony.com
1241a83bd7 ext/mpeg2dec/gstmpeg2dec.c: Handle Y42B-format MPEG video, patch from Matthew.Spencer@eu.sony.com (Matthew Spencer) (...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_alloc_buffer),
(gst_mpeg2dec_negotiate_format):  Handle Y42B-format MPEG
video, patch from Matthew.Spencer@eu.sony.com (Matthew Spencer)
(bug #137504)
* ext/mpeg2dec/gstmpeg2dec.h:
2004-03-31 06:31:47 +00:00
David Schleef
ed27cc6983 ext/gdk_pixbuf/Makefile.am: Remove spurious rules. (bug #136527)
Original commit message from CVS:
* ext/gdk_pixbuf/Makefile.am: Remove spurious rules. (bug #136527)
2004-03-31 06:09:34 +00:00
gnome@flyn.org
898d87f9c6 tools/gst-launch-ext-m.m: Applied patch from gnome@flyn.org (W.
Original commit message from CVS:
* tools/gst-launch-ext-m.m:  Applied patch from gnome@flyn.org (W.
Michael Petullo) to handle .mov
2004-03-31 06:00:40 +00:00
Benjamin Otte
3b8cbbfc4f sys/oss/gstosselement.c: probe caps correctly for sound cards that only support one format
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_probe_caps),
(gst_osselement_rate_check_rate):
probe caps correctly for sound cards that only support one format
2004-03-30 18:01:45 +00:00
Benjamin Otte
589509bcf1 ext/kio/kiosrc.cpp: update handling event processing if inside KDE - untested
Original commit message from CVS:
* ext/kio/kiosrc.cpp: (process_events):
update handling event processing if inside KDE - untested
2004-03-30 17:00:52 +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
80a4662b3a gst-libs/gst/riff/riff-media.c: fail on error, don't try to set stuff on NULL caps
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
fail on error, don't try to set stuff on NULL caps
2004-03-30 03:16:13 +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
Thomas Vander Stichele
c65246f146 return proper values for state change failures
Original commit message from CVS:
return proper values for state change failures
2004-03-29 17:19:38 +00:00
Benjamin Otte
c54fba5450 ext/mad/gstid3tag.c: try harder to check if an event is really a discont
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
try harder to check if an event is really a discont
2004-03-29 15:58:01 +00:00
Thomas Vander Stichele
65fb441b52 adding azerbaijani
Original commit message from CVS:
adding azerbaijani
2004-03-29 08:48:56 +00:00
Benjamin Otte
4a0aebbc9e gst/mpegstream/: get rid of non-standard "..." ranges in case statements.
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_private):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes):
get rid of non-standard "..." ranges in case statements.
2004-03-28 01:44:31 +00:00
Martin Soto
65d9ab65c5 gst/mpegstream/gstmpegdemux.*: Complete overhaul. All DVD specific functionality split to the new dvddemux element.
Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c:
* gst/mpegstream/gstmpegdemux.h: Complete overhaul. All DVD
specific functionality split to the new dvddemux element.
* gst/mpegstream/gstdvddemux.c:
* gst/mpegstream/gstdvddemux.h: New demultiplexer for DVD (VOB)
streams, derived from mpegdemux.
* gst/mpegstream/gstmpegparse.c: Discontinuity handling cleaned
up. SCR based timestamp rewriting can be turned off (will probably
completely disappear soon).
* ext/dvdnav/dvdnavsrc.c: Changes resulting from a few months
hacking. General cleanup. All printf statements replaced by
debugging messages. Almost complete libdvdnav support.
(dvdnavsrc_class_init): Got rid of unnecessary signals (replaced
by events. New properties for audio and subpicture languages.
(dvdnavsrc_update_highlight): Now uses events.
(dvdnavsrc_user_op): Cleaned up.
(dvdnavsrc_get): Renamed to dvdnavsrc_loop (element is now loop
based). Lots of cleanup, and propper support for most libdvdnav
events.
(dvdnavsrc_make_dvd_event): New function.
(dvdnavsrc_make_dvd_nav_packet_event): New function.
(dvdnavsrc_make_clut_change_event): New function.
2004-03-27 22:45:40 +00:00
Benjamin Otte
52d2bae950 gst/typefind/gsttypefindfunctions.c: fix bug where typefinding would claim it's theora whenever less then 7 bytes of ...
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (theora_type_find):
fix bug where typefinding would claim it's theora whenever less then
7 bytes of data were available
2004-03-26 02:16:00 +00:00
Ronald S. Bultje
2fac356055 gst/law/: Fix capsnego in all four, remove the unused property functions and simplify the chain functions slightly. I...
Original commit message from CVS:
* gst/law/alaw-decode.c: (alawdec_getcaps), (alawdec_link),
(gst_alawdec_base_init), (gst_alawdec_class_init),
(gst_alawdec_init), (gst_alawdec_chain):
* gst/law/alaw-encode.c: (alawenc_getcaps), (alawenc_link),
(gst_alawenc_base_init), (gst_alawenc_class_init),
(gst_alawenc_init), (gst_alawenc_chain):
* gst/law/mulaw-decode.c: (mulawdec_getcaps), (mulawdec_link),
(gst_mulawdec_base_init), (gst_mulawdec_class_init),
(gst_mulawdec_init), (gst_mulawdec_chain):
* gst/law/mulaw-encode.c: (mulawenc_getcaps), (mulawenc_link),
(gst_mulawenc_base_init), (gst_mulawenc_class_init),
(gst_mulawenc_init), (gst_mulawenc_chain):
Fix capsnego in all four, remove the unused property functions and
simplify the chain functions slightly. I guess we could use macros
or something similar for those, since the code is so similar, but
I'm currently too lazy...
2004-03-26 01:56:11 +00:00
David Schleef
9b61d21758 sys/oss/gstosselement.c: Add code to handle rate probing (bug #120883)
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms),
(gst_osselement_close_audio), (gst_osselement_probe_caps),
(gst_osselement_get_format_structure),
(gst_osselement_rate_probe_check), (gst_osselement_rate_add_range),
(gst_osselement_rate_check_rate), (gst_osselement_rate_add_rate),
(gst_osselement_rate_int_compare): Add code to handle rate probing
(bug #120883)
* sys/oss/gstosselement.h: same
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_getcaps):
Use rate probing provided by osselement.
* sys/oss/gstosssrc.c: (gst_osssrc_init), (gst_osssrc_getcaps): same
2004-03-25 02:43:48 +00:00
Ronald S. Bultje
b915787fef ext/xvid/gstxvidenc.c: ulong/int mess-up.
Original commit message from CVS:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_set_property),
(gst_xvidenc_get_property):
ulong/int mess-up.
2004-03-25 02:32:33 +00:00
David Schleef
cd21af4428 ext/speex/: Create the pad template correctly (from the static pad template, not a NULL pointer.)
Original commit message from CVS:
* ext/speex/gstspeexdec.c: (gst_speexdec_base_init),
(gst_speexdec_init):
* ext/speex/gstspeexenc.c: (gst_speexenc_base_init),
(gst_speexenc_init):  Create the pad template correctly (from
the static pad template, not a NULL pointer.)
2004-03-25 01:13:59 +00:00
Benjamin Otte
b7274a0746 gst/debug/: add element that quasi-randomly changes bytes in the stream.
Original commit message from CVS:
* gst/debug/Makefile.am:
* gst/debug/breakmydata.c:
add element that quasi-randomly changes bytes in the stream.
Intended use is robustness checking of demuxers and decoders in
media tests.
2004-03-25 01:03:36 +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
Benjamin Otte
098162b47a gst/level/gstlevel.c: add proxying getcaps function, so level doesn't advertise impossible caps
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_init):
add proxying getcaps function, so level doesn't advertise impossible
caps
2004-03-24 14:04:53 +00:00
David Schleef
6228749891 gst/qtdemux/qtdemux.c: Fix debugging messages. Divide the chunk size by the compression ratio (needed for MACE audio)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(gst_qtdemux_loop_header), (qtdemux_parse_moov), (qtdemux_parse),
(qtdemux_node_dump_foreach), (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_parse_tree), (qtdemux_parse_trak):  Fix debugging
messages.  Divide the chunk size by the compression ratio
(needed for MACE audio)
2004-03-24 08:33:06 +00:00
Ronald S. Bultje
0a94746e0b gst/mpegaudioparse/gstmpegaudioparse.c: Fix buffer overflow read error.
Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Fix buffer overflow read error.
2004-03-24 04:21:37 +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
Jeremy Simon
dd6f19c3c4 gst/typefind/gsttypefindfunctions.c: Add a monkeysaudio typefind function
Original commit message from CVS:
2004-03-23  Jeremy Simon  <jesimon@libertysurf.fr>
* gst/typefind/gsttypefindfunctions.c: (ape_type_find),
(plugin_init):
Add a monkeysaudio typefind function
2004-03-23 18:23:37 +00:00
Johan Dahlin
a4b140116c gst-libs/gst/play/play.c (gst_play_audio_fixate)
Original commit message from CVS:
* gst-libs/gst/play/play.c (gst_play_audio_fixate)
(gst_play_video_fixate): Check so the structure has the field
before trying to fixate them, this makes it possible to have
fakesinks for video and audio output without printing errors on
the output console.
2004-03-23 16:59:59 +00:00
David Schleef
6b102fdeb7 sys/oss/: Rate probing test app.
Original commit message from CVS:
* sys/oss/Makefile.am:
* sys/oss/oss_probe.c: (main), (probe_check), (add_range),
(check_rate), (add_rate):  Rate probing test app.
2004-03-23 04:01:27 +00:00
Benjamin Otte
87ffc58ab9 gst/audioconvert/gstaudioconvert.c: add a fixation function that pretty much does the right thing (fixes #137556)
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link),
(_fixate_caps_to_int), (gst_audio_convert_fixate):
add a fixation function that pretty much does the right thing (fixes
#137556)
2004-03-21 02:54:37 +00:00
David I. Lehn
7330a69cdd configure.ac: GST_PACKAGE default: s/GStreamer/GStreamer Plugins/
Original commit message from CVS:
* configure.ac: GST_PACKAGE default: s/GStreamer/GStreamer Plugins/
2004-03-20 18:48:44 +00:00
Benjamin Otte
1069b9f763 UTF-8, dude
Original commit message from CVS:
UTF-8, dude
2004-03-20 01:26:06 +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
David Schleef
3d743d8c3f gst-libs/gst/Makefile.am: Enable xoverlay unconditionally, since it doesn't depend on X, and it's part of our ABI.
Original commit message from CVS:
* gst-libs/gst/Makefile.am:  Enable xoverlay unconditionally,
since it doesn't depend on X, and it's part of our ABI.
2004-03-19 23:44:33 +00:00
Iain Holmes
6c5076c6dd Use the is_int structure member rather than the local variable so that the correct splitting function is used.
Original commit message from CVS:
Use the is_int structure member rather than the local variable so that the correct splitting function is used.
2004-03-19 12:44:22 +00:00
David Schleef
e8cc8a916b ext/librfb/gstrfbsrc.c: Improvements in caps negotiation.
Original commit message from CVS:
* ext/librfb/gstrfbsrc.c: (gst_rfbsrc_change_state),
(gst_rfbsrc_init), (gst_rfbsrc_getcaps), (gst_rfbsrc_fixate),
(gst_rfbsrc_link), (gst_rfbsrc_paint_rect), (gst_rfbsrc_get):
Improvements in caps negotiation.
2004-03-19 08:31:15 +00:00
Thomas Vander Stichele
336e9c1dbc adding afrikaans
Original commit message from CVS:
adding afrikaans
2004-03-18 18:09:43 +00:00
Thomas Vander Stichele
e9cb7a7fed throw error (#137588)
Original commit message from CVS:
throw error (#137588)
2004-03-18 12:53:36 +00:00
Thomas Vander Stichele
0ea9f4908e dist common and m4 correctly
Original commit message from CVS:
dist common and m4 correctly
2004-03-18 12:38:53 +00:00
David Schleef
41f5576dd3 pkgconfig/gstreamer-media-info.pc.in: Add Version. (bug #137348)
Original commit message from CVS:
* pkgconfig/gstreamer-media-info.pc.in:  Add Version.
(bug #137348)
2004-03-17 23:32:07 +00:00
Thomas Vander Stichele
ce22ac5d66 adding swedish
Original commit message from CVS:
adding swedish
2004-03-17 18:09:44 +00:00
Thomas Vander Stichele
cdcefcdbf7 use release.mak
Original commit message from CVS:
use release.mak
2004-03-17 10:59:35 +00:00
Thomas Vander Stichele
0b41dec1ff fix X check explain version check
Original commit message from CVS:
fix X check
explain version check
2004-03-16 18:00:18 +00:00
Thomas Vander Stichele
be2b046fb6 back to CVS
Original commit message from CVS:
back to CVS
2004-03-16 12:42:02 +00:00
Thomas Vander Stichele
55020b5064 releasing
Original commit message from CVS:
releasing
2004-03-16 12:25:45 +00:00
Thomas Vander Stichele
8fa8a07c96 update libtool version actually use it in media-info
Original commit message from CVS:
update libtool version
actually use it in media-info
2004-03-15 23:31:46 +00:00
Thomas Vander Stichele
400d129c03 work with speex 1.0, not 1.1
Original commit message from CVS:
work with speex 1.0, not 1.1
2004-03-15 22:34:48 +00:00
Thomas Vander Stichele
886814fe1a adding gstreamer-plugins.pc fixes #126999
Original commit message from CVS:
adding gstreamer-plugins.pc
fixes #126999
2004-03-15 22:27:32 +00:00
Julien Moutte
e71fc2718f gst-libs/gst/play/play.c: First draft of gst_play_get_framerate.
Original commit message from CVS:
2004-03-15  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/play/play.c: (gst_play_get_framerate),
(gst_play_get_sink_element): First draft of gst_play_get_framerate.
* gst-libs/gst/play/play.h:
2004-03-15 21:41:35 +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
Thomas Vander Stichele
5dcc192fe5 adding media info pc files package them use ffmpegcolorspace in gstplay
Original commit message from CVS:
adding media info pc files
package them
use ffmpegcolorspace in gstplay
2004-03-15 17:17:28 +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
f369c03c32 adding ffmpegcolorspace element, thanks ronald
Original commit message from CVS:
adding ffmpegcolorspace element, thanks ronald
2004-03-15 16:27:29 +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
Benjamin Otte
8ac839e64b gst/modplug/gstmodplug.*: set correct timestamps on outgoing buffers
Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
* gst/modplug/gstmodplug.h:
set correct timestamps on outgoing buffers
2004-03-14 13:11:14 +00:00
Benjamin Otte
a230a0a14b gst/modplug/gstmodplug.cc: handle events - don't do crap when a discont arrives that's not necessary
Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
handle events - don't do crap when a discont arrives that's not
necessary
This allows correct loading and playback of mods in Rhythmbox
2004-03-14 12:40:57 +00:00
Benjamin Otte
51b07852e2 move gstreamer-gconf pkgconfig files to pkgconfig/ dir. Make sure they get rebuilt properly
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/gconf/Makefile.am:
* pkgconfig/Makefile.am:
move gstreamer-gconf pkgconfig files to pkgconfig/ dir. Make sure
they get rebuilt properly
* configure.ac:
when checking for vorbis, try pkgconfig first.
* gst/modplug/gstmodplug.cc:
add fixate function
2004-03-14 10:33:44 +00:00
Ronald S. Bultje
f982e49807 gst/qtdemux/qtdemux.c: Fix for obvious mistake, where we first shift the offset and then read a samplesize element as...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
Fix for obvious mistake, where we first shift the offset and then
read a samplesize element assuming the old offset. Note that this
part still has something weird, i.e. my movies containing those
don't actually play well, but at least there's something that looks
like sound now.
2004-03-14 05:43:33 +00:00
Jan Schmidt
4885e0e767 Add speex typefinding function
Original commit message from CVS:
Add speex typefinding function
2004-03-14 04:01:34 +00:00
Ronald S. Bultje
a3330cc8fd gst/asfdemux/gstasfdemux.c: Use 25fps as our "fake" fps value (marked for fixage in 0.9.x) instead of 0. Reason is si...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps),
(gst_asf_demux_setup_pad):
Use 25fps as our "fake" fps value (marked for fixage in 0.9.x)
instead of 0. Reason is simple: some elements have a fps range
of 1-max instead of 0-max. So now ASF video actually works.
2004-03-14 03:31:51 +00:00
Thomas Vander Stichele
9a555b21e3 adding serbian
Original commit message from CVS:
adding serbian
2004-03-13 13:55:55 +00:00
Benjamin Otte
557f936625 gst/sine/gstsinesrc.c: return taglist correctly from _get function, don't gst_pad_push it.
Original commit message from CVS:
* gst/sine/gstsinesrc.c: (gst_sinesrc_get):
return taglist correctly from _get function, don't gst_pad_push it.
(fixes #137042)
2004-03-13 09:57:02 +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
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
a518507a47 configure.ac: the Hermes library controls hermescolorspace, not colorspace.
Original commit message from CVS:
* configure.ac: the Hermes library controls hermescolorspace, not
colorspace.
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_base_init),
(gst_mpeg2dec_init): minor pet peeve: disable code with #ifdef,
not /* */
* ext/sdl/sdlvideosink.c: Change XID to unsigned long.
* ext/sdl/sdlvideosink.h: ditto.
* gst/colorspace/gstcolorspace.c: Fix old comments about Hermes
2004-03-13 00:19:26 +00:00
Benjamin Otte
19d221ba71 gst-libs/gst/xoverlay/xoverlay.*: replace XID with unsigned long to get rid of the xlibs dependency in
Original commit message from CVS:
* gst-libs/gst/xoverlay/xoverlay.c: (gst_x_overlay_set_xwindow_id),
(gst_x_overlay_got_xwindow_id):
* gst-libs/gst/xoverlay/xoverlay.h:
replace XID with unsigned long to get rid of the xlibs dependency in
XOverlay (fixes #137004)
2004-03-12 21:43:25 +00:00
Jan Schmidt
a008df2d01 Port all elements that can be ported to videofilter, and fix up the caps.
Original commit message from CVS:
Port all elements that can be ported to videofilter, and fix up the caps.
Can someone with a big-endian machine please check them?
2004-03-12 13:56:51 +00:00
Ronald S. Bultje
6a2f4d2d1d sys/oss/gstosssink.c: Latest fixes for A/V sync, audio playback and such. This is about all... MPEG playback issues a...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_get_time),
(gst_osssink_chain), (gst_osssink_change_state):
Latest fixes for A/V sync, audio playback and such. This is about
all... MPEG playback issues are mostly related to the async build-
up of MPEG files, I cannot fix that. Use basicgthread to solve it.
2004-03-11 04:08:44 +00:00
Thomas Vander Stichele
93feda1993 use pkg-config checks for some, falling back to the old one.
Original commit message from CVS:
use pkg-config checks for some, falling back to the old one.

fixes #131270
2004-03-10 17:21:14 +00:00
Thomas Vander Stichele
73a1c51374 updating tools generation
Original commit message from CVS:
updating tools generation
2004-03-10 12:35:44 +00:00
Ronald S. Bultje
31224b9257 ext/divx/gstdivxdec.c: Downgrade priority. We prefer ffdec_mpeg4.
Original commit message from CVS:
* ext/divx/gstdivxdec.c:
Downgrade priority. We prefer ffdec_mpeg4.
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps), (gst_faad_srcconnect),
(gst_faad_chain), (gst_faad_change_state):
Fix capsnego. Doesn't work for some sounds because we don't have
a 5:1 to stereo element.
* ext/xvid/gstxvid.c: (plugin_init):
Add priority.
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
Add discont handling.
2004-03-10 05:45:22 +00:00
Colin Walters
e93d93afdf gst/audioconvert/gstaudioconvert.c: Fix typo in width 8 conversion.
Original commit message from CVS:
2004-03-09  Colin Walters  <walters@verbum.org>

* gst/audioconvert/gstaudioconvert.c: Fix typo in width 8
conversion.
2004-03-10 04:01:50 +00:00
Benjamin Otte
64157f4fc8 gst-libs/gst/mixer/mixer.c: the signals take 2 arguments
Original commit message from CVS:
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init):
the signals take 2 arguments
2004-03-09 21:38:40 +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
Benjamin Otte
002cd58c10 fix comment
Original commit message from CVS:
fix comment
2004-03-09 21:10:24 +00:00
Benjamin Otte
16a65b0db2 ext/mikmod/gstmikmod.*: make mikmod's loop function not loop infinitely and call gst_element_yield anymore
Original commit message from CVS:
* ext/mikmod/gstmikmod.c: (gst_mikmod_init), (gst_mikmod_loop),
(gst_mikmod_change_state):
* ext/mikmod/gstmikmod.h:
make mikmod's loop function not loop infinitely and call
gst_element_yield anymore
* gst/modplug/gstmodplug.cc:
fix pad negotiation
2004-03-09 21:09:11 +00:00
David Schleef
826d9a9e66 ext/lcs/Makefile.am: Fix so that the lcs colorspace plugin doesn't conflict with the internal colorspace plugin.
Original commit message from CVS:
* ext/lcs/Makefile.am:  Fix so that the lcs colorspace plugin
doesn't conflict with the internal colorspace plugin.
* gst-libs/gst/audio/make_filter:  Use `` instead of $() to
satisfy the crappy-ass shell shipped by a certain vendor.
* gst/videofilter/make_filter: same (bug #135299)
2004-03-09 20:55:30 +00:00
Thomas Vander Stichele
df94f12258 bump nano
Original commit message from CVS:
bump nano
2004-03-09 19:07:41 +00:00
Thomas Vander Stichele
6536d31eb8 release
Original commit message from CVS:
release
2004-03-09 18:36:14 +00:00
Thomas Vander Stichele
27f32413fe releasing
Original commit message from CVS:
releasing
2004-03-09 18:35:03 +00:00
Thomas Vander Stichele
e919f4c8c5 synchronize the two pc files
Original commit message from CVS:
synchronize the two pc files
2004-03-09 17:54:05 +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
21257d7edc removing plugins from build
Original commit message from CVS:
removing plugins from build
2004-03-09 13:10:14 +00:00
Ronald S. Bultje
bd421d033a gst-libs/gst/riff/riff-read.c: Fix metadata read crash (#136537).
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_info):
Fix metadata read crash (#136537).
2004-03-09 04:30:02 +00:00
Christian Schaller
671e95f0c4 Can you feel the nas tonight? Can you feel the NAS? hey, I am even better than Elton John at these songs
Original commit message from CVS:
Can you feel the nas tonight? Can you feel the NAS? hey, I am even better than Elton John at these songs
2004-03-08 22:24:47 +00:00
Thomas Vander Stichele
5e57bf7de7 small media-info fixes
Original commit message from CVS:
small media-info fixes
2004-03-08 22:16:04 +00:00
Christian Schaller
28a4a0c00a fix ogg pipeline in gst-launch-ext
Original commit message from CVS:
fix ogg pipeline in gst-launch-ext
2004-03-08 22:07:06 +00:00
Thomas Vander Stichele
7354fb10f9 remove user_data pad to fix MPEG video playback
Original commit message from CVS:
remove user_data pad to fix MPEG video playback
2004-03-08 18:13:18 +00:00
Thomas Vander Stichele
260a838df4 add a warning
Original commit message from CVS:
add a warning
2004-03-08 17:11:38 +00:00
David Schleef
f646ec2c80 gst/qtdemux/qtdemux.c: Added Cinepak format (bug #136470)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):  Added Cinepak
format (bug #136470)
2004-03-07 22:07:20 +00:00
Thomas Vander Stichele
a9cf545d20 this should more or less work correctly.
Original commit message from CVS:
this should more or less work correctly.
2004-03-07 20:51:10 +00:00
Christian Schaller
3abd8a559e remove conflict indicators
Original commit message from CVS:
remove conflict indicators
2004-03-07 11:26:27 +00:00
Christian Schaller
b854b950e7 Arwed von Merkatz provides us with more NAS fixes
Original commit message from CVS:
Arwed von Merkatz provides us with more NAS fixes
2004-03-07 11:24:38 +00:00
Ronald S. Bultje
d8a6be8f1f gst/qtdemux/qtdemux.c: Fix crash (j might be greater than n_samples, in which case we're writing outside the allocate...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak):
Fix crash (j might be greater than n_samples, in which case we're
writing outside the allocated space for the array) and memleak.
2004-03-07 04:03:27 +00:00
Ronald S. Bultje
4f2cd72a0f sys/oss/gstosssink.c: And another caller that couldn't handle delay < 0 (unsigned integer overflow). Video now contin...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_osssink_chain):
And another caller that couldn't handle delay < 0 (unsigned
integer overflow). Video now continues playing on an audio
buffer underrun, and the clock continues working. Audio still
stalls.
2004-03-07 02:51:33 +00:00
Ronald S. Bultje
6fd3080a4a sys/oss/gstosssink.c: get_delay() may return values lower than 0. In those cases, we should not actually cast to *uns...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_osssink_get_delay),
(gst_osssink_get_time):
get_delay() may return values lower than 0. In those cases, we
should not actually cast to *unsigned* int64, that will break
stuff horribly. In my case, it screwed up A/V sync in movies
in totem rather badly.
2004-03-07 02:09:45 +00:00
Christophe Fergeau
c2e7ededbb Fix several misuse of gst_buffer_merge (it doesn't take ownership of any buffer), should fix some leaks. I hope I did...
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* ext/faac/gstfaac.c: (gst_faac_chain):
* ext/flac/gstflactag.c: (gst_flac_tag_chain):
* ext/libpng/gstpngenc.c: (user_write_data):
* ext/mikmod/gstmikmod.c: (gst_mikmod_loop):
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_add_slice):
Fix several misuse of gst_buffer_merge (it doesn't take ownership
of any buffer), should fix some leaks. I hope I didn't unref buffers
that shouldn't be...
2004-03-06 20:56:26 +00:00
Thomas Vander Stichele
8517f3b3c1 first pass at making this work again needs quite a lot of cleanups
Original commit message from CVS:
first pass at making this work again
needs quite a lot of cleanups
2004-03-06 20:15:17 +00:00
Benjamin Otte
c22c7c691e ext/mad/gstid3tag.c: fix huge leak: gst_buffer_merge doesn't unref the first argument itself.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
fix huge leak: gst_buffer_merge doesn't unref the first argument
itself.
2004-03-06 19:32:50 +00:00
Thomas Vander Stichele
95fb3df2b0 report mode/layer/emph
Original commit message from CVS:
report mode/layer/emph
2004-03-06 18:39:38 +00:00
Christophe Fergeau
317fc49fba ext/mad/gstmad.c: fixed caps leak
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstmad.c: (gst_mad_chain): fixed caps leak
2004-03-06 18:22:51 +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
Christophe Fergeau
2281efe704 ext/mad/gstmad.c: send the average bitrate read from the xing header
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstmad.c: (gst_mad_chain): send the average bitrate read
from the xing header
2004-03-06 16:02:21 +00:00
Benjamin Otte
33f79a881e gst/audioconvert/gstaudioconvert.c: do conversions from/to float correctly, fix some caps nego errors, export correct...
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_getcaps),
(gst_audio_convert_link), (gst_audio_convert_change_state),
(gst_audio_convert_buffer_from_default_format):
do conversions from/to float correctly, fix some caps nego errors,
export correct supported caps in template and getcaps, use correct
caps in try_set_caps functions
2004-03-06 13:26:12 +00:00
Christophe Fergeau
5b32d38c0b For some reason, I only committed a ChangeLog entry yesterday and not the corresponding code...
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

For some reason, I only committed a ChangeLog entry yesterday and
not the corresponding code...
* ext/mad/gstmad.c: Fix detection of Xing headers
* gst/tags/gstid3tag.c: Changes to support TLEN tags
2004-03-06 12:04:32 +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
David Schleef
f0365ebe22 ext/aalib/gstaasink.c: Add fixate function. (bug #131128)
Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_fixate), (gst_aasink_init):
Add fixate function. (bug #131128)
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init),
(gst_sdlvideosink_fixate):  Add fixate function.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Fix attempt to print a non-pointer using GST_PTR_FORMAT.
* gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt):
Fix missing break that was causing ulaw to be interpreted as
raw int.
2004-03-06 04:51:15 +00:00
David Schleef
16860a5c42 gst/mpegstream/gstrfc2250enc.c: Fix code that ignores return value of gst_buffer_merge(). (bug #114560)
Original commit message from CVS:
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_add_slice):
Fix code that ignores return value of gst_buffer_merge().
(bug #114560)
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_descramble_segment):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_add_slice): same
* testsuite/gst-lint:  Check for above.
2004-03-06 01:25:58 +00:00
David Schleef
84dfbc108d gst/udp/gstudpsrc.c: Check for unfixed caps and throw an element error. (bug #136334)
Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_get):  Check for unfixed
caps and throw an element error.  (bug #136334)
2004-03-06 01:01:28 +00:00
David Schleef
befdae8cda ext/faad/gstfaad.c: Fix negotiation.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_srcgetcaps),
(gst_faad_chain): Fix negotiation.
* ext/librfb/gstrfbsrc.c: (gst_rfbsrc_handle_src_event): Add
key and button events.
* gst-libs/gst/floatcast/floatcast.h: Fix a minor bug in this
dung heap of code.
* gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc.in: gstgconf
depends on gconf
* gst-libs/gst/gconf/gstreamer-gconf.pc.in: same
* gst-libs/gst/play/play.c: (gst_play_pipeline_setup),
(gst_play_video_fixate), (gst_play_audio_fixate): Add a fixate
function to encourage better negotiation, particularly between
audioconvert and osssink.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain):
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):  Make some debugging
more important.
* gst/typefind/gsttypefindfunctions.c:  Fix mistake in flash
typefinding.
* gst/vbidec/vbiscreen.c:  Add glib header
* pkgconfig/gstreamer-play.pc.in:  Depends on gst-interfaces.
2004-03-06 00:42:20 +00:00
Christophe Fergeau
ed612f9cf2 ext/mad/gstmad.c: Fix detection of Xing headers
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@users.sourceforge.net>

* ext/mad/gstmad.c: Fix detection of Xing headers
* gst/tags/gstid3tag.c: Changes to support TLEN tags
2004-03-06 00:24:14 +00:00
Thomas Vander Stichele
2cc3a5caae debug updates
Original commit message from CVS:
debug updates
2004-03-06 00:13:19 +00:00
Christophe Fergeau
eba34204ed ext/mad/: parse Xing header in vbr files, and report the parsed length as a GST_TAG_DURATION tag.
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
* ext/mad/gstmad.c: (gst_mad_init), (is_xhead),
(mpg123_parse_xing_header), (gst_mad_chain): parse Xing header in vbr
files, and report the parsed length as a GST_TAG_DURATION tag.
* gst/tags/gstid3tag.c: support TLEN (duration) tag
2004-03-05 23:32:36 +00:00
Benjamin Otte
043693d8d9 gst/audioconvert/gstaudioconvert.c: convert channels correctly. convert correctly to unsigned.
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_channels):
convert channels correctly. convert correctly to unsigned.
2004-03-05 21:05:26 +00:00
Julien Moutte
c6ae4cb8ca sys/xvimage/xvimagesink.c: Check if we have a window before clearing it.
Original commit message from CVS:
2004-03-05  Julien MOUTTE <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state): Check if
we have a window before clearing it.
2004-03-05 14:50:23 +00:00
Julien Moutte
49a51710c9 sys/ximage/ximagesink.c: Check if we have a window before clearing it.
Original commit message from CVS:
2004-03-05  Julien MOUTTE <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_change_state): Check if we
have a window before clearing it.
2004-03-05 14:40:41 +00:00
Thomas Vander Stichele
bc85c3da12 fix gconf install path
Original commit message from CVS:
fix gconf install path
2004-03-05 12:13:10 +00:00
David Schleef
f6ca49f429 gst/qtdemux/qtdemux.c: Add prototype code for handling seeking and querying.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_get_src_formats),
(gst_qtdemux_src_convert), (gst_qtdemux_get_src_query_types),
(gst_qtdemux_get_event_mask), (gst_qtdemux_handle_src_query),
(gst_qtdemux_handle_src_event), (gst_qtdemux_add_stream):
Add prototype code for handling seeking and querying.
2004-03-05 08:37:00 +00:00
Ronald S. Bultje
0e17034347 examples/gstplay/player.c: Initialize variables to NULL. Prevents a segfault because the (uninitialized) variable is ...
Original commit message from CVS:
* examples/gstplay/player.c: (main):
Initialize variables to NULL. Prevents a segfault because the
(uninitialized) variable is not NULL, resulting in a crash on
trying to reach error->message.
2004-03-05 02:30:10 +00:00
Benjamin Otte
02c11b879e gst/audioconvert/gstaudioconvert.c: make float=>int conversion work correctly even in cornercases.
Original commit message from CVS:
2004-03-05  Benjamin Otte  <otte@gnome.org>

* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_buffer_to_default_format):
make float=>int conversion work correctly even in cornercases.
2004-03-04 23:30:29 +00:00
David I. Lehn
53e241ccd4 Debian package info not maintained here.
Original commit message from CVS:
Debian package info not maintained here.
2004-03-04 23:27:42 +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
David Schleef
aac63090d4 testsuite/gst-lint: Add a check for bad signal names.
Original commit message from CVS:
* testsuite/gst-lint:  Add a check for bad signal names.
2004-03-04 20:28:07 +00:00
David Schleef
4033eb8319 gst/videofilter/gstgamma.c: Fix typo that modified the alpha channel and caused a warning. (bug #136192)
Original commit message from CVS:
reviewed by David Schleef
* gst/videofilter/gstgamma.c: (gst_gamma_rgb32): Fix typo that
modified the alpha channel and caused a warning. (bug #136192)
2004-03-04 20:18:44 +00:00
Christian Schaller
4d0d8d5a1b fix the spec
Original commit message from CVS:
fix the spec
2004-03-04 20:13:09 +00:00
Julien Moutte
b08569a5fc gst-libs/gst/gconf/gconf.c: Using ximagesink as a default if no gconf key found. We should probably consider using al...
Original commit message from CVS:
2004-03-03  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/gconf/gconf.c: (gst_gconf_get_default_video_sink):
Using ximagesink as a default if no gconf key found. We should
probably consider using alsasink instead of osssink for the audio
part.
2004-03-03 11:41:50 +00:00
Thomas Vander Stichele
c2f6c284fb fix --with-plugins
Original commit message from CVS:
fix --with-plugins
2004-03-02 18:32:27 +00:00
Ronald S. Bultje
78686acd60 Fix for move of gstvideosink.h -> videosink.h.
Original commit message from CVS:
* ext/sdl/sdlvideosink.h:
* sys/ximage/ximagesink.h:
* sys/xvideo/xvideosink.h:
* sys/xvimage/xvimagesink.h:
Fix for move of gstvideosink.h -> videosink.h.
2004-03-02 02:10:28 +00:00
Thomas Vander Stichele
efaac02d08 xwindowlistener is a plugin helper lib, not a full lib
Original commit message from CVS:
xwindowlistener is a plugin helper lib, not a full lib
2004-03-01 23:20:52 +00:00
David Schleef
dbeeba4ad2 AUTHORS: Added some names. Add yourself if you're still missing.
Original commit message from CVS:
* AUTHORS:  Added some names.  Add yourself if you're still
missing.
2004-03-01 21:00:17 +00:00
David Schleef
8e95f83441 MAINTAINERS: Add
Original commit message from CVS:
* MAINTAINERS: Add
2004-03-01 20:55:30 +00:00
Thomas Vander Stichele
08510b0df3 fix spec file
Original commit message from CVS:
fix spec file
2004-03-01 16:36:35 +00:00
Thomas Vander Stichele
2279068b51 fix plugin names move gstvideosink.h to videosink.h
Original commit message from CVS:
fix plugin names
move gstvideosink.h to videosink.h
2004-03-01 16:17:21 +00:00
Thomas Vander Stichele
077eab99a7 fix plugin filename
Original commit message from CVS:
fix plugin filename
2004-03-01 15:55:01 +00:00
Christophe Fergeau
33225a4b41 sys/oss/gstosselement.*: Reworked enumeration of oss dsps and mixers so that gst-mixer works on my system using alsa ...
Original commit message from CVS:
2004-02-29  Christophe Fergeau  <teuf@gnome.org>

* sys/oss/gstosselement.c: (gst_osselement_probe),
(device_combination_append), (gst_osselement_class_probe_devices):
* sys/oss/gstosselement.h:
Reworked enumeration of oss dsps and mixers so that gst-mixer works
on my system using alsa oss emulation, fixes bug #135597
2004-02-29 10:43:03 +00:00
Ronald S. Bultje
2a55f852ea gst/videodrop/gstvideodrop.*: Work based on timestamp of input data, not based on the expected framerate from the inp...
Original commit message from CVS:
* gst/videodrop/gstvideodrop.c: (gst_videodrop_init),
(gst_videodrop_chain), (gst_videodrop_change_state):
* gst/videodrop/gstvideodrop.h:
Work based on timestamp of input data, not based on the expected
framerate from the input. The consequence is that this element now
not only scales framerates, but also functions as a framerate
corrector or framerate stabilizer/constantizer.
2004-02-29 05:14:24 +00:00
David Schleef
530560838b patches from jmmv@menta.net (Julio M. Merino Vidal)
Original commit message from CVS:
patches from jmmv@menta.net (Julio M. Merino Vidal)
* gst/interleave/deinterleave.c: (deinterleave_chain): Fix
GST_ELEMENT_ERROR call (bug #135634)
* gst/interleave/interleave.c: (interleave_buffered_loop),
(interleave_bytestream_loop): Don't use alloca() (bug #135640)
* sys/cdrom/gstcdplayer_ioctl_bsd.h: Fix ioctls on NetBSD (bug #135645)
* sys/oss/gstosssink.c: (gst_osssink_get_delay),
(gst_osssink_chain): Fix ioctls on NetBSD. (bug #135644)
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_sync_next_frame),
(gst_v4lmjpegsrc_set_capture), (gst_v4lmjpegsrc_set_capture_m),
(gst_v4lmjpegsrc_capture_init), (gst_v4lmjpegsrc_requeue_frame):
Fix GST_ELEMENT_ERROR call.
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_try_palette): Fix
GST_ELEMENT_ERROR call.
2004-02-27 23:36:43 +00:00
Benjamin Otte
e4a3aa6fba gst-libs/gst/audio/audio.h: add macro to make sure header isn't included twice
Original commit message from CVS:
2004-02-27  Benjamin Otte  <otte@gnome.org>

* gst-libs/gst/audio/audio.h:
add macro to make sure header isn't included twice
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
don't use gst_buffer_free
* gst/playondemand/filter.func:
don't usae gst_data_free. Free data only once.
2004-02-27 21:47:49 +00:00
David Schleef
14db016878 gst/: -marshal.[ch] and -enum.[ch] files should not be disted, -marshal.h files should not be installed, and -enum.h ...
Original commit message from CVS:
* gst-libs/gst/colorbalance/Makefile.am:
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/tuner/Makefile.am:
* gst/level/Makefile.am: -marshal.[ch] and -enum.[ch] files
should not be disted, -marshal.h files should not be installed,
and -enum.h files _should_ be installed.  Fix to make this the
case.
2004-02-27 02:39:18 +00:00
Thomas Vander Stichele
f6874625a5 back to nano
Original commit message from CVS:
back to nano
2004-02-26 18:12:55 +00:00
Thomas Vander Stichele
d31fb663bd assorted debug/warning fixes
Original commit message from CVS:
assorted debug/warning fixes
2004-02-25 17:45:54 +00:00
Thomas Vander Stichele
5c204680fb add debug category and use it properly
Original commit message from CVS:
add debug category and use it properly
2004-02-25 17:37:26 +00:00
Andy Wingo
cd8976a9eb gst/interleave/interleave.c (interleave_buffered_loop): Always push only when channel->buffer is NULL. Prevents segfa...
Original commit message from CVS:
2004-02-25  Andy Wingo  <wingo@pobox.com>

* gst/interleave/interleave.c (interleave_buffered_loop): Always
push only when channel->buffer is NULL. Prevents segfaults doing
the state change after a nonlocal exit, like a scheme exception.

* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_getcaps):
Handle the case where the intersected caps is empty.
2004-02-25 13:25:44 +00:00
Thomas Vander Stichele
cf70765aca fix mulawdec
Original commit message from CVS:
fix mulawdec
2004-02-24 23:44:48 +00:00
David Schleef
066bff5695 gst/videofilter/gstgamma.c: Adds gamma correction for RGB, with separate r g and b correction factors.
Original commit message from CVS:
reviewed by: David Schleef  <ds@schleef.org>
* gst/videofilter/gstgamma.c: (gst_gamma_class_init),
(gst_gamma_init), (gst_gamma_set_property),
(gst_gamma_get_property), (gst_gamma_calculate_tables),
(gst_gamma_rgb24), (gst_gamma_rgb32):  Adds gamma correction
for RGB, with separate r g and b correction factors.
2004-02-24 21:23:40 +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
David Schleef
02fce7294a gst/qtdemux/qtdemux.c: Cleanups. Convert g_prints to GST_LOGs. Add qtdemux debug category. Attempt to fix timestam...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (plugin_init), (gst_qtdemux_loop_header),
(qtdemux_parse_moov), (qtdemux_parse), (qtdemux_node_dump_foreach),
(qtdemux_dump_mvhd), (qtdemux_dump_tkhd), (qtdemux_dump_elst),
(qtdemux_dump_mdhd), (qtdemux_dump_hdlr), (qtdemux_dump_vmhd),
(qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_stts),
(qtdemux_dump_stss), (qtdemux_dump_stsc), (qtdemux_dump_stsz),
(qtdemux_dump_stco), (qtdemux_dump_co64), (qtdemux_dump_dcom),
(qtdemux_dump_cmvd), (qtdemux_parse_tree), (qtdemux_parse_trak):
Cleanups.  Convert g_prints to GST_LOGs.  Add qtdemux debug
category.  Attempt to fix timestamp calculation.
2004-02-24 17:17:56 +00:00
Johan Dahlin
cc02b0dd3c gst-libs/gst/gconf/gconf.c: Add \n to g_print error messages
Original commit message from CVS:
* gst-libs/gst/gconf/gconf.c: Add \n to g_print error messages
2004-02-24 17:16:07 +00:00
Thomas Vander Stichele
ff81abd2bf versioning gstreamer schemas and install location
Original commit message from CVS:
versioning gstreamer schemas and install location
2004-02-23 22:31:48 +00:00
Benjamin Otte
409ddc4500 ext/xine/xineinput.c: call parent dispose.
Original commit message from CVS:
2004-02-23  Benjamin Otte  <otte@gnome.org>

* ext/xine/xineinput.c: (gst_xine_input_dispose):
(gst_xine_input_subclass_init):
call parent dispose.
change pad template for CD reader correctly
* ext/xine/Makefile.am:
* ext/xine/gstxine.h:
* ext/xine/xine.c: (plugin_init):
* ext/xine/xineaudiosink.c:
wrap audio sinks, too
* gst-libs/gst/resample/private.h:
* gst-libs/gst/resample/resample.c: (gst_resample_init),
(gst_resample_reinit), (gst_resample_scale),
(gst_resample_nearest_s16), (gst_resample_bilinear_s16),
(gst_resample_sinc_slow_s16), (gst_resample_sinc_s16),
(gst_resample_sinc_ft_s16), (gst_resample_nearest_float),
(gst_resample_bilinear_float), (gst_resample_sinc_slow_float),
(gst_resample_sinc_float), (gst_resample_sinc_ft_float):
* gst-libs/gst/resample/resample.h:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_method_get_type),
(gst_audioscale_class_init), (gst_audioscale_link),
(gst_audioscale_get_buffer), (gst_audioscale_init),
(gst_audioscale_chain), (gst_audioscale_set_property),
(gst_audioscale_get_property):
* gst/audioscale/gstaudioscale.h:
s/resample_*/gst_resample_*/i to not clobber namespaces
2004-02-23 22:21:30 +00:00
Julien Moutte
678a8ee805 gst/: First batch implementing audio and video codec tags in demuxers.
Original commit message from CVS:
2004-02-23  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_audio_caps), (gst_riff_create_iavs_caps),
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps),
(gst_riff_create_iavs_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_audio_caps), (gst_asf_demux_add_audio_stream),
(gst_asf_demux_video_caps), (gst_asf_demux_add_video_stream):
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
(gst_matroska_demux_plugin_init): First batch implementing audio and
video codec tags in demuxers.
2004-02-23 22:16:21 +00:00
Benjamin Otte
3b26c77cbd ext/xine/: add input plugin wrapper. Playback from files, http, mms and cdda works.
Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

* ext/xine/Makefile.am:
* ext/xine/gstxine.h:
* ext/xine/xine.c: (plugin_init):
* ext/xine/xineinput.c:
add input plugin wrapper. Playback from files, http, mms and cdda
works.
* ext/xine/xineaudiodec.c: (gst_xine_audio_dec_chain):
remove leftover G_GNUC_UNUSED
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_stream),
(gst_asf_demux_identify_guid):
improve debugging output
2004-02-22 20:52:14 +00:00
Benjamin Otte
ca28b5b5cb autogen.sh: replace test -e with test -x for mkinstalldirs to be more portable.
Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

reported by: Padraig O'Briain <padraig.obriain@sun.com>

* autogen.sh:
replace test -e with test -x for mkinstalldirs to be more portable.
(fixes #134816)
2004-02-22 15:59:08 +00:00
Benjamin Otte
355318b59d gst/audioconvert/gstaudioconvert.c: set rank to PRIMARY
Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

reported by: Stefan Kost <kost@imn.htwk-leipzig.de>

* gst/audioconvert/gstaudioconvert.c: (plugin_init):
set rank to PRIMARY
* gst/volume/gstvolume.c: (plugin_init):
set rank to NONE
fixes #134960

2004-02-22   Julio M. Merino Vidal <jmmv@menta.net>

reviewed by Benjamin Otte  <otte@gnome.org>

* ext/flac/gstflacenc.c: (gst_flacenc_chain):
escape NULL strings in GST_ELEMENT_ERROR properly (fixes #135116)
2004-02-22 15:31:30 +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
Ramon Garcia Fernandez
e1a8f471cd Export only gst_plugin_desc from plugins
Original commit message from CVS:
Export only gst_plugin_desc from plugins
2004-02-22 01:53:40 +00:00
Andy Wingo
ce89f16818 gst/intfloat/, gst/oneton: Removed, replaced by audioconvert and interleave respectively.
Original commit message from CVS:
2004-02-20  Andy Wingo  <wingo@pobox.com>

* gst/intfloat/, gst/oneton: Removed, replaced by audioconvert and
interleave respectively.

* gst/interleave/deinterleave.c: New plugin: deinterleave
(replaces on oneton).
* gst/interleave/interleave.c: New plugin: interleave.
* gst/interleave/plugin.h: Support file.
* gst/interleave/plugin.c: Support file.

* configure.ac: Remove intfloat and oneton, add interleave.

* ext/sndfile/gstsf.c: Handle events better.

* gst/audioconvert/gstaudioconvert.c: Change to support int2float
and float2int operation. int2float has scheduling problems as
noted in in2float_chain.
2004-02-20 14:17:57 +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
David Schleef
bb3eed46a0 ext/gdk_pixbuf/gstgdkpixbuf.c: Disable gdk_pixbuf typefinding, since it seems to be worse than nothing.
Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init): Disable gdk_pixbuf
typefinding, since it seems to be worse than nothing.
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):  Add ftyp
atom to recognize .mp4 and .m4a files as video/quicktime.
2004-02-19 02:55:21 +00:00
David Schleef
275aac5a50 gst/sine/demo-dparams.c: Use double dparams, not float.
Original commit message from CVS:
* gst/sine/demo-dparams.c: (quit_live),
(dynparm_log_value_changed), (dynparm_value_changed), (main):
Use double dparams, not float.
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_init): Change sync default to FALSE, since multiple
sync'd elements don't really work correctly.
* gst/volume/gstvolume.c: (volume_class_init), (volume_init),
(volume_update_volume), (volume_get_property):  Change dparam
to double.
2004-02-19 01:45:01 +00:00
Julien Moutte
c773027855 sys/ximage/ximagesink.c: Rework the way software video scaling works. So now we check on each chain call if the video...
Original commit message from CVS:
2004-02-18  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c:
(gst_ximagesink_xwindow_update_geometry),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_handle_xevents),
(gst_ximagesink_change_state), (gst_ximagesink_expose),
(gst_ximagesink_init): Rework the way software video scaling works. So
now we check on each chain call if the video frames are feeling the
window. If not we try to renegotiate caps. On failure we memorize that
and we won't try again for that PLAYING sessions.
* sys/ximage/ximagesink.h: Adding a boolean to store the caps renego
failure.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_init): initialize the
synchronous flag.
2004-02-18 21:16:50 +00:00
Thomas Vander Stichele
38471bcd13 break up link function for better error debug
Original commit message from CVS:
break up link function for better error debug
2004-02-18 18:41:36 +00:00
Thomas Vander Stichele
57c07bbf36 add debug category
Original commit message from CVS:
add debug category
2004-02-18 16:44:51 +00:00
Julien Moutte
bf3ab91919 sys/ximage/ximagesink.c: Reorganizing the way renegotiation work. The event handling function is not taking care of e...
Original commit message from CVS:
2004-02-18  Julien MOUTTE <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_renegotiate_size),
(gst_ximagesink_handle_xevents), (gst_ximagesink_expose): Reorganizing
the way renegotiation work. The event handling function is not taking
care of external windows and renegotiate method check for pad flags
NEGOTIATING. Should fix : #133209
2004-02-18 13:06:49 +00:00
Julien Moutte
f2d0b3c34e sys/ximage/ximagesink.c: Checking if the pad is negotiating before trying renegotiation.
Original commit message from CVS:
2004-02-17  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_expose): Checking if the
pad is negotiating before trying renegotiation.
2004-02-17 22:55:52 +00:00
Thomas Vander Stichele
a87e0639fe pass on all possible mime types as hints add extra debug info to detectendless loop
Original commit message from CVS:
pass on all possible mime types as hints
add extra debug info to detectendless loop
2004-02-17 18:09:15 +00:00
Julien Moutte
a3abb5586f sys/: Fix a possible SHM leak if we crash. All other apps using XShm are doing that.
Original commit message from CVS:
2004-02-17  Julien MOUTTE <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new): Fix a
possible SHM leak if we crash. All other apps using XShm are doing
that.
2004-02-17 11:06:52 +00:00
Julien Moutte
f9afb0e75f sys/ximage/ximagesink.c: Renegotiate size on expose.
Original commit message from CVS:
2004-02-17  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_renegotiate_size),
(gst_ximagesink_expose): Renegotiate size on expose.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_expose): Update window
size on expose.
2004-02-16 23:45:55 +00:00
Benjamin Otte
a627711a3c testsuite/alsa/sinesrc.c: cosmetic fix to fix compile issue with gcc 2.95.4
Original commit message from CVS:
2004-02-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* testsuite/alsa/sinesrc.c:
cosmetic fix to fix compile issue with gcc 2.95.4
2004-02-16 22:37:36 +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
Thomas Vander Stichele
0f003d87b3 throw error instead of assertion
Original commit message from CVS:
throw error instead of assertion
2004-02-16 11:45:32 +00:00
Julien Moutte
2b5dba5de4 gst/switch/gstswitch.c: More fixes for correct data refcounting.
Original commit message from CVS:
2004-02-15  Julien MOUTTE  <julien@moutte.net>

* gst/switch/gstswitch.c: (gst_switch_loop): More fixes for
correct data refcounting.
2004-02-15 18:20:14 +00:00
Julien Moutte
4bd251c9a5 gst/switch/gstswitch.c: Cleaning the sinkpads correctly on state change, mostly the EOS flag.
Original commit message from CVS:
2004-02-15  Julien MOUTTE  <julien@moutte.net>

* gst/switch/gstswitch.c: (gst_switch_change_state),
(gst_switch_class_init): Cleaning the sinkpads correctly on state
change, mostly the EOS flag.
2004-02-15 18:05:04 +00:00
Julien Moutte
e678129a7e examples/gstplay/player.c: Adding some output for debugging.
Original commit message from CVS:
2004-02-15  Julien MOUTTE  <julien@moutte.net>

* examples/gstplay/player.c: (got_eos), (main): Adding some
output for debugging.
* gst-libs/gst/play/play.c: (gst_play_state_change): Stop our
timeouts if we go to any state different from PLAYING.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek): Fix some
more EOS bugs in riff lib.
2004-02-15 17:41:28 +00:00
Julien Moutte
a21475966d gst-libs/gst/play/play.c: Disable visualization until i find a way to fix switch correctly.
Original commit message from CVS:
2004-02-14  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/play.c: (gst_play_connect_visualization): Disable
visualization until i find a way to fix switch correctly.
* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head): Fix a bug when
EOS arrives.
* gst/switch/gstswitch.c: (gst_switch_release_pad),
(gst_switch_request_new_pad), (gst_switch_poll_sinkpads),
(gst_switch_loop), (gst_switch_dispose), (gst_switch_class_init):
Reworked switch to get a more correct behaviour with events and refing
of data stored in sinkpads.
* gst/switch/gstswitch.h: Adding an eos flag for every sinkpad so that
we don't pull from a pad in EOS.
2004-02-14 18:37:48 +00:00
Thomas Vander Stichele
6d6a7a8241 ffmpeg plugin moved to gst-ffmpeg module
Original commit message from CVS:
ffmpeg plugin moved to gst-ffmpeg module
2004-02-14 14:39:59 +00:00
Benjamin Otte
c9ad09bd6e ext/mad/gstid3tag.c: remove v1 tag even if we can't read it (makes sure we don't detect it again)
Original commit message from CVS:
2004-02-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
remove v1 tag even if we can't read it (makes sure we don't detect
it again)
2004-02-14 09:14:19 +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
David Schleef
9f2dbcdf15 gst/sine/demo-dparams.c: Convert from float to double.
Original commit message from CVS:
* gst/sine/demo-dparams.c: (dynparm_log_value_changed),
(dynparm_value_changed), (main): Convert from float to double.
* gst/sine/gstsinesrc.c: (gst_sinesrc_init): same.
2004-02-14 02:41:51 +00:00
David Schleef
bb977a97a3 gst/silence/gstsilence.*: Add sync property.
Original commit message from CVS:
* gst/silence/gstsilence.c: (gst_silence_class_init),
(gst_silence_set_clock), (gst_silence_get),
(gst_silence_set_property), (gst_silence_get_property):
* gst/silence/gstsilence.h: Add sync property.
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_init), (gst_sinesrc_set_clock), (gst_sinesrc_get),
(gst_sinesrc_set_property), (gst_sinesrc_get_property):
* gst/sine/gstsinesrc.h: Add sync property.
2004-02-14 02:17:40 +00:00
David Schleef
9bdec23a91 gst/intfloat/gstint2float.c: Change stdint usage to glib types.
Original commit message from CVS:
* gst/intfloat/gstint2float.c: (conv_f32_s16),
(gst_int2float_chain_gint16):  Change stdint usage to glib types.
2004-02-13 21:06:00 +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
Thomas Vander Stichele
e991c9ffe6 use GST_ARCH
Original commit message from CVS:
use GST_ARCH
2004-02-13 13:09:27 +00:00
Julien Moutte
4cb8915011 gst/vbidec/vbiscreen.c: Fixing thomasvs fixes. Missing header.
Original commit message from CVS:
2004-02-12  Julien MOUTTE  <julien@moutte.net>

* gst/vbidec/vbiscreen.c: Fixing thomasvs fixes. Missing header.
2004-02-12 21:00:47 +00:00
Thomas Vander Stichele
9c32211ad1 fixes for #133316, #133663 and #133528 (Stefan Kost)
Original commit message from CVS:
fixes for #133316, #133663 and #133528 (Stefan Kost)
2004-02-12 18:18:51 +00:00
David Schleef
5ccfb9f00a Convert a few inner loops to use liboil. This is currently optional, and is only enabled if liboil is present (duh!).
Original commit message from CVS:
Convert a few inner loops to use liboil.  This is currently
optional, and is only enabled if liboil is present (duh!).
* configure.ac: Check for liboil-0.1
* gst/intfloat/Makefile.am:
* gst/intfloat/gstint2float.c: (conv_f32_s16), (scalarmult_f32),
(gst_int2float_chain_gint16):
* gst/videofilter/Makefile.am:
* gst/videofilter/gstvideobalance.c: (gst_videobalance_class_init),
(tablelookup_u8), (gst_videobalance_planar411):
* gst/videotestsrc/Makefile.am:
* gst/videotestsrc/gstvideotestsrc.c: (plugin_init):
* gst/videotestsrc/videotestsrc.c: (splat_u8), (paint_hline_YUY2),
(paint_hline_IYU2), (paint_hline_str4), (paint_hline_str3),
(paint_hline_RGB565), (paint_hline_xRGB1555):
2004-02-12 07:37:50 +00:00
David Schleef
3b99bba097 ext/lcs/gstcolorspace.c: Merge Ronald's patch (bug #117897) and update for new caps and negotiation. Seems to work, ...
Original commit message from CVS:
* ext/lcs/gstcolorspace.c: (colorspace_find_lcs_format),
(gst_colorspace_caps_get_fourcc), (colorspace_setup_converter),
(gst_colorspace_getcaps), (gst_colorspace_link),
(gst_colorspace_base_init), (gst_colorspace_init),
(gst_colorspace_chain), (gst_colorspace_change_state),
(plugin_init): Merge Ronald's patch (bug #117897) and update
for new caps and negotiation.  Seems to work, although it
shows off bugs in lcs.
2004-02-12 02:48:34 +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
David Schleef
cd42c02dff ext/librfb/gstrfbsrc.c: Add server and port properties
Original commit message from CVS:
* ext/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init),
(gst_rfbsrc_change_state), (gst_rfbsrc_init),
(gst_rfbsrc_set_property), (gst_rfbsrc_get_property):
Add server and port properties
2004-02-11 18:44:59 +00:00
Thomas Vander Stichele
f80c9eafc1 fix underquotedness of macros
Original commit message from CVS:
fix underquotedness of macros
2004-02-11 16:44:05 +00:00
Thomas Vander Stichele
47f8959de4 fix ulonglong.m4 missing by upping gettext required version
Original commit message from CVS:
fix ulonglong.m4 missing by upping gettext required version
2004-02-11 16:29:22 +00:00
Benjamin Otte
8fd7d9c901 ext/ffmpeg/: fix memleaks
Original commit message from CVS:
2004-02-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init):
fix memleaks
2004-02-11 08:38:26 +00:00
David Schleef
ae0e612e6b ext/gdk_pixbuf/gstgdkpixbuf.c: Fix logic bug causing spurious errors.
Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link),
(gst_gdk_pixbuf_chain): Fix logic bug causing spurious errors.
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_base_init),
(gst_jpegdec_init), (gst_jpegdec_chain): Fix negotiation.
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_base_init),
(gst_jpegenc_class_init), (gst_jpegenc_init),
(gst_jpegenc_getcaps), (gst_jpegenc_link), (gst_jpegenc_resync),
(gst_jpegenc_chain), (gst_jpegenc_set_property),
(gst_jpegenc_get_property):  Fix negotiation.  Add some properties.
* ext/jpeg/gstjpegenc.h: Fix negotiation.
2004-02-11 08:31:34 +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
Benjamin Otte
07674249eb gst-libs/gst/: remove unused GST_OPT_CFLAGS from Makefiles include X_CFLAGS and X_LIBS in xoverlay. (#131948)
Original commit message from CVS:
2004-02-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/colorbalance/Makefile.am:
* gst-libs/gst/navigation/Makefile.am:
* gst-libs/gst/xoverlay/Makefile.am:
remove unused GST_OPT_CFLAGS from Makefiles
include X_CFLAGS and X_LIBS in xoverlay. (#131948)
2004-02-08 13:35:42 +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
Jan Schmidt
96a34af04f Second attempt at committing a working dvdec element.
Original commit message from CVS:
Second attempt at committing a working dvdec element.
2004-02-07 13:04:08 +00:00
David Schleef
f69822bcbd Build fixes for OS X: (see #129600)
Original commit message from CVS:
Build fixes for OS X: (see #129600)
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_strh),
(gst_riff_read_strf_vids), (gst_riff_read_strf_auds),
(gst_riff_read_strf_iavs):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml):
* gst/playondemand/Makefile.am:
* gst/rtp/rtp-packet.c:
2004-02-07 01:34:04 +00:00
Thomas Vander Stichele
d22b248411 changelog update
Original commit message from CVS:
changelog update
2004-02-06 15:32:56 +00:00
David Schleef
f89bdfc195 ext/dv/gstdvdec.c: Revert last change, because it Just Doesn't Compile.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_loop): Revert
last change, because it Just Doesn't Compile.
2004-02-05 23:15:00 +00:00
Benjamin Otte
82750d1e4f ext/mad/gstid3tag.c: skip undecodable id3v2 tag instead of keeping it
Original commit message from CVS:
2004-02-05  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
skip undecodable id3v2 tag instead of keeping it
2004-02-05 23:02:59 +00:00
David Schleef
1589d1b80e gst/mpegaudioparse/gstmpegaudioparse.c: Unref leaked buffer. (Noticed by Ronald)
Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Unref leaked buffer.  (Noticed by Ronald)
2004-02-05 22:24:58 +00:00
David I. Lehn
43fe48e925 pkgconfig/gstreamer-libs-uninstalled.pc.in: Sync requires with other checks. >= vs =.
Original commit message from CVS:
* pkgconfig/gstreamer-libs-uninstalled.pc.in:
Sync requires with other checks.  >= vs =.
2004-02-05 17:09:37 +00:00
Jan Schmidt
8cc154bb65 Rework caps negotiation in the element so that it works again.
Original commit message from CVS:
Rework caps negotiation in the element so that it works again.
2004-02-05 13:16:22 +00:00
Thomas Vander Stichele
84cffdae28 fix uninstalled pkgconfig files remove play and gconf from -libs
Original commit message from CVS:
fix uninstalled pkgconfig files
remove play and gconf from -libs
2004-02-05 11:52:06 +00:00
David Schleef
65c3af0c86 gst/wavparse/gstwavparse.c: Fix a caps memleak.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt): Fix a caps
memleak.
2004-02-05 03:19:12 +00:00
Benjamin Otte
9b47d6474a gst-libs/gst/riff/riff-read.c: use correct GST_TAG_ENCODER tag
Original commit message from CVS:
2004-02-05  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/riff/riff-read.c: (gst_riff_read_info):
use correct GST_TAG_ENCODER tag
2004-02-05 03:02:42 +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
Benjamin Otte
d34867024f ext/mad/gstid3tag.c: that should be !=, not == (fixes #132519)
Original commit message from CVS:
2004-02-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_id3_tag_do_caps_nego):
that should be !=, not == (fixes #132519)
2004-02-04 22:17:16 +00:00
David Schleef
d5d7e1ed17 Make sure set_explicit_caps() is called before adding pad.
Original commit message from CVS:
Make sure set_explicit_caps() is called before adding pad.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
* gst/id3/gstid3types.c: (gst_id3types_loop):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
2004-02-04 21:40:49 +00:00
Thomas Vander Stichele
ec752e6445 appease libtool gods
Original commit message from CVS:
appease libtool gods
2004-02-04 21:30:15 +00:00
Thomas Vander Stichele
1060b2c453 first prerel
Original commit message from CVS:
first prerel
2004-02-04 21:05:45 +00:00
Thomas Vander Stichele
04472b28bf don't run user tests on auto test suite
Original commit message from CVS:
don't run user tests on auto test suite
2004-02-04 19:59:53 +00:00
David Schleef
5d002f4988 Convert GST_DEBUG_CAPS() to GST_DEBUG():
Original commit message from CVS:
Convert GST_DEBUG_CAPS() to GST_DEBUG():
* gst/mpeg1videoparse/gstmp1videoparse.c:
(mp1videoparse_parse_seq):
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps):
* sys/xvideo/gstxwindow.c: (_gst_xwindow_new):
* sys/xvideo/xvideosink.c: (gst_xvideosink_sinkconnect),
(gst_xvideosink_getcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
* testsuite/gst-lint: more tests
2004-02-04 19:45:32 +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
d7949a9ba8 gst/sine/gstsinesrc.c: fix memleak by properly disposing sinesrc
Original commit message from CVS:
2004-02-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>

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

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

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

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

* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream):
set explicit caps before adding the element, so the autopluggers can
plug correctly.
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
(mpeg2_sys_type_find), (mpeg1_sys_type_find),
(mpeg_video_type_find), (mpeg_video_stream_type_find),
(dv_type_find):
fix memleaks in typefind functions. gst_type_find_suggest takes a const
argument.
2004-02-03 18:42:49 +00:00
Thomas Vander Stichele
e963f78788 use glib-gen.mak fix Makefile.am bugs and clean them up
Original commit message from CVS:
use glib-gen.mak
fix Makefile.am bugs and clean them up
2004-02-03 16:49:54 +00:00
Benjamin Otte
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
David I. Lehn
9211347c1a .cvsignore: Ignore generated file _stdint.h.
Original commit message from CVS:
* .cvsignore:
Ignore generated file _stdint.h.
2004-02-03 09:01:19 +00:00
David I. Lehn
95778bdb9f gst-libs/gst/: Generate enum type code with glib-mkenums.
Original commit message from CVS:
* gst-libs/gst/colorbalance/Makefile.am:
* gst-libs/gst/colorbalance/colorbalance.h:
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/mixer/mixer.h:
* gst-libs/gst/play/Makefile.am:
* gst-libs/gst/play/play.h:
* gst-libs/gst/tuner/Makefile.am:
* gst-libs/gst/tuner/tuner.h:
Generate enum type code with glib-mkenums.
* gst-libs/gst/colorbalance/.cvsignore:
* gst-libs/gst/mixer/.cvsignore:
* gst-libs/gst/play/.cvsignore:
* gst-libs/gst/tuner/.cvsignore:
Ignore generated files.
2004-02-03 08:56:06 +00:00
David I. Lehn
84e5239830 gst-libs/gst/audio/.cvsignore: Ignore generated file.
Original commit message from CVS:
* gst-libs/gst/audio/.cvsignore:
Ignore generated file.
* gst-libs/gst/audio/Makefile.am:
Do not install example filter.
2004-02-03 08:52:58 +00:00
David I. Lehn
78de55cc01 examples/switch/.cvsignore: Ignore generated file.
Original commit message from CVS:
* examples/switch/.cvsignore:
Ignore generated file.
2004-02-03 08:50:41 +00:00
Benjamin Otte
896ef493da co/: add AX_CREATE_STDINT_H to get correct type definitions for a52dec in _stdint.h.
Original commit message from CVS:
2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>

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

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

* sys/ximage/ximagesink.c: (gst_ximagesink_renegotiate_size),
(gst_ximagesink_handle_xevents): Better X events handling, only take
the latest events for configure and motion.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents): same.
2004-02-02 21:59:35 +00:00
David Schleef
75a75904aa Fix memory leaks:
Original commit message from CVS:
reviewed by: David Schleef  <ds@schleef.org>
Fix memory leaks:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
2004-02-02 20:27:13 +00:00
David Schleef
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
David Schleef
55a16802c8 gst/debug/efence.c: Add fallback if MAP_ANONYMOUS isn't defined.
Original commit message from CVS:
* gst/debug/efence.c: Add fallback if MAP_ANONYMOUS isn't defined.
2004-02-02 18:28:45 +00:00
Thomas Vander Stichele
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
ba3af8377c make code more readable by extracting magic numbers fix interface range
Original commit message from CVS:
make code more readable by extracting magic numbers
fix interface range
2004-02-02 14:34:52 +00:00
Thomas Vander Stichele
ec00f91abb block tick callback for 0.5 sec after a seek
Original commit message from CVS:
block tick callback for 0.5 sec after a seek
2004-02-02 10:49:32 +00:00
Thomas Vander Stichele
1474d866bc check for NULLness and warn if we can't report GError
Original commit message from CVS:
check for NULLness and warn if we can't report GError
2004-02-02 10:19:38 +00:00
Julien Moutte
6300c130df gst-libs/gst/play/play.c: s/sinkconnect/sink_link
Original commit message from CVS:
2004-02-01  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/play.c: (gst_play_seek_to_time),
(gst_play_new): Accepting NULL GError, blocking time tick while seeking.        * sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(gst_ximagesink_chain), (gst_ximagesink_init): s/sinkconnect/sink_link
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_chain), (gst_xvimagesink_init): s/sinkconnect/sink_link
2004-02-01 22:33:07 +00:00
Thomas Vander Stichele
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
Thomas Vander Stichele
e2469ac793 add error handling
Original commit message from CVS:
add error handling
2004-01-31 15:56:32 +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
Jeremy Simon
966252d6fd ext/flac/: Fix typos
Original commit message from CVS:
2004-01-31  Jeremy Simon  <jesimon@libertysurf.fr>
* ext/flac/gstflacdec.c: (gst_flacdec_class_init):
* ext/flac/gstflacdec.h:
* ext/flac/gstflacenc.h:
Fix typos
2004-01-31 10:25:05 +00:00
David I. Lehn
70f6d8e0d4 examples/gstplay/player.c: s/gstplay.h/play.h/
Original commit message from CVS:
* examples/gstplay/player.c: s/gstplay.h/play.h/
2004-01-31 00:29:21 +00:00
Thomas Vander Stichele
b106d090bc done operating
Original commit message from CVS:
done operating
2004-01-30 22:38:56 +00:00
Thomas Vander Stichele
6dd220eaac removing deprecated code
Original commit message from CVS:
removing deprecated code
2004-01-30 22:03:14 +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
f7b8aa0a25 add bit of info
Original commit message from CVS:
add bit of info
2004-01-30 20:34:43 +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
Ronald S. Bultje
184abd52fe gst/mpegstream/gstmpegdemux.c: Fix audio.
Original commit message from CVS:
2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>

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

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

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

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head),
(gst_riff_read_seek):
* gst/matroska/ebml-read.c: (gst_ebml_read_element_id),
(gst_ebml_read_seek):
Fix event handling.
2004-01-30 12:37:58 +00:00
Benjamin Otte
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
Ronald S. Bultje
893a0e1aa7 gst/mpeg1videoparse/gstmp1videoparse.c: Committed wrong version last week... Grr... Didn't notice until now.
Original commit message from CVS:
2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpeg1videoparse/gstmp1videoparse.c:
(gst_mp1videoparse_real_chain):
Committed wrong version last week... Grr... Didn't notice until now.
2004-01-29 16:00:55 +00:00
Julien Moutte
53e4adfb7a sys/: Emit the have_xwindow_id signal in xwindow_create.
Original commit message from CVS:
2004-01-29  Julien MOUTTE <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new): Emit the
have_xwindow_id signal in xwindow_create.
2004-01-29 10:02:48 +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
Julien Moutte
f606249297 gst-libs/gst/play/gstplay.c: seek on video sink element first.
Original commit message from CVS:
2004-01-28  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/gstplay.c: (gst_play_seek_to_time): seek on video
sink element first.
* gst/videoscale/gstvideoscale.c:
(gst_videoscale_handle_src_event): Fixing src event handler.
2004-01-28 22:14:14 +00:00
Ronald S. Bultje
a6b79b4f09 sys/v4l/: Implement resizing... Hack. But that's why v4l is b0rked...
Original commit message from CVS:
2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init), (gst_v4lsrc_init),
(gst_v4lsrc_open), (gst_v4lsrc_close),
(gst_v4lsrc_palette_to_caps), (gst_v4lsrc_srcconnect),
(gst_v4lsrc_getcaps), (gst_v4lsrc_set_clock):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_start),
(gst_v4lsrc_grab_frame), (gst_v4lsrc_capture_stop):
Implement resizing... Hack. But that's why v4l is b0rked...
2004-01-28 21:16:01 +00:00
Julien Moutte
38fdf429c6 sys/: Removing some useless debugs messages, correctly cleaning the image created to check xshm calls on succes, adde...
Original commit message from CVS:
2004-01-28  Julien MOUTTE <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy),
(gst_ximagesink_ximage_put), (gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_destroy):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy),
(gst_xvimagesink_xwindow_new), (gst_xvimagesink_xwindow_destroy),
(gst_xvimagesink_xwindow_resize), (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_xcontext_get): Removing some useless debugs messages,
correctly cleaning the image created to check xshm calls on succes,
added a lot of XSync calls in X11 functions, and fixed a segfault when
no image format was defined before negotiation happened.
2004-01-28 10:45:33 +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
Julien Moutte
2614bc1a48 sys/: Our
Original commit message from CVS:
2004-01-28  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xerror),
(gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_destroy),
(gst_ximagesink_xcontext_get), (gst_ximagesink_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xerror),
(gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_destroy), (gst_xvimagesink_xcontext_get): Our
X plugins are now able to detect that XShm calls will fail even if the
server claims that it has XShm support (remote displays most of the
time). We then log the error as a GST_DEBUG and set use_shm to FALSE
so that we use non XShm functions. This feature is almost useless for
xvimagesink as Xv is not supported on remote displays anyway, but
it might happen than even on the local display XShm calls fail.
2004-01-28 00:29:42 +00:00
David Schleef
3ca4fff48a ext/esd/esdsink.c: Fix sync issues in esdsink. Also changed esdsink to only use 44100,16,2, since esd sucks at rate ...
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init), (gst_esdsink_init),
(gst_esdsink_link), (gst_esdsink_get_time), (gst_esdsink_chain),
(gst_esdsink_change_state):  Fix sync issues in esdsink.  Also
changed esdsink to only use 44100,16,2, since esd sucks at rate
conversion and esdsink has had difficulty negotiating.
2004-01-27 21:37:36 +00:00
Julien Moutte
b2fcdfe132 gst-libs/gst/play/gstplay.c: Fixing the way to get current position.
Original commit message from CVS:
2004-01-27  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/play/gstplay.c: (gst_play_tick_callback),
(gst_play_seek_to_time): Fixing the way to get current position.
2004-01-27 21:24:14 +00:00
Benjamin Otte
038963eb0f sys/oss/gstosssink.c: use gst_element_get_time to get correct time
Original commit message from CVS:
2004-01-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/oss/gstosssink.c: (gst_osssink_sink_query):
use gst_element_get_time to get correct time
2004-01-27 20:40:37 +00:00
Julien Moutte
ce1f3bd133 gst-libs/gst/play/gstplay.c: The easiest fix ever... Inverting 2 lines of code make spider autoplug correctly tagged ...
Original commit message from CVS:
2004-01-27  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/play/gstplay.c: (gst_play_set_location): The easiest
fix ever... Inverting 2 lines of code make spider autoplug correctly
tagged mp3 !
2004-01-27 16:42:40 +00:00
David Schleef
8fe7678826 gst/audioconvert/gstaudioconvert.c: Use gst_pad_try_set_caps_nonfixed().
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Use gst_pad_try_set_caps_nonfixed().
2004-01-27 09:05:22 +00:00
David Schleef
e4593b1536 gst/ac3parse/gstac3parse.c: update to checklist 5
Original commit message from CVS:
* gst/ac3parse/gstac3parse.c: update to checklist 5
* gst/adder/gstadder.c: rewrite negotiation.  update to checklist 5
* gst/audioconvert/gstaudioconvert.c: update to checklist 5
* gst/audioscale/gstaudioscale.c: same
* gst/auparse/gstauparse.c: same
* gst/avi/gstavidemux.c: same
2004-01-27 09:00:01 +00:00
Benjamin Otte
329234906d gst/asfdemux/gstasfdemux.c: stop processing after EOS
Original commit message from CVS:
2004-01-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
stop processing after EOS
2004-01-27 01:53:27 +00:00
Benjamin Otte
91221bfc3c gst/asfdemux/: lot's of fixes to make data extraction simpler and get the code architecture and compiler independant....
Original commit message from CVS:
2004-01-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasfdemux.c:
* gst/asfdemux/gstasfmux.c: (gst_asfmux_put_guid),
(gst_asfmux_put_string), (gst_asfmux_put_wav_header),
(gst_asfmux_put_vid_header), (gst_asfmux_put_bmp_header):
lot's of fixes to make data extraction simpler and get the code
architecture and compiler independant. Add debugging category
* gst/goom/gstgoom.c: (gst_goom_change_state):
reset channel count on PAUSED=>READY, not READY=>PAUSED
2004-01-27 01:27:04 +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
Jeremy Simon
f9e26c83af ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 decoding on PPC
Original commit message from CVS:
2004-01-26  Jeremy Simon  <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
Fix SVQ3 decoding on PPC
2004-01-26 21:04:32 +00:00
Julien Moutte
de63ba5097 gst/videoscale/gstvideoscale.c: Dunno how that one managed to stay there... Fixed.
Original commit message from CVS:
2004-01-26  Julien MOUTTE <julien@moutte.net>

* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Dunno how
that one managed to stay there... Fixed.
2004-01-26 20:12:31 +00:00
Jeremy Simon
0b7b575507 Add SVQ3 specific flags to qtdemux and ffmpeg
Original commit message from CVS:
2004-01-26  Jeremy Simon  <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_extradata), (gst_ffmpeg_caps_to_pixfmt):
* gst/qtdemux/qtdemux.c: (plugin_init), (qtdemux_parse_trak),
(qtdemux_video_caps):
* gst/qtdemux/qtdemux.h:
Add SVQ3 specific flags to qtdemux and ffmpeg
2004-01-26 20:01:35 +00:00
Benjamin Otte
b552a2d9f0 gst-libs/gst/audio/audio.h: remove buffer-frames from audio caps
Original commit message from CVS:
2004-01-26  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/audio/audio.h:
remove buffer-frames from audio caps
* gst/audioconvert/gstaudioconvert.c:
fix plugin to really work.
2004-01-26 03:54:21 +00:00
Ronald S. Bultje
7c1c3a173f gst-libs/gst/: Add gtk-doc style comments. Also fix a function name.
Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst-libs/gst/mixer/mixer.c:
* gst-libs/gst/propertyprobe/propertyprobe.c:
* gst-libs/gst/tuner/tuner.c: (gst_tuner_find_norm_by_name),
(gst_tuner_find_channel_by_name):
* gst-libs/gst/tuner/tuner.h:
Add gtk-doc style comments. Also fix a function name.
2004-01-25 22:07:16 +00:00
Ronald S. Bultje
7f44f47ede ext/divx/gstdivxdec.c: Fix for new capsnego - also fixes gst-player with divxdec.
Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxdec.c: (gst_divxdec_init),
(gst_divxdec_negotiate):
Fix for new capsnego - also fixes gst-player with divxdec.
2004-01-25 12:31:29 +00:00
Julien Moutte
ff322c28e2 gst-libs/gst/play/gstplay.c: Another try in visualization implementation. Still have an issue with switch blocking wh...
Original commit message from CVS:
2004-01-25  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup),
(gst_play_identity_handoff), (gst_play_set_location),
(gst_play_set_visualization), (gst_play_connect_visualization): Another
try in visualization implementation. Still have an issue with switch
blocking when pulling from video_queue and only audio comes out of
spider.
* gst/switch/gstswitch.c: (gst_switch_release_pad),
(gst_switch_poll_sinkpads), (gst_switch_class_init): Implementing pad
release method. And check if the pad is usable before pulling.
2004-01-25 12:28:05 +00:00
Ronald S. Bultje
2827abc66f gst/videofilter/gstvideobalance.*: Implement lookup-tables. +/- 10x faster.
Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose),
(gst_videobalance_init),
(gst_videobalance_colorbalance_list_channels),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value),
(gst_videobalance_update_properties),
(gst_videobalance_update_tables_planar411),
(gst_videobalance_planar411):
* gst/videofilter/gstvideobalance.h:
Implement lookup-tables. +/- 10x faster.
2004-01-25 11:17:11 +00:00
Ronald S. Bultje
75debd6028 gst/avi/gstavidemux.c: The index reading was broken. The rest worked fine, but the whole goal of my rewrite was to ma...
Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml), (gst_avi_demux_stream_index):
The index reading was broken. The rest worked fine, but the whole
goal of my rewrite was to make avidemux readable, and this was
not at all readable. Please use typed variables.
2004-01-25 00:43:16 +00:00
Ronald S. Bultje
20af0be15e gst-libs/gst/riff/riff-read.c: Additional pad usability check.
Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst-libs/gst/riff/riff-read.c: (gst_riff_read_info):
Additional pad usability check.
* gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init),
(mp1videoparse_find_next_gop), (gst_mp1videoparse_time_code),
(gst_mp1videoparse_real_chain):
Fix MPEG video stream parsing. The original plugin had several
issues, including not timestamping streams where the source was
not timestamped (this happens with PTS values in mpeg system
streams, but MPEG video is also a valid stream on its own so
that needs timestamps too). We use the display time code for that
for now. Also, if one incoming buffer contains multiple valid
frames, we push them all on correctly now, including proper EOS
handling. Lastly, several potential segfaults were fixed, and we
properly sync on new sequence/gop headers to include them in next,
not previous frames (since they're header for the next frame, not
the previous). Also see #119206.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain),
(bpf_from_header):
Move caps setting so we only do it after finding several valid
MPEG-1 fraes sequentially, not right after the first one (which
might be coincidental).
* gst/typefind/gsttypefindfunctions.c: (mpeg1_sys_type_find),
(mpeg_video_type_find), (mpeg_video_stream_type_find),
(plugin_init):
Add unsynced MPEG video stream typefinding, and change some
probability values so we detect streams rightly. The idea is as
follows: I can have an unsynced system stream which contains
video. In the current code, I would randomly get a type for either
system or video stream type found, because the probabilities are
being calculated rather randomly. I now use fixed values, so we
always prefer system stream if that was found (and that is how it
should be). If no system stream was found, we can still identity
the stream as video-only.
2004-01-25 00:25:16 +00:00
Benjamin Otte
978d3d6ab7 gst/avi/gstavidemux.c: don't write to buffer. Extract data without the need of __attribute__ ((packed))
Original commit message from CVS:
2004-01-23  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml), (gst_avi_demux_stream_index):
don't write to buffer. Extract data without the need of
__attribute__ ((packed))
2004-01-23 17:45:54 +00:00
Ronald S. Bultje
6b2e142ccb gst/typefind/gsttypefindfunctions.c: Fix MPEG-1 stream typefinding.
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/typefind/gsttypefindfunctions.c: (mpeg1_parse_header),
(mpeg1_sys_type_find):
Fix MPEG-1 stream typefinding.
2004-01-23 16:55:21 +00:00
Ronald S. Bultje
f14069a741 gst/typefind/gsttypefindfunctions.c: Fix typefinding for MPEG-1 system streams, similar to MPEG-2.
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
Fix typefinding for MPEG-1 system streams, similar to MPEG-2.
2004-01-23 16:01:04 +00:00
Thomas Vander Stichele
b5e0b690ca private debugging cat better error reporting
Original commit message from CVS:
private debugging cat
better error reporting
2004-01-23 15:34:49 +00:00
Ronald S. Bultje
163bceae95 gst-libs/gst/riff/riff-read.*: Remove stuff fromold metadata system.
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst-libs/gst/riff/riff-read.c: (gst_riff_read_class_init),
(gst_riff_read_init), (gst_riff_read_change_state):
* gst-libs/gst/riff/riff-read.h:
Remove stuff fromold metadata system.
2004-01-23 14:03:16 +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
Ronald S. Bultje
44438c37c1 ext/divx/gstdivxdec.*: Fix divx3 ("msmpeg4") playback using divxdec.
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxdec.c: (gst_divxdec_init), (gst_divxdec_setup):
* ext/divx/gstdivxdec.h:
Fix divx3 ("msmpeg4") playback using divxdec.
2004-01-23 10:56:57 +00:00
Benjamin Otte
e93f72838d gst/typefind/gsttypefindfunctions.c: fix bug in length computation improve debugging output
Original commit message from CVS:
2004-01-23  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/typefind/gsttypefindfunctions.c:
(mp3_type_frame_length_from_header): fix bug in length computation
(mp3_type_find): improve debugging output
2004-01-23 02:33:15 +00:00
Julien Moutte
15289fa2dd gst-libs/gst/play/gstplay.c: Reworked the pipeline from scratch. Visualization is back and switch went out as i reali...
Original commit message from CVS:
2004-01-23  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup),
(gst_play_set_location), (gst_play_seek_to_time),
(gst_play_set_audio_sink), (gst_play_set_visualization),
(gst_play_connect_visualization), (gst_play_get_sink_element): Reworked
the pipeline from scratch. Visualization is back and switch went out as
i realized it was not possible to use the way i wanted.
* sys/ximage/ximagesink.c: (gst_ximagesink_imagepool_clear),
(gst_ximagesink_change_state), (gst_ximagesink_dispose): Move xcontext
clearing in state change from READY to NULL. So that one can clean the
X ressources keeping the element.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_imagepool_clear), (gst_xvimagesink_change_state),
(gst_xvimagesink_colorbalance_set_value),
(gst_xvimagesink_colorbalance_get_value),
(gst_xvimagesink_set_property), (gst_xvimagesink_dispose),
(gst_xvimagesink_init): Same xcontext cleaning than ximagesink in state
change from READY to NULL and fixed some stupid bugs in colorbalance
get/set values. Also added the following feature : when nobody tries to
set some values to the colorbalance levels before the xcontext is
grabbed, then when creating channels list from Xv attributes we set the
internal values to the Xv defaults. This way we handle buggy Xv drivers
that set default hue values far from the middle of the range (Thanks
to Jon Trowbridge for pointing that issue).
* sys/xvimage/xvimagesink.h: Adding a cb_changed boolean to know if
colorbalance levels have been set before xcontext is grabbed.
2004-01-22 23:54:34 +00:00
Ronald S. Bultje
5ea7e1a94a sys/oss/gstosselement.c: Fix the ossmixer case where we shouldn't open /dev/dsp* because it might block operations (w...
Original commit message from CVS:
2004-01-22  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Fix the ossmixer case where we shouldn't open /dev/dsp* because
it might block operations (which is bad for a mixer).
2004-01-22 20:51:08 +00:00
Thomas Vander Stichele
b469416f53 fix up media-info now reports format again metadata needs some rewriting
Original commit message from CVS:
fix up media-info
now reports format again
metadata needs some rewriting
2004-01-22 19:00:27 +00:00
Thomas Vander Stichele
11cb1a9f92 fix non-compilation
Original commit message from CVS:
fix non-compilation
2004-01-22 13:22:02 +00:00
David Schleef
75da519525 ext/swfdec/gstswfdec.*: Fix negotiation.
Original commit message from CVS:
* ext/swfdec/gstswfdec.c: (gst_swfdec_video_getcaps),
(gst_swfdec_video_link), (copy_image), (gst_swfdec_loop),
(gst_swfdec_init), (gst_swfdec_change_state):
* ext/swfdec/gstswfdec.h:
Fix negotiation.
* gst/adder/gstadder.c: (gst_adder_link), (gst_adder_init),
(gst_adder_request_new_pad): Fix negotiation.
* gst/goom/gstgoom.c: (gst_goom_init), (gst_goom_src_fixate):
Add a fixate function.
* gst/intfloat/gstfloat2int.c:
* gst/intfloat/gstfloat2int.h:
* gst/intfloat/gstint2float.c:
* gst/intfloat/gstint2float.h:
Completely rewrite the negotiation.  Doesn't quite work yet,
due to some buffer-frames problem.
2004-01-22 03:25:16 +00:00
Thomas Vander Stichele
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
Jeremy Simon
caa5717c38 ext/ffmpeg/gstffmpegcodecmap.c: Fix wma caps property
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
Fix wma caps property
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Fix typo (flags1 and flags2)
2004-01-20 21:22:46 +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
Ronald S. Bultje
8bb2349e3f ext/mplex/: g++ doesn't like NULL in our i18n/error macros, should be either (NULL) or ("").
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mplex/gstmplex.cc:
* ext/mplex/gstmplexibitstream.cc:
g++ doesn't like NULL in our i18n/error macros, should be
either (NULL) or ("").
2004-01-20 13:38:06 +00:00
Ronald S. Bultje
b0356937c6 sys/dxr3/: Fix more error error error errors (missing includes here).
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/dxr3/dxr3audiosink.c:
* sys/dxr3/dxr3init.c:
* sys/dxr3/dxr3spusink.c: (dxr3spusink_close):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_close):
Fix more error error error errors (missing includes here).
2004-01-20 13:34:40 +00:00
Ronald S. Bultje
b0bb5a4e4b ext/mpeg2enc/gstmpeg2encpicturereader.cc: fix thomas' error errors.
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
fix thomas' error errors.
2004-01-20 13:08:39 +00:00
Thomas Vander Stichele
2020f084a3 fix error error
Original commit message from CVS:
fix error error
2004-01-20 13:01:40 +00:00
Ronald S. Bultje
25d2b4aa4a ext/divx/: Fix for new error system.
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxdec.c: (gst_divxdec_setup), (gst_divxdec_chain):
* ext/divx/gstdivxenc.c: (gst_divxenc_setup), (gst_divxenc_chain):
Fix for new error system.
2004-01-20 12:48:10 +00:00
Thomas Vander Stichele
e3cf402747 fix for new error signaling
Original commit message from CVS:
fix for new error signaling
2004-01-20 12:40:44 +00:00
David Schleef
879b0b7ac0 sys/ximage/ximagesink.c: Change to using a framerate of [1,100] instead of [0,MAX], since 0 isn't handled correctly, ...
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents),
(gst_ximagesink_xcontext_get), (gst_ximagesink_getcaps),
(gst_ximagesink_set_xwindow_id): Change to using a framerate
of [1,100] instead of [0,MAX], since 0 isn't handled correctly,
and neither is 100+, most likely.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_getcaps): same
2004-01-20 09:25:51 +00:00
Benjamin Otte
bd6bc6d3b7 configure.ac: Up version requirement to 2.0.3 (not yet released) to avoid symbol clashes with ffmpeg.
Original commit message from CVS:
2004-01-19  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* configure.ac:
Up version requirement to 2.0.3 (not yet released) to avoid symbol
clashes with ffmpeg.
2004-01-19 23:26:29 +00:00
Julien Moutte
f83393d87e gst/switch/gstswitch.c: Fixed switch element : proxying link and setting caps from src to sink on request.
Original commit message from CVS:
2004-01-20  Julien MOUTTE  <julien@moutte.net>

* gst/switch/gstswitch.c: (gst_switch_request_new_pad),
(gst_switch_init): Fixed switch element : proxying link and setting
caps from src to sink on request.
2004-01-19 23:23:54 +00:00
Thomas Vander Stichele
cd0423ceeb fix element_error
Original commit message from CVS:
fix element_error
2004-01-19 18:22:57 +00:00
Thomas Vander Stichele
34ac635d74 further element_error fixes
Original commit message from CVS:
further element_error fixes
2004-01-19 17:11:27 +00:00
Thomas Vander Stichele
eefcaf5b9e adding locale.h
Original commit message from CVS:
adding locale.h
2004-01-19 16:43:01 +00:00
Thomas Vander Stichele
01e210d650 removing config.h
Original commit message from CVS:
removing config.h
2004-01-19 15:50:38 +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
2d34ce8201 fix soundfile as well
Original commit message from CVS:
fix soundfile as well
2004-01-19 14:07:32 +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
d783137510 updating v4l2 for new error handling
Original commit message from CVS:
updating v4l2 for new error handling
2004-01-19 10:19:42 +00:00
Thomas Vander Stichele
08dd3a7f19 parenthising NULL
Original commit message from CVS:
parenthising NULL
2004-01-19 10:00:00 +00:00
Thomas Vander Stichele
05abb4879e adding header
Original commit message from CVS:
adding header
2004-01-18 23:21:55 +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
Julien Moutte
63c5053a28 sys/ximage/ximagesink.c: Adding synchronous property for debugging.
Original commit message from CVS:
2004-01-18  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_set_property),
(gst_ximagesink_get_property), (gst_ximagesink_class_init): Adding
synchronous property for debugging.
* sys/ximage/ximagesink.h: Adding the synchronous boolean flag.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_set_property): Moving a pointer declaration to a
smaller block, fixing indent.
2004-01-18 12:32:19 +00:00
David Schleef
112f838c18 gst/videofilter/gstvideobalance.c: Fix regression; changing a property affects the video stream.
Original commit message from CVS:
* gst/videofilter/gstvideobalance.c: Fix regression; changing a
property affects the video stream.
* sys/xvimage/xvimagesink.c:
* sys/xvimage/xvimagesink.h:
Add synchronous property for debugging.  Should probably be
disabled in non-CVS builds.  Make sure that the Xv attribute
exists before we set it (crash!).  Fix a silly float bug that
caused colorbalance to just not work.
2004-01-16 23:52:53 +00:00
Christian Schaller
700e02e97c update gst-launch-ext to use a better plugin for colorspace and X win
Original commit message from CVS:
update gst-launch-ext to use a better plugin for colorspace and X win
2004-01-16 23:32:45 +00:00
David Schleef
92d4c76b46 ext/ffmpeg/gstffmpegenc.c: Fix use of already-freed caps.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect): Fix use of
already-freed caps.
2004-01-16 19:54:15 +00:00
Christian Schaller
527055b330 fix libcaca compilation and update spec file
Original commit message from CVS:
fix libcaca compilation and update spec file
2004-01-16 17:42:20 +00:00
Julien Moutte
7d4f2bd655 sys/xvimage/xvimagesink.c: Implementing correct colorbalance properties. They can now be set when the element is stil...
Original commit message from CVS:
2004-01-16  Julien MOUTTE <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_update_colorbalance),
(gst_xvimagesink_xcontext_get), (gst_xvimagesink_change_state),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_colorbalance_set_value),
(gst_xvimagesink_colorbalance_get_value),
(gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
(gst_xvimagesink_init), (gst_xvimagesink_class_init): Implementing
correct colorbalance properties. They can now be set when the element
is still in NULL state. The values will be committed to the Xv Port
when xcontext is initialized.
* sys/xvimage/xvimagesink.h: Added hue, saturation, contrast,
brightness int values in the GstXvImagesink structure.
2004-01-16 15:43:35 +00:00
Ronald S. Bultje
285797683c gst-libs/gst/Makefile.am: restructure so having local patches works easier.
Original commit message from CVS:
2004-01-16  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst-libs/gst/Makefile.am:
restructure so having local patches works easier.
2004-01-16 14:55:44 +00:00
Ronald S. Bultje
d03ff3ef28 ext/mpeg2enc/: Bugfix with respect to EOS handling.
Original commit message from CVS:
2004-01-16  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mpeg2enc/Makefile.am:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
Bugfix with respect to EOS handling.
2004-01-16 14:14:58 +00:00
Ronald S. Bultje
b80f8d537b ext/ffmpeg/gstffmpegenc.c: Link with right caps (else, it segfaults).
Original commit message from CVS:
2004-01-16  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Link with right caps (else, it segfaults).
* ext/mplex/gstmplexjob.cc:
Fix for slight API change in 1.6.1.93 release of mjpegtools.
2004-01-16 14:10:44 +00:00
David Schleef
5dca8edfe9 gst-libs/gst/audio/Makefile.am: Add gstaudiofiltertemplate.c and building of gstaudiofilterexample.c from the template.
Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
Add gstaudiofiltertemplate.c and building of gstaudiofilterexample.c
from the template.
* gst-libs/gst/audio/gstaudiofilter.c:
* gst-libs/gst/audio/gstaudiofilter.h:
Add bytes_per_sample and size and n_samples calculation.
* gst-libs/gst/audio/gstaudiofilterexample.c:
Remove, now autogenerated.
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
Moved from gstaudiofilterexample, object name changed, code added
so that it actually works.
* gst-libs/gst/audio/make_filter:
Script to build an audiofilter subclass from the template.
* gst/colorspace/Makefile.am:
* gst/colorspace/yuv2yuv.c:
Remove file, since it's GPL, and we don't use it.
2004-01-16 00:55:29 +00:00
Julien Moutte
65a306f052 sys/: Making both of them use the buffer free function to test how the buffer was allocated.
Original commit message from CVS:
2004-01-15  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): Making both of
them use the buffer free function to test how the buffer was allocated.
2004-01-15 22:03:45 +00:00
David Schleef
89303c580f ext/esd/esdsink.c: Remove property that handles osssink fallback.
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init): Remove property
that handles osssink fallback.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init),
(gst_audio_convert_getcaps):
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Add audio/x-qdm2 for QDM2 audio.
* gst/sine/gstsinesrc.c: (gst_sinesrc_get):
* gst/sine/gstsinesrc.h: Add example of how to implement tags.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps):
Decrease minimum size to 16x16.
* gst/wavparse/gstwavparse.c:
Convert disabled pad template caps to new caps.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_chain): Throw element error when display cannot
be opened.  Increase minimum framerate to 1.0.  Check the data
free function on a buffer to make sure it is the type we expect
before manipulating it.
2004-01-15 21:05:17 +00:00
Julien Moutte
37defa2525 gst/videofilter/gstvideobalance.c: Implement passthru if settings are in the middle.
Original commit message from CVS:
2004-01-15  Julien MOUTTE <julien@moutte.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_init),
(gst_videobalance_colorbalance_set_value): Implement passthru if
settings are in the middle.
* tools/gst-launch-ext.in: Stop using xvideosink, use ximagesink.
2004-01-15 17:16:37 +00:00
Ronald S. Bultje
187ce0f853 gst/: Since we use videofilter symbols, link to it.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

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

* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init): Setting
mixer interface type to HARDWARE.
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init): Adding a default
type to SOFTWARE.
* gst-libs/gst/mixer/mixer.h: Adding mixer interface type and macro.
* gst-libs/gst/mixer/mixertrack.h: Adding mixertrack flag SOFTWARE.
* gst/volume/gstvolume.c: (gst_volume_interface_supported),
(gst_volume_interface_init), (gst_volume_list_tracks),
(gst_volume_set_volume), (gst_volume_get_volume),
(gst_volume_set_mute), (gst_volume_mixer_init),
(gst_volume_dispose), (gst_volume_get_type), (volume_class_init),
(volume_init): Implementing mixer interface.
* gst/volume/gstvolume.h: Adding tracklist for mixer interface.
* sys/oss/gstosselement.c: (gst_osselement_get_type),
(gst_osselement_change_state): Removing some trailing commas in
structures.
* sys/oss/gstossmixer.c: (gst_ossmixer_interface_init): Setting mixer
interface type to HARDWARE.
* sys/v4l/gstv4lcolorbalance.c:
(gst_v4l_color_balance_interface_init): Setting colorbalance interface
type to HARDWARE.
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_interface_init): Setting colorbalance
interface type to HARDWARE.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): use exactly the
same code than ximagesink for event handling.
2004-01-15 15:50:10 +00:00
Ronald S. Bultje
ddeaa790db ext/snapshot/: This has to be a joke... Snapshot should be connected to a tee, colorspace element before it and EOS a...
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/snapshot/Makefile.am:
* ext/snapshot/gstsnapshot.c: (gst_snapshot_sinkconnect),
(gst_snapshot_chain):
* ext/snapshot/gstsnapshot.h:
This has to be a joke... Snapshot should be connected to a tee,
colorspace element before it and EOS after that, where the other
src of the tee receives normal data.
The current way is *wrong*.
2004-01-15 11:21:24 +00:00
Ronald S. Bultje
d0d0f83435 ext/hermes/gsthermescolorspace.c: Fix another compile error. Same as below.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/hermes/gsthermescolorspace.c:
Fix another compile error. Same as below.
2004-01-15 11:02:02 +00:00
Ronald S. Bultje
e83a73fb57 gst/colorspace/: Fix compiling... Didn't test if it actually works.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/colorspace/gstcolorspace.c:
* gst/colorspace/yuv2yuv.c: (gst_colorspace_yuy2_to_i420),
(gst_colorspace_i420_to_yv12):
Fix compiling... Didn't test if it actually works.
2004-01-15 10:45:55 +00:00
David Schleef
cbfaea6f9a Duplicate the ext/hermes colorspace plugin, and remove Hermes code and GPL code. Fix for new caps negotiation. Rewr...
Original commit message from CVS:
* configure.ac:
* gst/colorspace/Makefile.am:
* gst/colorspace/gstcolorspace.c:
* gst/colorspace/gstcolorspace.h:
* gst/colorspace/yuv2rgb.c:
* gst/colorspace/yuv2rgb.h:
Duplicate the ext/hermes colorspace plugin, and remove Hermes
code and GPL code.  Fix for new caps negotiation.  Rewrite
much of the format handling code, and some of the conversion
code.  Basically, rewrote almost everything.  This element
handles I420, YV12 to RGB conversions.
* ext/hermes/Makefile.am:
* ext/hermes/gsthermescolorspace.c:
Rename colorspace to hermescolorspace.  Fix negotiation issues.
Remove non-Hermes related code.  This element handles lots of
RGB to RGB conversions, but no YUV.
* ext/hermes/gstcolorspace.c:
* ext/hermes/gstcolorspace.h:
* ext/hermes/rgb2yuv.c:
* ext/hermes/yuv2rgb.c:
* ext/hermes/yuv2rgb.h:
* ext/hermes/yuv2rgb_mmx16.s:
* ext/hermes/yuv2yuv.c:
* ext/hermes/yuv2yuv.h:
Remove old code.
2004-01-15 08:58:21 +00:00
Colin Walters
b8b82a7119 ext/mad/gstid3tag.c (gst_id3_tag_chain): Don't nego caps if they've already been.
Original commit message from CVS:
2004-01-14  Colin Walters  <walters@verbum.org>

* ext/mad/gstid3tag.c (gst_id3_tag_chain): Don't nego caps if
they've already been.
2004-01-15 04:16:15 +00:00
Benjamin Otte
02c3b82f84 ext/mad/gstid3tag.c: assume tag mode when pad is not connected
Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_id3_tag_do_caps_nego):
assume tag mode when pad is not connected
2004-01-15 03:05:35 +00:00