Commit graph

2457 commits

Author SHA1 Message Date
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
Stéphane Loeuillet
99ea03f95c hopefully, fix warnings in asfmux on solaris 10/with forte
Original commit message from CVS:
hopefully, fix warnings in asfmux on solaris 10/with forte
2004-05-24 14:18:56 +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
Stéphane Loeuillet
c58efdab28 fourth batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in ...
Original commit message from CVS:
fourth batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
(in gst-plugins/sys/ this time)
2004-05-21 23:53:07 +00:00
Stéphane Loeuillet
d8579eabe3 third batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in g...
Original commit message from CVS:
third batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
(in gst-plugins/gst-libs/ this time)
2004-05-21 23:38:49 +00:00
Stéphane Loeuillet
f335187a9e second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in ...
Original commit message from CVS:
second batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
(in gst-plugins/ext/ this time)
2004-05-21 23:28:57 +00:00
Stéphane Loeuillet
1f1a7cbe84 first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
Original commit message from CVS:

first batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
2004-05-21 22:39:30 +00:00
Stéphane Loeuillet
08b37bf327 rename defines too, so that they look like the others (say naming convention)
Original commit message from CVS:
rename defines too, so that they look like the others (say naming convention)
2004-05-21 14:53:20 +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
Thomas Vander Stichele
5182b12940 back in a sec
Original commit message from CVS:
back in a sec
2004-05-21 11:18:35 +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
Stéphane Loeuillet
cc41ab4473 - reenable speex plugins for speex 1.1.5 (API/ABI compatible with 1.0.x)
Original commit message from CVS:
- reenable speex plugins for speex 1.1.5 (API/ABI compatible with 1.0.x)
- fix a cast warning that prevent compilation of speexenc
2004-05-20 21:57:11 +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
Stéphane Loeuillet
970e90054a - change sunaudio category to Sink/Audio
Original commit message from CVS:
- change sunaudio category to Sink/Audio
- change HAVE_FIONREAD macro to GST_CHECK_FIONREAD
- add conditional include for FIONREAD ioctl on more files
2004-05-20 19:43:25 +00:00
Stéphane Loeuillet
322db67058 test FIONREAD ioctl presence in an alternate header for Solaris 10 (and perhaps earlier versions)
Original commit message from CVS:
test FIONREAD ioctl presence in an alternate header for Solaris 10 (and perhaps earlier versions)
2004-05-20 19:19:26 +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
Stéphane Loeuillet
12be7d6207 don't fix a test that should fail (too old a52dec detection)
Original commit message from CVS:
don't fix a test that should fail (too old a52dec detection)
2004-05-19 20:33:05 +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