Commit graph

1565 commits

Author SHA1 Message Date
Christian Schaller
5276a805be keeping the spec humming
Original commit message from CVS:
keeping the spec humming
2004-02-27 20:31:46 +00:00
David Schleef
d85b229e8d 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
fe6871adb1 back to nano
Original commit message from CVS:
back to nano
2004-02-26 18:12:55 +00:00
Thomas Vander Stichele
85685f0436 assorted debug/warning fixes
Original commit message from CVS:
assorted debug/warning fixes
2004-02-25 17:45:53 +00:00
Thomas Vander Stichele
87a4db24f6 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
3f5b3f2224 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:43 +00:00
Thomas Vander Stichele
b682a9a0f8 fix mulawdec
Original commit message from CVS:
fix mulawdec
2004-02-24 23:44:48 +00:00
David Schleef
30d6219933 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
e5a106832a 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
1d97e85c31 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
91da2254be 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
db577c956d I hate conflicts, this was supposed to go in yesterday
Original commit message from CVS:
I hate conflicts, this was supposed to go in yesterday
2004-02-24 17:05:53 +00:00
Thomas Vander Stichele
31cb41bde7 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
78b3d9bcba 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
430e217dbd 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
d4e6be4034 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:15 +00:00
Benjamin Otte
ad34b97595 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
c89b5bdf4a 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
6f673b825d 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:24 +00:00
Ramon Garcia Fernandez
aea9808eed 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
Thomas Vander Stichele
17f9e3eade fix gdk_pixbuf install location creation for solaris fix category for vorbisdec
Original commit message from CVS:

fix gdk_pixbuf install location creation for solaris
fix category for vorbisdec
2004-02-20 15:49:27 +00:00
Andy Wingo
9840e4882e 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
31c23fdbc8 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
efbc0b17af 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
9635a541e2 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
65acce8176 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
2908ca9fc9 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:00 +00:00
Julien Moutte
79bab9c372 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:49 +00:00
Thomas Vander Stichele
46509e13de 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
5a8505f39a add debug category
Original commit message from CVS:
add debug category
2004-02-18 16:44:51 +00:00
Julien Moutte
f89ee8ef35 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
7b92d073ff 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
9b66694651 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
db9ff980d2 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:51 +00:00
Julien Moutte
c426a62188 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
f3b32802f7 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
Johan Dahlin
7edbb98e08 tiny cosmetic changes
Original commit message from CVS:
tiny cosmetic changes
2004-02-16 18:17:16 +00:00
Johan Dahlin
5e252ae50c Spelling fix
Original commit message from CVS:
Spelling fix
2004-02-16 17:09:18 +00:00
Johan Dahlin
460a1f29be Spelling fixes
Original commit message from CVS:
Spelling fixes
2004-02-16 16:54:38 +00:00
Thomas Vander Stichele
da1311e76c readme
Original commit message from CVS:
readme
2004-02-16 16:38:47 +00:00
Julien Moutte
f013a61260 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
7fb22867e9 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
86395eeb18 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
Christian Schaller
1743f0a31e commit fix for correctly depending on gstreamer07
Original commit message from CVS:
commit fix for correctly depending on gstreamer07
2004-02-15 18:15:46 +00:00
Julien Moutte
cd032491ab 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
f90915379f 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
242c096799 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
48967e3a25 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
Christian Schaller
2fd83609e4 latest updates and includes
Original commit message from CVS:
latest updates and includes
2004-02-14 11:09:58 +00:00
Benjamin Otte
f4612bd30e 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