Commit graph

1139 commits

Author SHA1 Message Date
Thomas Vander Stichele
c4e0ae6d2b 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:27 +00:00
Johan Dahlin
5acffea623 *.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
2004-03-15 16:32:54 +00:00
Thomas Vander Stichele
f878cc1640 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
e42fb4faf6 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
3c71c3fe63 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
5d25c00e4b gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
Benjamin Otte
1773f0d67d 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
c4eac71b3a 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
517e5d888c 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
9a78b5acf6 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
eac33f6122 Add speex typefinding function
Original commit message from CVS:
Add speex typefinding function
2004-03-14 04:01:34 +00:00
Ronald S. Bultje
7ff5e4bbb8 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
c2bf28f9a1 adding serbian
Original commit message from CVS:
adding serbian
2004-03-13 13:55:55 +00:00
Benjamin Otte
d72f0acc29 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:01 +00:00
Jan Schmidt
ef40a9e892 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
fb2c09e42e 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
ab224e62dc 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
3447d073b8 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
661276eb4f 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
81206cbc7c 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
efe98f1030 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
2cb6e77679 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
3ffa39f930 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
c98b59c7b8 updating tools generation
Original commit message from CVS:
updating tools generation
2004-03-10 12:35:44 +00:00
Ronald S. Bultje
fdf6d4edf5 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:23 +00:00
Colin Walters
e29020c678 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
f3e2e07dc4 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
ff0720b9f0 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
70c5f9e3dd fix comment
Original commit message from CVS:
fix comment
2004-03-09 21:10:24 +00:00
Benjamin Otte
3faf623b27 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
1e292a5bd3 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
da43641125 bump nano
Original commit message from CVS:
bump nano
2004-03-09 19:07:41 +00:00
Thomas Vander Stichele
f1b1b3bd0c release
Original commit message from CVS:
release
2004-03-09 18:36:14 +00:00
Thomas Vander Stichele
cea45bd9ce releasing
Original commit message from CVS:
releasing
2004-03-09 18:35:03 +00:00
Thomas Vander Stichele
5933daee17 synchronize the two pc files
Original commit message from CVS:
synchronize the two pc files
2004-03-09 17:54:04 +00:00
Thomas Vander Stichele
a1eca4a781 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
e6855bbf3e removing plugins from build
Original commit message from CVS:
removing plugins from build
2004-03-09 13:10:14 +00:00
Ronald S. Bultje
a4ee65a236 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
a17036061a 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
87c3dc9ff4 small media-info fixes
Original commit message from CVS:
small media-info fixes
2004-03-08 22:16:04 +00:00
Christian Schaller
6b8d323cd3 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
beb417c68f 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
fe3a554166 add a warning
Original commit message from CVS:
add a warning
2004-03-08 17:11:39 +00:00
David Schleef
7193017158 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
0ac2c41fc7 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
87d5670f80 remove conflict indicators
Original commit message from CVS:
remove conflict indicators
2004-03-07 11:26:27 +00:00
Christian Schaller
c0a0422f35 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
9665e6768f 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
63e0fe099e 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
bc6e4f585c 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
89bbfdc368 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:27 +00:00
Thomas Vander Stichele
905db051a9 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
892f0e9f95 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
73c6b37710 report mode/layer/emph
Original commit message from CVS:
report mode/layer/emph
2004-03-06 18:39:38 +00:00
Christophe Fergeau
cc949ed4ff 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
f55b95dd0c signal serial
Original commit message from CVS:
signal serial
2004-03-06 17:31:59 +00:00
Thomas Vander Stichele
04b4f67d04 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
37b862cf5d 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
f7f9390eaa 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
c92eb8f53b 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
10e742c2e1 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:27 +00:00
David Schleef
6c3fbe6d45 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
26d730400e 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:57 +00:00
David Schleef
740ad5455d 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
9331801a62 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:19 +00:00
Christophe Fergeau
16d27de34e 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
4f8e5d712e debug updates
Original commit message from CVS:
debug updates
2004-03-06 00:13:19 +00:00
Christophe Fergeau
b054dc5626 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
83c8687bb0 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
3d241b5440 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
82510c8a1b 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
a76f8d83c6 fix gconf install path
Original commit message from CVS:
fix gconf install path
2004-03-05 12:13:10 +00:00
David Schleef
29926c75c5 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:01 +00:00
Ronald S. Bultje
15acb5f276 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
5dcb16faca 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
dad1cf4fa8 Debian package info not maintained here.
Original commit message from CVS:
Debian package info not maintained here.
2004-03-04 23:27:41 +00:00
Thomas Vander Stichele
03aca81c2c 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
5c926cd841 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
c5604458c4 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
e365bb4ca3 fix the spec
Original commit message from CVS:
fix the spec
2004-03-04 20:13:09 +00:00
Julien Moutte
5b57d4eb1a 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:49 +00:00
Thomas Vander Stichele
4208e9167c fix --with-plugins
Original commit message from CVS:
fix --with-plugins
2004-03-02 18:32:27 +00:00
Ronald S. Bultje
3362e00aff 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:25 +00:00
Thomas Vander Stichele
f1dc96c164 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
abd1fe68c4 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
1aafc1b3dc MAINTAINERS: Add
Original commit message from CVS:
* MAINTAINERS: Add
2004-03-01 20:55:30 +00:00
Thomas Vander Stichele
86be9e953f fix spec file
Original commit message from CVS:
fix spec file
2004-03-01 16:36:35 +00:00
Thomas Vander Stichele
674aa096d7 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
b774bb96c9 fix plugin filename
Original commit message from CVS:
fix plugin filename
2004-03-01 15:55:01 +00:00
Christophe Fergeau
ce608897ab 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
b91477ed8c 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
ee5fb6167b 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
d266c49719 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
7f033e4c9c 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
087eda9bd6 back to nano
Original commit message from CVS:
back to nano
2004-02-26 18:12:55 +00:00
Thomas Vander Stichele
7d14013c03 assorted debug/warning fixes
Original commit message from CVS:
assorted debug/warning fixes
2004-02-25 17:45:54 +00:00
Thomas Vander Stichele
4eb79c9b92 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
c38c08d732 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
6c552d4217 fix mulawdec
Original commit message from CVS:
fix mulawdec
2004-02-24 23:44:48 +00:00
David Schleef
5f6624172b 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
0448bb4c30 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
e913ff5a5a 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
74f1d933ad 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
24204a7884 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
a9e7cd5c7b 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
c74043423e 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
b5ae6d8d8c 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
dba7257b1b 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
c80c21d5d7 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
fb73db4b31 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
22804fbead 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
aadafc6e8e 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:56 +00:00
Benjamin Otte
3923455478 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:07 +00:00
Benjamin Otte
8061a99677 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
ce8fa8f6f1 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
d519b8786f 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
213c6df84e 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
d488a13dc7 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
d21823bcc4 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
e6d23eec2e add debug category
Original commit message from CVS:
add debug category
2004-02-18 16:44:51 +00:00
Julien Moutte
80cc07ad42 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
7c2f50cc1a 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
2e4e4c9ec9 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
53a8aaa820 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
43a189fbc9 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
9114ffce0e 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
890aa60fe9 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
ef38eaa22d 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
9d92dc291f 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
4dd55c13f9 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
e2ae8929b8 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
53f8a15a71 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
c44c300313 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
b24d7a2aeb 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
2b9ff492c0 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
1823541242 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
e0f83e80cb 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
fcb18ada6e 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
d33a32c5a8 move ffmpeg stuff to gst-ffmpeg module
Original commit message from CVS:
move ffmpeg stuff to gst-ffmpeg module
2004-02-13 15:11:49 +00:00
Thomas Vander Stichele
7ae3469e1c use GST_ARCH
Original commit message from CVS:
use GST_ARCH
2004-02-13 13:09:27 +00:00
Julien Moutte
fc9738517b 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
5ae71a7400 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:50 +00:00
David Schleef
ff90d39556 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
5e7c5ea3b1 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
f7a709fe23 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:04:59 +00:00
David Schleef
cb405f8eda 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
99e15a37e9 fix underquotedness of macros
Original commit message from CVS:
fix underquotedness of macros
2004-02-11 16:44:05 +00:00
Thomas Vander Stichele
d769e1e410 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
43e1919fa0 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
f30ceaa645 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:35 +00:00
Benjamin Otte
b1c2fb3ab7 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
cb84762012 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
840a9ed1cc 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
dd989ba993 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:09 +00:00
David Schleef
f1d84d8ae7 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:05 +00:00
Thomas Vander Stichele
fa50814a2a changelog update
Original commit message from CVS:
changelog update
2004-02-06 15:32:56 +00:00
David Schleef
c0ada861f2 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
23e23f0fad 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
508ba4c4a8 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
bef37d38b5 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:36 +00:00
Jan Schmidt
7ed5a3d96f 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
9794bc5087 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
41a6305d55 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:13 +00:00
Benjamin Otte
8741f782fa 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
8dc9d960f0 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
c6e0c994a0 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
262b9a599d 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
f627867919 appease libtool gods
Original commit message from CVS:
appease libtool gods
2004-02-04 21:30:15 +00:00
Thomas Vander Stichele
de15fffef9 first prerel
Original commit message from CVS:
first prerel
2004-02-04 21:05:45 +00:00
Thomas Vander Stichele
0f7cf38d1c 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
f28b319d80 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:31 +00:00
David Schleef
e3eccad808 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
d6f7282bea 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:55 +00:00
Julien Moutte
9c847a9fba 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
aefa946809 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:34 +00:00
Benjamin Otte
aacfb9b993 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
7340549ab3 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
801b7221ac 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:48 +00:00
Thomas Vander Stichele
7c3cab5c86 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
86a575e609 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:15 +00:00
David I. Lehn
b0f2fef646 .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
32f7765e24 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
04502b104f 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
c683efffe1 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
e79785b0de 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
37bc5bf925 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
15a6dde163 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
ca831f952a remove textdomain calls
Original commit message from CVS:
remove textdomain calls
2004-02-02 22:25:38 +00:00
Julien Moutte
ad795dd11a 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
fd9ea326c8 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
215061f40d 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
0d0ff109d3 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
d592f44068 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:46 +00:00
Thomas Vander Stichele
79bc3ebfa1 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
270cd34c4a 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
3371f5cd8d 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
1604cdb1de 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
b569035b5e 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:06 +00:00
Thomas Vander Stichele
4c1f149dbe 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
4c282a588a 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:20 +00:00
Benjamin Otte
b00c0458de 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
deee35b81c add error handling
Original commit message from CVS:
add error handling
2004-01-31 15:56:32 +00:00
Benjamin Otte
085aa670e6 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:17 +00:00
Jeremy Simon
348c3d52cf 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
8068692b10 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
43d25d42f2 done operating
Original commit message from CVS:
done operating
2004-01-30 22:38:55 +00:00
Thomas Vander Stichele
fb12d468ea removing deprecated code
Original commit message from CVS:
removing deprecated code
2004-01-30 22:03:14 +00:00
Thomas Vander Stichele
a0aa0b0e7b 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
7d2e4ce7b4 add bit of info
Original commit message from CVS:
add bit of info
2004-01-30 20:34:43 +00:00
Benjamin Otte
91f4fb8d20 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:23 +00:00
Ronald S. Bultje
200b49318f 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
95682c71a5 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
ff4c8d5107 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
82d8ba320f 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
5e56acb575 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:03 +00:00
Thomas Vander Stichele
51e5863a97 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:45 +00:00
Julien Moutte
745fa0631d 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:41 +00:00
Ronald S. Bultje
710151182a 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
90b3a252e3 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
c36fd6ab65 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
9e6fdf1ae3 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:12 +00:00
Ronald S. Bultje
0848dd9577 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
7cd06571dd 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
1d9586d6eb 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:22 +00:00
Julien Moutte
4c653e12e6 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
a775acc01a 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
4f82beeefe 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
2ff91478b4 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
0e33a45d84 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
800a461ab7 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
9f8051c5ea 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
723f3a5e3f 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
bb8b7fdcb3 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
74fad4ec46 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
bc4b97feaf 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
5994890373 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
98fc4bf118 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
ea159699b8 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
ea6fc29162 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
0cc46d63e5 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
27bd290d34 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:04 +00:00
Ronald S. Bultje
44c6a27972 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
2c82da7073 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
9e67f9a283 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
2de9e90128 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
eefc01aee0 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
7091ce493f 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
88c22f7511 private debugging cat better error reporting
Original commit message from CVS:
private debugging cat
better error reporting
2004-01-23 15:34:50 +00:00
Ronald S. Bultje
d2d07f68b2 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
37ac1f6617 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:16 +00:00
Thomas Vander Stichele
919e61aa5c fix distcheck
Original commit message from CVS:
fix distcheck
2004-01-23 13:19:46 +00:00
Ronald S. Bultje
25eb27ac3a 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
b1dd73c3a8 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
f78e29f13b 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
6eac1f9c4c 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
396397ee7c 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
3c9e51e915 fix non-compilation
Original commit message from CVS:
fix non-compilation
2004-01-22 13:22:02 +00:00
David Schleef
ff90353f7d 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:17 +00:00
Thomas Vander Stichele
f2504850cd fix includes for distcheck
Original commit message from CVS:
fix includes for distcheck
2004-01-21 12:51:27 +00:00
Christian Schaller
489501ca06 adding NAS plugin
Original commit message from CVS:
adding NAS plugin
2004-01-21 06:57:30 +00:00
Jeremy Simon
9630b275f8 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
e3c96772df 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
9717bb8b2a 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
bc2f3f50db 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
7072701b0f 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
67bf971493 fix error error
Original commit message from CVS:
fix error error
2004-01-20 13:01:40 +00:00
Ronald S. Bultje
a1a666b4e0 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
e4c97bc8a7 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
cfd945ea26 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
a661ce0bcd 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
62f207f66f 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
4d1e15ee62 fix element_error
Original commit message from CVS:
fix element_error
2004-01-19 18:22:57 +00:00
Thomas Vander Stichele
d9621d1d77 further element_error fixes
Original commit message from CVS:
further element_error fixes
2004-01-19 17:11:28 +00:00
Thomas Vander Stichele
a19934815a adding locale.h
Original commit message from CVS:
adding locale.h
2004-01-19 16:43:01 +00:00
Thomas Vander Stichele
53f2526d7b removing config.h
Original commit message from CVS:
removing config.h
2004-01-19 15:50:38 +00:00
Thomas Vander Stichele
469936a3bd 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
0c44236d03 fix soundfile as well
Original commit message from CVS:
fix soundfile as well
2004-01-19 14:07:32 +00:00
Thomas Vander Stichele
8fd7df0cb5 fix i18n include
Original commit message from CVS:
fix i18n include
2004-01-19 13:50:39 +00:00
Thomas Vander Stichele
293eb846f0 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
a0420d2437 parenthising NULL
Original commit message from CVS:
parenthising NULL
2004-01-19 10:00:00 +00:00
Thomas Vander Stichele
d7147f9ff4 adding header
Original commit message from CVS:
adding header
2004-01-18 23:21:55 +00:00
Thomas Vander Stichele
3b0cf935f6 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
272db0c22e 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
0ef1f267ad 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
4ac1a134ec 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
a62547cfe3 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
7ad8c16e6a 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
688c532f68 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
f092884ede 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
6f918f3e37 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:43 +00:00
Ronald S. Bultje
453bf02ead 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
f744ba7478 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
e4d58129fb 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
d6c067e3b5 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
51db8f1fe2 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
36470772d6 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
13bee94964 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
01a7e0467d 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
e4520f972f 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
e98dec1a6f 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
7ceb2380fd 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
843970fe06 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
1064b7fe4c 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
e82cbe3f08 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
Benjamin Otte
7944a55503 ext/alsa/gstalsasink.c: Don't update the time of the clock sync to the clock given to alsasink, not the own clock
Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Don't update the time of the clock
(gst_alsa_sink_loop):
sync to the clock given to alsasink, not the own clock
* sys/oss/gstosssink.c: (gst_osssink_chain):
sync to the clock
(gst_osssink_change_state):
activate the clock
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
remove bogus code that made DISCONT events unhandled
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
explicitly case to double in _set_simple. (fixes 2nd warning in bug
#131502)
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_read_object_header),
(gst_asf_demux_handle_sink_event), (gst_asf_demux_audio_caps),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_video_caps):
convert g_warning because of wrong asf data to GST_WARNINGs (fixes
2nd warning in bug #131502)
2004-01-15 02:14:54 +00:00
Julien Moutte
185fa362d6 gst/videofilter/gstvideobalance.c: Fixing videobalance ranges for colorbalance interface implementation.
Original commit message from CVS:
2004-01-14  Julien MOUTTE  <julien@moutte.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_init),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value): Fixing videobalance ranges
for colorbalance interface implementation.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_set_property), (gst_ximagesink_get_property),
(gst_ximagesink_dispose), (gst_ximagesink_init),
(gst_ximagesink_class_init): Adding DISPLAY property.
* sys/ximage/ximagesink.h: Adding display_name to store display.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
(gst_xvimagesink_dispose), (gst_xvimagesink_init),
(gst_xvimagesink_class_init): Adding DISPLAY property and colorbalance
properties (they still need polishing though for gst-launch use : no
xcontext yet, i ll do that tomorrow).
* sys/xvimage/xvimagesink.h: Adding display_name to store display.
2004-01-14 23:01:49 +00:00
Julien Moutte
1513f05bc7 gst-libs/gst/play/gstplay.c: Preparing switch integration, adding videobalance in the pipeline.
Original commit message from CVS:
2004-01-14  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup),
(gst_play_set_location), (gst_play_set_visualization): Preparing
switch integration, adding videobalance in the pipeline.
2004-01-14 21:50:39 +00:00
Julien Moutte
0d9c9217ec gst-libs/gst/colorbalance/colorbalance.c: Adding a default type.
Original commit message from CVS:
2004-01-14  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalance.c:
(gst_color_balance_class_init): Adding a default type.
* gst-libs/gst/colorbalance/colorbalance.h: Adding a macro to access
the type.
* gst/videofilter/gstvideobalance.c: (gst_videobalance_get_type),
(gst_videobalance_dispose), (gst_videobalance_class_init),
(gst_videobalance_init), (gst_videobalance_interface_supported),
(gst_videobalance_interface_init),
(gst_videobalance_colorbalance_list_channels),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value),
(gst_videobalance_colorbalance_init): Implementing colorbalance
interface.
* gst/videofilter/gstvideobalance.h: Adding colorbalance channels
list.
* sys/ximage/ximagesink.c: (gst_ximagesink_set_xwindow_id): Fixing a
bug which was triggering a BadAccess X error when setting an overlay
before pad was really negotiated.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_colorbalance_init):
Using the colorbalance type macro.
2004-01-14 17:15:34 +00:00
Benjamin Otte
a4a8359daa ext/flac/gstflacenc.c: handle tags correctly
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

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

* gst/typefind/gsttypefindfunctions.c: (matroska_type_find),
(plugin_init):
Improve matroska typefinding for odd-typed headers...
2004-01-14 11:10:05 +00:00
Ronald S. Bultje
5d181f4c6d gst/matroska/matroska-demux.c: Fix for using incremental number on padnames.
Original commit message from CVS:
2004-01-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream):
Fix for using incremental number on padnames.
2004-01-14 10:58:15 +00:00
Ronald S. Bultje
00b0cdf8ff ext/divx/: Set category to divx4linux instead of divx (too generic).
Original commit message from CVS:
2004-01-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
Set category to divx4linux instead of divx (too generic).
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event),
(gst_wavparse_loop), (gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
fix parsing of WAV files with non-standard fmt-tag size and fix
skipping of unrecognized chunks... Someone please fix this thing
to use rifflib so all this is automated.
* sys/v4l/Makefile.am:
* sys/v4l2/Makefile.am:
Add X_CFLAGS because we depend on X (for overlay).
2004-01-14 10:48:18 +00:00
Jan Schmidt
ff09e8e44f Don't issue a timestamp unless we have a PTS.
Original commit message from CVS:
Don't issue a timestamp unless we have a PTS.
2004-01-14 06:41:52 +00:00
Benjamin Otte
b4b35f29e9 gst-libs/gst/play/gstplay.c: Query the audio element to get the time, not the clock. We're interested in the element'...
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/play/gstplay.c: (gst_play_tick_callback):
Query the audio element to get the time, not the clock. We're
interested in the element's time here.
2004-01-14 02:37:12 +00:00
Benjamin Otte
9a9f767369 use element time.
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/aalib/gstaasink.c: (gst_aasink_chain):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
* ext/esd/esdsink.c: (gst_esdsink_chain):
* ext/libcaca/gstcacasink.c: (gst_cacasink_chain):
* ext/mas/massink.c: (gst_massink_chain):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_chain):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_metadata):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop),
(gst_mpeg_parse_release_locks):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_chain):
* gst/udp/gstudpsink.c: (gst_udpsink_chain):
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_chain):
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvideo/xvideosink.c: (gst_xvideosink_chain),
(gst_xvideosink_release_locks):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
use element time.
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_start),
(gst_alsa_clock_stop):
* gst-libs/gst/audio/audioclock.c: (gst_audio_clock_set_active),
(gst_audio_clock_get_internal_time):
simplify for use with new clocking code.
* testsuite/alsa/Makefile.am:
* testsuite/alsa/sinesrc.c: (sinesrc_init), (sinesrc_force_caps):
fix testsuite for new caps system
2004-01-14 00:53:52 +00:00
Benjamin Otte
6796f7f2d1 ext/flac/: length is already host endian, no need to convert. Fixes playback of tagged files on PPC. (bug #128384)
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/flac/gstflacenc.c: (add_one_tag):
length is already host endian, no need to convert. Fixes playback of
tagged files on PPC. (bug #128384)
2004-01-14 00:15:44 +00:00
Benjamin Otte
ab09da70c0 ext/flac/gstflacdec.c: length is already host endian, no need to convert. Fixes playback of tagged files on PPC.
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
length is already host endian, no need to convert. Fixes playback of
tagged files on PPC.
2004-01-13 23:59:51 +00:00
Jon Trowbridge
eabada02dc gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface stating if it is hardware based...
Original commit message from CVS:
2004-01-13  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the
colorbalance interface stating if it is hardware based or software
based.
* gst/videofilter/gstvideobalance.c: (gst_videobalance_planar411):
Removing a trailing comma.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_colorbalance_init): Integrating a patch from Jon
Trowbridge <trow@ximian.com> querying Xv adaptor for min/max value as
the documentation seems to be wrong on the -1000 to 1000 interval.
2004-01-13 17:57:24 +00:00
David Schleef
21522cfe7d gst/debug/efence.c: Fix negotiation. Add a bufferalloc function for the sink pad, and generally clean up some of the...
Original commit message from CVS:
* gst/debug/efence.c: (gst_efence_init), (gst_efence_chain),
(gst_efence_buffer_alloc), (gst_fenced_buffer_new),
(gst_fenced_buffer_default_free), (gst_fenced_buffer_default_copy):
Fix negotiation.  Add a bufferalloc function for the sink pad,
and generally clean up some of the code.
2004-01-12 23:24:05 +00:00
Julien Moutte
79e59268f3 gst-libs/gst/colorbalance/colorbalancechannel.c: Adding safety check in dispose method.
Original commit message from CVS:
2004-01-12  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalancechannel.c:
(gst_color_balance_channel_dispose): Adding safety check in dispose
method.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_interface_supported),
(gst_xvimagesink_colorbalance_list_channels),
(gst_xvimagesink_colorbalance_set_value),
(gst_xvimagesink_colorbalance_get_value),
(gst_xvimagesink_colorbalance_init), (gst_xvimagesink_get_type):
Adding colorbalance interface support to set XV parameters such as
HUE, BRIGHTNESS, CONTRAST, SATURATION.
* sys/xvimage/xvimagesink.h: Adding the channels list for colorbalance
interface.
2004-01-12 19:50:29 +00:00
Thomas Vander Stichele
28078dec78 fix up audioconvert caps nego, remove float stuff, remove rate stuff gst-launch-0.7 -v sinesrc ! audioconvert ! audi...
Original commit message from CVS:

fix up audioconvert caps nego, remove float stuff, remove rate stuff
gst-launch-0.7  -v sinesrc ! audioconvert ! audio/x-raw-int,rate=23000 ! wavenc ! filesink location=test.wav now writes a completely useless 23000 Hz wave file
2004-01-12 19:46:45 +00:00
Thomas Vander Stichele
3d1eca6e78 adding structure setters matching the templates for audio
Original commit message from CVS:
adding structure setters matching the templates for audio
2004-01-12 19:35:53 +00:00
David Schleef
b008d5a3de gst/audioconvert/gstaudioconvert.c: Test that pad is negotiated before getting its caps.
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Test that pad is negotiated before getting its caps.
2004-01-12 18:59:57 +00:00
Julien Moutte
7481a35b0b gst-libs/gst/play/gstplay.c: When analyzing the pads of an element the bin is mostly in READY state so no caps were n...
Original commit message from CVS:
2004-01-12  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/play/gstplay.c: (gst_play_get_sink_element): When
analyzing the pads of an element the bin is mostly in READY state so
no caps were negotiated. This helper function needs to work with
_get_caps directly then. I was not freeing them though, added that to
fix the mem leak.
2004-01-12 16:48:48 +00:00
Julien Moutte
3e58cab694 sys/: Fixing the direct put buffers detection. I prefer checking GST_BUFFER_PRIVATE than the free_func.
Original commit message from CVS:
2004-01-12  Julien MOUTTE <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): Fixing the
direct put buffers detection. I prefer checking GST_BUFFER_PRIVATE
than the free_func.
2004-01-12 14:40:53 +00:00
Thomas Vander Stichele
c302fb7255 make oss warning more useful
Original commit message from CVS:
make oss warning more useful
2004-01-12 12:24:05 +00:00
Thomas Vander Stichele
21c053773f add oss debugging category
Original commit message from CVS:
add oss debugging category
2004-01-12 12:07:28 +00:00
David Schleef
c5ee12c2a7 Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegdec.c:
* ext/ffmpeg/gstffmpegenc.c:
* ext/ffmpeg/gstffmpegprotocol.c:
* ext/gdk_pixbuf/gstgdkanimation.c:
* ext/jpeg/gstjpeg.c:
* ext/libpng/gstpng.c:
* ext/mpeg2dec/perftest.c:
* ext/speex/gstspeex.c:
* gst-libs/gst/resample/dtos.c:
* gst/intfloat/gstintfloatconvert.c:
* gst/oneton/gstoneton.c:
* gst/rtjpeg/RTjpeg.c:
* gst/rtp/gstrtp.c:
* sys/dxr3/dxr3init.c:
* sys/glsink/gstgl_nvimage.c:
* sys/glsink/gstgl_pdrimage.c:
* sys/glsink/gstglsink.c:
* testsuite/gst-lint:
Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
2004-01-12 04:15:46 +00:00
David Schleef
86a4117f7e Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
Original commit message from CVS:
Remove all usage of gst_pad_get_caps(), and replace it with
gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
2004-01-12 03:40:18 +00:00
David Schleef
733fcc4629 Fixes to make ext/libcaca compile.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am: Fixes to make ext/libcaca compile.
* ext/divx/gstdivxdec.c:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link),
(gst_gdk_pixbuf_init), (gst_gdk_pixbuf_chain): Make gdkpixbufdec
handle images that span multiple buffers.  Now work with both
filesrc ! gdkpixbufdec and qtdemux ! gdkpixbufdec.
* ext/gdk_pixbuf/gstgdkpixbuf.h:
* ext/libcaca/gstcacasink.h: Fixes needed due to recent
video/video.h changes
* ext/xvid/gstxvid.c: (gst_xvid_csp_to_caps): same
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free): Use buffer free function instead
of GstData free function.
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
same.
2004-01-12 03:21:40 +00:00
Benjamin Otte
409384e0d8 sys/v4l2/: add norm, channel and frequency properties.
Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init),
(gst_v4l2element_dispose), (gst_v4l2element_set_property),
(gst_v4l2element_get_property):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults), (gst_v4l2_open):
add norm, channel and frequency properties.
* sys/v4l2/gstv4l2tuner.c:
fixes for tuner interface changes
* sys/v4l2/gstv4l2element.h:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/v4l2src_calls.c:
* sys/v4l2/v4l2src_calls.h:
rework v4l2src to work with saa1734 cards and allow mmaped buffers.
2004-01-12 02:19:57 +00:00
Benjamin Otte
efeab14a4e gst-libs/gst/tuner/tuner.*: GObjects aren't const.
Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/tuner/tuner.c: (gst_tuner_class_init),
(gst_tuner_find_norm_by_name), (gst_v4l2_find_channel_by_name),
(gst_tuner_channel_changed), (gst_tuner_norm_changed),
(gst_tuner_frequency_changed), (gst_tuner_signal_changed):
* gst-libs/gst/tuner/tuner.h:
GObjects aren't const.
Add find_by_name functions.
Add checks to _changed functions.
* sys/v4l/gstv4ltuner.c: (gst_v4l_tuner_get_channel),
(gst_v4l_tuner_get_norm):
Fixes for above.
2004-01-12 02:11:03 +00:00
Benjamin Otte
92bcd41763 gst-libs/gst/video/video.h: Fix caps template names to be understandable.
Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/video/video.h:
Fix caps template names to be understandable.
Prefix everything with GST_VIDEO.
* ext/aalib/gstaasink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/gdk_pixbuf/gstgdkpixbuf.c:
* ext/hermes/gstcolorspace.c: (gst_colorspace_base_init):
* ext/jpeg/gstjpegdec.c: (raw_caps_factory):
* ext/jpeg/gstjpegenc.c: (raw_caps_factory):
* ext/libcaca/gstcacasink.c:
* ext/libpng/gstpngenc.c: (raw_caps_factory):
* ext/snapshot/gstsnapshot.c:
* ext/swfdec/gstswfdec.c:
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/chart/gstchart.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/effectv/gsteffectv.c:
* gst/flx/gstflxdec.c: (gst_flxdec_loop):
* gst/goom/gstgoom.c:
* gst/median/gstmedian.c:
* gst/monoscope/gstmonoscope.c: (gst_monoscope_init),
(gst_monoscope_srcconnect), (gst_monoscope_chain):
* gst/overlay/gstoverlay.c:
* gst/smooth/gstsmooth.c:
* gst/smpte/gstsmpte.c:
* gst/synaesthesia/gstsynaesthesia.c:
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/y4m/gsty4mencode.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps):
Make them work with new video.h file.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc):
Make it work with new buffer allocation system.
2004-01-12 02:01:51 +00:00
Julien Moutte
44455ef9c9 ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad
Original commit message from CVS:
2004-01-11  Julien MOUTTE  <julien@moutte.net>

* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* ext/hermes/gstcolorspace.c: (gst_colorspace_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):  Fixing the
pad_alloc_buffer implementation to use ->srcpad
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_chain), (gst_ximagesink_buffer_free),
(gst_ximagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/ximage/ximagesink.h: adding a reference to the sink in the image.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/xvimage/xvimagesink.h: adding a reference to the sink in the image
2004-01-11 22:52:28 +00:00
David Schleef
4ec54daec5 ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test
Original commit message from CVS:
* ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test
* gst/debug/efence.c: (gst_efence_chain), (gst_fenced_buffer_new),
(gst_fenced_buffer_default_copy): Fix for rename of buffer private
structure members.
* gst/effectv/gstwarp.c: (gst_warptv_setup): Don't reset the time
value during a resize/renegotiation.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain): use
gst_pad_alloc_buffer();
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free): Fix for rename of buffer private
structure members.
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
Fix for rename of buffer private structure members.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc):
Fix for rename of buffer private structure members.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc):
Fix for rename of buffer private structure members.
2004-01-11 22:03:52 +00:00
David Schleef
6d53140c73 New gamma filter
Original commit message from CVS:
New gamma filter
2004-01-11 21:52:10 +00:00
Julien Moutte
b95accb194 I forgot to commit Changelog on my latest commit. (no cake for me tonight)
Original commit message from CVS:
I forgot to commit Changelog on my latest commit. (no cake for me tonight)
2004-01-11 19:40:58 +00:00
Benjamin Otte
d848744900 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2004-01-11 19:34:15 +00:00
Benjamin Otte
b6b01d96ac gst/qtdemux/qtdemux.c: fix audio chunk size/timestamp calculation
Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_trak):
fix audio chunk size/timestamp calculation
2004-01-11 17:49:56 +00:00
Benjamin Otte
f43d87053b ext/ffmpeg/gstffmpegcodecmap.c: fix SVQ3 caps
Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
fix SVQ3 caps
2004-01-11 04:51:47 +00:00
Steve Baker
9e43d5d8ed gst/effectv/gstaging.c: Port agingTV to videofilter
Original commit message from CVS:
* gst/effectv/gstaging.c: (gst_agingtv_get_type),
(gst_agingtv_base_init), (gst_agingtv_class_init),
(gst_agingtv_init), (gst_agingtv_setup), (gst_agingtv_rgb32),
(gst_agingtv_set_property), (gst_agingtv_get_property):
Port agingTV to videofilter
2004-01-10 21:18:31 +00:00
Julien Moutte
ca63f0b493 ext/hermes/gstcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
Original commit message from CVS:
* ext/hermes/gstcolorspace.c: (gst_colorspace_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
2004-01-09 19:29:35 +00:00
Julien Moutte
d791c679c5 ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst-libs/gst/xoverlay/xoverlay.c:
(gst_x_overlay_got_desired_size): Updating doc for the xid being 0.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
2004-01-09 18:05:56 +00:00
David Schleef
e20c333a34 Hacking. Added decoding and mouse events. Actually works.
Original commit message from CVS:
Hacking.  Added decoding and mouse events.  Actually works.
2004-01-09 10:46:37 +00:00
Ronald S. Bultje
d0a654dcfc ext/divx/gstdivxenc.c: Use explicit caps - fix capsnego.
Original commit message from CVS:
2004-01-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxenc.c: (gst_divxenc_init):
Use explicit caps - fix capsnego.
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
Remove macro-inside-macro which caused compile errors.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_header):
Error out if it's not a RIFF file. Else we error out without
gst_element_error() which is not good...
2004-01-09 09:48:43 +00:00
David Schleef
756480d6d5 ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Fix pad_link function to handle formats that ffmpeg returns
as multiple caps structures.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
Only complain if source buffer is _smaller_ than expected.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_handle_src_event): Resize navigation events
when passing them upstream.
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Rewrite many of the buffer painting functions to handle odd
sizes (for many formats, size%4!=0 or size%8!=0).  Most have
been verified to work with my video card.
* testsuite/gst-lint:  Add check for elements calling
gst_pad_get_caps() instead of gst_pad_get_allowed_caps().
2004-01-09 01:53:31 +00:00
David Schleef
0a840a323f Fix negotiation
Original commit message from CVS:
Fix negotiation
2004-01-08 21:53:32 +00:00
Julien Moutte
7769908ba8 sys/ximage/ximagesink.c: configure event is not emiting the desired size signal. That fixes aspect ratio issues with ...
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents): A
configure event is not emiting the desired size signal. That fixes
aspect ratio issues with gst-player.
2004-01-08 20:06:32 +00:00
Ronald S. Bultje
c247ad4c07 gst/median/gstmedian.c: Fix capsnego.
Original commit message from CVS:
2004-01-08  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/median/gstmedian.c: (gst_median_link), (gst_median_init):
Fix capsnego.
2004-01-08 12:42:40 +00:00
Julien Moutte
365079c2a4 ext/sdl/sdlvideosink.c: Using XOverlay public method to fire size signal.
Original commit message from CVS:
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): Using XOverlay
public method to fire size signal.
2004-01-08 00:54:01 +00:00
Julien Moutte
9229542ce5 examples/gstplay/Makefile.am: Adding the interface library.
Original commit message from CVS:
* examples/gstplay/Makefile.am: Adding the interface library.
* gst-libs/gst/play/Makefile.am: Adding the interface library.
* gst-libs/gst/play/gstplay.c: (gst_play_set_video_sink): Connecting tothe XOverlay size signal instead of GstVideoSink.
* gst-libs/gst/play/gstplay.h: Including the XOverlay interface to check        GST_IS_X_OVERLAY before signal connect.
* gst-libs/gst/video/gstvideosink.c: (gst_videosink_class_init):
Removing the have_video_size signal.
* gst-libs/gst/video/gstvideosink.h: Removing the have_video_size signal        and associated public method.
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents),
(gst_ximagesink_sinkconnect): Using XOverlay public method to fire size
signal.
* sys/xvideo/xvideosink.c: (gst_xvideosink_sinkconnect),
(gst_xvideosink_xwindow_new): Using XOverlay public method to fire size
signal.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sinkconnect):
Using XOverlay public method to fire size signal.
2004-01-07 21:49:25 +00:00
David Schleef
5ecd0b73c5 videofilter
Original commit message from CVS:
videofilter
2004-01-07 21:39:01 +00:00
Thomas Vander Stichele
c0607998ec fix element description
Original commit message from CVS:
fix element description
2004-01-07 16:50:31 +00:00
Julien Moutte
11270123e9 examples/gstplay/player.c: Adding some new lines in g_print calls.
Original commit message from CVS:
* examples/gstplay/player.c: (got_time_tick), (got_stream_length),
(got_video_size): Adding some new lines in g_print calls.
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_destroy), (gst_ximagesink_xwindow_resize),
(gst_ximagesink_handle_xevents), (gst_ximagesink_fixate),
(gst_ximagesink_sinkconnect), (gst_ximagesink_change_state),
(gst_ximagesink_chain), (gst_ximagesink_buffer_new),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_get_desired_size):
Complete code review, reverting some stuff i disagree with, adding
some fixes : time synchronization on invalid timestamps, renegotiation
of private window.
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_destroy),
(gst_xvimagesink_xwindow_resize), (gst_xvimagesink_handle_xevents),
(gst_xvimagesink_get_xv_support), (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_fixate), (gst_xvimagesink_sinkconnect),
(gst_xvimagesink_change_state), (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_new),
(gst_xvimagesink_navigation_send_event),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_get_desired_size),
(gst_xvimagesink_xoverlay_init): Complete code review, reverting some
stuff i disagree with, adding some fixes : Renegotiation of private
window, implementing get_desired_size.
2004-01-07 15:33:41 +00:00
Ronald S. Bultje
6ac4353319 Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower o...
Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain),
(gst_afsink_handle_event):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_init):
* gst/avi/gstavimux.c: (gst_avimux_request_new_pad):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
Fix for instantiate-test (see core). Also remove dead code from
jpegenc (which still needs fixing, but that's lower on my TODO
list...).
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Never return NULL as caps.
2004-01-07 13:18:08 +00:00
David Schleef
0adc28bcb8 New source plugin based on librfb-0.1. RFB (remote framebuffer) is the protocol used by VNC.
Original commit message from CVS:
New source plugin based on librfb-0.1.  RFB (remote framebuffer)
is the protocol used by VNC.
2004-01-07 10:51:05 +00:00
David Schleef
1756816071 Make warpTV a subclass of videofilter
Original commit message from CVS:
Make warpTV a subclass of videofilter
2004-01-07 10:16:09 +00:00
Benjamin Otte
0bd268563c ext/mad/gstid3tag.c: Add guard against invalid utf-8 conversions in mad. Just in case.
Original commit message from CVS:
2004-01-07  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
Add guard against invalid utf-8 conversions in mad. Just in case.
2004-01-07 03:06:19 +00:00
Benjamin Otte
086e0f436e sys/oss/gstosssink.c: Fix for bug shown by poisoning
Original commit message from CVS:
2004-01-07  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
Fix for bug shown by poisoning
2004-01-06 23:42:37 +00:00
Ronald S. Bultje
ae16daaec8 sys/v4l/: Fix for removed bufferpools.
Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps),
(gst_v4lsrc_srcconnect), (gst_v4lsrc_getcaps), (gst_v4lsrc_get),
(gst_v4lsrc_buffer_free):
Fix for removed bufferpools.
2004-01-06 20:15:21 +00:00
Jan Schmidt
70ca50ae21 ext/dv/gstdvdec.c: Fix caps negotiation.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_loop):
Fix caps negotiation.

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

* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
These fixate functions were broken - they never actually
fixated :)
2004-01-06 16:42:09 +00:00
Ronald S. Bultje
d2f67bee59 ext/shout/gstshout.c: fix for new caps system.
Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/shout/gstshout.c: (gst_icecastsend_base_init),
(gst_icecastsend_init):
fix for new caps system.
* gst-libs/gst/mixer/mixertrack.h:
* sys/oss/gstossmixer.c: (gst_ossmixer_build_list):
Add 'master track' flag (for tools like ACME that only want to
change the main volume).
2004-01-06 15:59:02 +00:00
Jan Schmidt
4ac14e757e ifdef out ARGB type when it isn't available in xvidcore 1.0.0beta2
Original commit message from CVS:
ifdef out ARGB type when it isn't available in xvidcore 1.0.0beta2
2004-01-06 14:34:52 +00:00
Ronald S. Bultje
1423f13c84 gst/mpegstream/gstmpegparse.c: When we have received a new SCR right in the first buffer after we should handle the b...
Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop):
When we have received a new SCR right in the first buffer after
a seek (so in the same cycle that handles the discont), we should
handle the buffer instead of unreffing it, else we lose data.
2004-01-06 12:31:31 +00:00
Iain Holmes
0123bf7cc1 Set the buffer-frames on the int2floats caps
Original commit message from CVS:
Set the buffer-frames on the int2floats caps
Make creating srcpads in the oneton smarter.
2004-01-06 00:06:10 +00:00
Ronald S. Bultje
764fef5c86 gst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting functions such as event handler.
Original commit message from CVS:
2004-01-05  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
Add pad to element *after* setting functions such as event handler.
Without this, the scheduler (opt) will link pads, set the event
handler from the default event function (dispatcher in gstpad.c)
and *after* that, we will set our own event function, which will
thus never be used (and thus mpegdemux doesn't handle events).
2004-01-05 11:17:23 +00:00
David Schleef
7066aeeae5 Fix the fixate functions to handle new prototype:
Original commit message from CVS:
Fix the fixate functions to handle new prototype:
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
* sys/ximage/ximagesink.c: (gst_ximagesink_fixate):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate):
2004-01-04 23:46:39 +00:00
Benjamin Otte
b5d58065bd sys/ximage/ximagesink.*: assorted fixes to make (re)embedding work
Original commit message from CVS:
2004-01-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/ximage/ximagesink.h:
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_destroy), (gst_ximagesink_sinkconnect),
(gst_ximagesink_change_state), (gst_ximagesink_set_xwindow_id),
(gst_ximagesink_xoverlay_init):
assorted fixes to make (re)embedding work
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect),
(gst_ximagesink_get_desired_size):
implement desired size additions to XOverlay
2004-01-04 18:53:53 +00:00
Benjamin Otte
d782533b9b gst-libs/gst/xoverlay/xoverlay.*: Add optional "desired size" signal and querying.
Original commit message from CVS:
2004-01-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/xoverlay/xoverlay.c: (gst_x_overlay_base_init),
(gst_x_overlay_got_xwindow_id), (gst_x_overlay_get_desired_size),
(gst_x_overlay_got_desired_size):
* gst-libs/gst/xoverlay/xoverlay.h:
Add optional "desired size" signal and querying.
2004-01-04 18:02:30 +00:00
Ronald S. Bultje
9810174ff0 Oops
Original commit message from CVS:
Oops
2004-01-04 16:04:09 +00:00
Ronald S. Bultje
520514e03c gst/matroska/matroska-demux.c: Fix EBML-laced block parsing. Diffs are relative to previous lace, not the first lace....
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/matroska/matroska-demux.c:
Fix EBML-laced block parsing. Diffs are relative to previous
lace, not the first lace. Thanks to Mosu from the Matroska
team for detecting this.
(gst_matroska_demux_parse_blockgroup):
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_parse_fmt), (gst_wavparse_getcaps),
(gst_wavparse_handle_sink_event), (gst_wavparse_loop),
(gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
Quickfix for capsnego.
2004-01-04 15:23:03 +00:00
Ronald S. Bultje
0a8cb9cef9 gst/wavenc/gstwavenc.c: Fix indenting, fix pad creation.
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/wavenc/gstwavenc.c: (set_property), (gst_wavenc_init):
Fix indenting, fix pad creation.
2004-01-04 12:14:37 +00:00
Ronald S. Bultje
cd628a8fde ext/xvid/gstxviddec.c: Implement src_getcaps() so proper size caps is negotiated.
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/xvid/gstxviddec.c: (gst_xviddec_init),
(gst_xviddec_src_getcaps), (gst_xviddec_src_link),
(gst_xviddec_sink_link):
Implement src_getcaps() so proper size caps is negotiated.
2004-01-04 09:55:16 +00:00
Ronald S. Bultje
3303d58bb9 ext/flac/gstflacdec.c: Finish flac decoder on EOS. See #116178.
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/flac/gstflacdec.c: (gst_flacdec_loop):
Finish flac decoder on EOS. See #116178.
2004-01-03 23:48:30 +00:00
Ronald S. Bultje
4c95ed1ff5 gst/matroska/: Add getcaps() function to fix capsnego...
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/matroska/matroska-demux.c: (gst_matroska_demux_src_getcaps),
(gst_matroska_demux_add_stream):
* gst/matroska/matroska-ids.h:
Add getcaps() function to fix capsnego...
2004-01-03 23:26:08 +00:00
Ronald S. Bultje
59117eb336 gst/mpegstream/: Fix more integer overflows. Again, see #126967.
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Fix more integer overflows. Again, see #126967.
2004-01-03 23:07:19 +00:00
Ronald S. Bultje
f99d28a1e5 ext/mpeg2dec/gstmpeg2dec.c: Add support for mpeg2dec-0.4.0 (released two weeks ago). See #130416.
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mpeg2dec/gstmpeg2dec.c:
Add support for mpeg2dec-0.4.0 (released two weeks ago). See
#130416.
2004-01-03 22:17:15 +00:00
Ronald S. Bultje
156d6766dc gst/rtp/rtp-packet.c: Add sys/types.h include, since OS X doesn't define in_addr_t in netinet/in.h, like it does on L...
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/rtp/rtp-packet.c:
Add sys/types.h include, since OS X doesn't define in_addr_t
in netinet/in.h, like it does on Linux (see #129600).
2004-01-03 13:20:57 +00:00
Ronald S. Bultje
cebf1220a9 ext/alsa/gstalsamixer.c: Correct logic of dispose function (see #129306).
Original commit message from CVS:
2004-01-03  Thomas Canty <tommydal@optushome.com.au>

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

* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_dispose):
Correct logic of dispose function (see #129306).
2004-01-03 13:09:21 +00:00
Ronald S. Bultje
96cdb80aed gst/mpegstream/: and also fix integer overflows at high PTS values (see #126967).
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init),
(gst_mpeg_parse_init):
* gst/mpegstream/gstmpegparse.h:
Remove clock (which was never provided, i.e. dead code), and
also fix integer overflows at high PTS values (see #126967).
2004-01-03 13:06:10 +00:00
Ronald S. Bultje
73df7f99ea ext/: OS X fixes (see #126628).
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/flac/gstflacdec.c:
* ext/libpng/gstpngenc.h:
* ext/mikmod/gstmikmod.h:
OS X fixes (see #126628).
2004-01-03 12:53:44 +00:00
David Schleef
9a44b0272c ext/alsa/gstalsasrc.c: Remove bogus "src" request pad.
Original commit message from CVS:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_pad_factory),
(gst_alsa_src_base_init): Remove bogus "src" request pad.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_base_init),
(gst_mpeg_parse_class_init): Move pad template registration
to class_init, since the derived class (mpegdemux) doesn't
want them.
2004-01-03 01:27:31 +00:00
Ronald S. Bultje
e9988194b1 sys/: Move interface libs from LDFLAGS to LIBADD, fix relocation errors after installation (see #127664).
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/ximage/Makefile.am:
* sys/xvideo/Makefile.am:
* sys/xvimage/Makefile.am:
Move interface libs from LDFLAGS to LIBADD, fix relocation errors
after installation (see #127664).
2004-01-02 23:42:30 +00:00
David Schleef
ad726227b2 ext/ffmpeg/gstffmpegenc.c: Negotiation fixes.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
(gst_ffmpegenc_connect):  Negotiation fixes.
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format):
Remove inappropriate gst_caps_free().
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Reenable Ronald's internal resize code, since the core handles
it correctly now.
2004-01-02 23:11:41 +00:00
Ronald S. Bultje
350bb387e2 sys/v4l/: Fix pad template stuff.
Original commit message from CVS:
2004-01-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init), (gst_v4lsrc_init):
Fix pad template stuff.
2004-01-02 21:57:10 +00:00
Ronald S. Bultje
02029d218d gst/matroska/: fix signed integer reading/writing.
Original commit message from CVS:
2004-01-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/matroska/ebml-read.c: (gst_ebml_read_sint):
* gst/matroska/ebml-write.c: (gst_ebml_write_sint):
fix signed integer reading/writing.
2004-01-02 20:38:59 +00:00
Benjamin Otte
b4591e1182 ext/alsa/README: Remove outdated document
Original commit message from CVS:
2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/README:
Remove outdated document
2004-01-02 17:28:56 +00:00
Jan Schmidt
782af83621 src pad was being created twice - oops.
Original commit message from CVS:
src pad was being created twice - oops.
2004-01-02 15:32:40 +00:00
Ronald S. Bultje
82ffb10352 sys/ximage/ximagesink.c: Comment out internal resize. It doesn't handle the resulting
Original commit message from CVS:
2004-01-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Comment out internal resize. It doesn't handle the resulting
XEvent internally, does another try_set_caps() which leads to
a really nice loop.
Real fix will come when Julien and Dave are awake. ;).
2004-01-02 11:34:24 +00:00
Ronald S. Bultje
7e22216b02 ext/mpeg2enc/gstmpeg2enc.cc: fix const/nonconst compile issue.
Original commit message from CVS:
2004-01-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mpeg2enc/gstmpeg2enc.cc:
fix const/nonconst compile issue.
2004-01-02 10:51:57 +00:00
David Schleef
3077c07703 Add fixate function and test for bad caps
Original commit message from CVS:
Add fixate function and test for bad caps
2004-01-02 10:04:34 +00:00
David Schleef
e9f6be3a04 Negotiation fixes
Original commit message from CVS:
Negotiation fixes
2004-01-02 07:25:10 +00:00
David Schleef
6c1b114eed Convert elements to use gst_pad_use_explicit_caps() where appropriate.
Original commit message from CVS:
Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2004-01-02 07:09:23 +00:00
Ronald S. Bultje
39a338d51c configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1.92, since the pkg-config file of 1....
Original commit message from CVS:
2004-01-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Fix configure check for mpeg2enc. We need 1.6.1.93 instead of
1.6.1.92, since the pkg-config file of 1.6.1.92 is borked and
it therefore uses the wrong include paths. Too bad... Note
that 1.6.1.93 is not release yet. ;).
Also add a check for mplex, which is now using the lib'ified
mplex from mjpegtools, too.
* ext/ffmpeg/gstffmpegcodecmap.c:
Add codec_tag for 3ivx/xvid. For xvid, this should fix playback
issues. I don't think ffmpeg handles 3ivx correctly, so this
probably won't work. But it won't hurt either.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
(gst_ffmpegdec_chain):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
(gst_ffmpegenc_chain_audio):
Fix memleak in audio encoding. Close codec if open fails, this
calls the cleanup routines so we can re-use the context.
* ext/mpeg2enc/gstmpeg2enc.cc:
Fix pad template names/types, fix memory issue with getcaps().
* ext/mpeg2enc/gstmpeg2encoder.cc:
* ext/mpeg2enc/gstmpeg2encoder.hh:
Fix compile issue with new caps system (const thingy).
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.hh:
We read a first frame right on initing, so that we have a caps
when we init the output. This caps is cached in padprivate and
read as first frame.
* ext/mplex/Makefile.am:
* ext/mplex/gstmplex.cc:
* ext/mplex/gstmplex.h:
* ext/mplex/gstmplex.hh:
* ext/mplex/gstmplexibitstream.cc:
* ext/mplex/gstmplexibitstream.hh:
* ext/mplex/gstmplexjob.cc:
* ext/mplex/gstmplexjob.hh:
* ext/mplex/gstmplexoutputstream.cc:
* ext/mplex/gstmplexoutputstream.hh:
We wrap mjpegtools mplex. So I rewrote the plugin. The old plugin
had issues, didn't do capsnego, supported only a subset of the
mplex features and required a mplex fork in our local CVS. Plus
that it worked agaist a very old mplex version. Rewriting was
faster than updating it.
* gst-libs/ext/Makefile.am:
* gst-libs/ext/mplex/INSTRUCT:
* gst-libs/ext/mplex/Makefile.am:
* gst-libs/ext/mplex/README:
* gst-libs/ext/mplex/TODO:
* gst-libs/ext/mplex/ac3strm_in.cc:
* gst-libs/ext/mplex/audiostrm.hh:
* gst-libs/ext/mplex/audiostrm_out.cc:
* gst-libs/ext/mplex/aunit.hh:
* gst-libs/ext/mplex/bits.cc:
* gst-libs/ext/mplex/bits.hh:
* gst-libs/ext/mplex/buffer.cc:
* gst-libs/ext/mplex/buffer.hh:
* gst-libs/ext/mplex/fastintfns.h:
* gst-libs/ext/mplex/format_codes.h:
* gst-libs/ext/mplex/inputstrm.cc:
* gst-libs/ext/mplex/inputstrm.hh:
* gst-libs/ext/mplex/lpcmstrm_in.cc:
* gst-libs/ext/mplex/mjpeg_logging.cc:
* gst-libs/ext/mplex/mjpeg_logging.h:
* gst-libs/ext/mplex/mjpeg_types.h:
* gst-libs/ext/mplex/mpastrm_in.cc:
* gst-libs/ext/mplex/mpegconsts.cc:
* gst-libs/ext/mplex/mpegconsts.h:
* gst-libs/ext/mplex/mplexconsts.hh:
* gst-libs/ext/mplex/multplex.cc:
* gst-libs/ext/mplex/outputstream.hh:
* gst-libs/ext/mplex/padstrm.cc:
* gst-libs/ext/mplex/padstrm.hh:
* gst-libs/ext/mplex/stillsstream.cc:
* gst-libs/ext/mplex/stillsstream.hh:
* gst-libs/ext/mplex/systems.cc:
* gst-libs/ext/mplex/systems.hh:
* gst-libs/ext/mplex/vector.cc:
* gst-libs/ext/mplex/vector.hh:
* gst-libs/ext/mplex/videostrm.hh:
* gst-libs/ext/mplex/videostrm_in.cc:
* gst-libs/ext/mplex/videostrm_out.cc:
* gst-libs/ext/mplex/yuv4mpeg.cc:
* gst-libs/ext/mplex/yuv4mpeg.h:
* gst-libs/ext/mplex/yuv4mpeg_intern.h:
* gst-libs/ext/mplex/yuv4mpeg_ratio.cc:
We don't fork mjpegtools' mplex in our CVS anymore.
* gst/avi/gstavidemux.c: (gst_avi_demux_src_getcaps),
(gst_avi_demux_add_stream):
* gst/avi/gstavidemux.h:
Add getcaps() function for proper caps nego. This makes some
parts of AVI playback/reading work.
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Resize window on new capsnego. This is probably wrong, but
I'm still committing it because with current capsnego, the
first successfull capsnego is auto-fixated, therefore rounded
down to the lowest values in the caps. this results in a 16x16
XWindow that is not reized when real capsnego finishes.
Dave, I see more cases of this, do you know a proper solution?
* tools/gst-launch-ext.in:
Fix MPEG-4 AAC (Apple iPod/iTunes) file commandline.
2004-01-01 22:45:57 +00:00
David Schleef
079a91cc80 Change gst_pad_proxy_link() to gst_pad_try_set_caps()
Original commit message from CVS:
Change gst_pad_proxy_link() to gst_pad_try_set_caps()
2003-12-31 08:41:48 +00:00
David Schleef
7bbd7da502 Negotiation fixes.
Original commit message from CVS:
Negotiation fixes.
2003-12-31 08:02:04 +00:00
Colin Walters
0543ae84cc ext/esd/esdsink.c (gst_esdsink_link): Fix typo; get depth instead of signed.
Original commit message from CVS:
2003-12-29  Colin Walters  <walters@verbum.org>

* ext/esd/esdsink.c (gst_esdsink_link): Fix typo; get depth instead of
signed.
2003-12-30 02:07:05 +00:00
Jan Schmidt
dc579e910c Fix warning about discarding const qualifier
Original commit message from CVS:
Fix warning about discarding const qualifier
2003-12-29 15:16:03 +00:00
Jeremy Simon
30ee9b8a6e Changelog update
Original commit message from CVS:
Changelog update
2003-12-27 19:49:18 +00:00
Benjamin Otte
c96803fc0c ext/alsa/gstalsa.c: Don't send ALSA debugging to stderr.
Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_open_audio):
Don't send ALSA debugging to stderr.
* ext/alsa/gstalsa.h:
Use GST_WARNING instead of g_warning when ALSA functions fail.
2003-12-27 17:19:29 +00:00
Benjamin Otte
a69f59564a sys/xvimage/xvimagesink.c: Free XVAdapterInfo correctly.
Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Free XVAdapterInfo correctly.
2003-12-27 15:37:43 +00:00
Benjamin Otte
fc79560864 ext/mad/gstid3tag.c: Make id3tag use correct caps nego.
Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_id3_tag_add_src_pad),
(gst_id3_tag_do_caps_nego), (gst_id3_tag_src_link):
Make id3tag use correct caps nego.
2003-12-27 13:54:14 +00:00
Amaury Jacquot
8228b07b7a make tremor work again
Original commit message from CVS:
make tremor work again
2003-12-27 13:07:06 +00:00
Benjamin Otte
1ee7a16372 testsuite/spider/: Make tests compile again. They probably don't work.
Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* testsuite/spider/spider1.c: (main):
* testsuite/spider/spider2.c: (main):
* testsuite/spider/spider3.c: (main):
Make tests compile again. They probably don't work.
2003-12-27 10:11:02 +00:00
Colin Walters
c2f54315b1 Return NULL if we can't fixate the caps anymore.
Original commit message from CVS:
Return NULL if we can't fixate the caps anymore.
2003-12-24 17:01:00 +00:00
David Schleef
d88e52a37b gst/volume/gstvolume.c: Proxy getcaps.
Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_init): Proxy getcaps.
* sys/oss/gstosssink.c: (gst_osssink_init),
(gst_osssink_sink_fixate): Add fixate function.
2003-12-24 03:31:06 +00:00
Ronald S. Bultje
9de4db6540 ext/ffmpeg/: fix typo in RGB masks, and move back to "old" colorspace capsnego code until whoever wrote this new crap...
Original commit message from CVS:
2003-12-24  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps),
(gst_ffmpegcsp_srcconnect_func), (gst_ffmpegcsp_sinkconnect),
(gst_ffmpegcsp_srcconnect), (gst_ffmpegcsp_get_type),
(gst_ffmpegcsp_base_init), (gst_ffmpegcsp_class_init),
(gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
(gst_ffmpegcsp_change_state), (gst_ffmpegcsp_set_property),
(gst_ffmpegcsp_get_property), (gst_ffmpegcsp_register):
fix typo in RGB masks, and move back to "old" colorspace
capsnego code until whoever wrote this new crap has actually
tested it so that it works.
And yes, this works, keep it that way please.
2003-12-24 00:12:16 +00:00
Ronald S. Bultje
474deff1ad Fix caps breakage after Dave's caps branch merge.
Original commit message from CVS:
2003-12-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxdec.c: (gst_divxdec_base_init),
(gst_divxdec_init), (gst_divxdec_negotiate):
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.c: (gst_divxenc_base_init),
(gst_divxenc_init):
* ext/faac/gstfaac.c: (gst_faac_base_init), (gst_faac_init),
(gst_faac_sinkconnect), (gst_faac_srcconnect):
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/mpeg2enc/gstmpeg2encoder.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_base_init),
(dxr3audiosink_init), (dxr3audiosink_pcm_sinklink):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_base_init),
(dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_base_init),
(dxr3videosink_init):
Fix caps breakage after Dave's caps branch merge.
2003-12-23 22:50:05 +00:00
Ronald S. Bultje
ba46f162ef Fix 24bppLE RGB
Original commit message from CVS:
Fix 24bppLE RGB
2003-12-23 22:41:37 +00:00
Colin Walters
24264432ec I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-12-23 21:30:12 +00:00
Colin Walters
d74a6240ee Add ARG_HANDLE property that takes a GnomeVFSHandle directly.
Original commit message from CVS:
Add ARG_HANDLE property that takes a GnomeVFSHandle directly.
2003-12-23 21:28:35 +00:00
Benjamin Otte
c8a3cf2f11 gst/volume/: Reenable volume element and fix to work with new caps stuff.
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/volume/Makefile.am:
* gst/volume/gstvolume.c: (volume_connect), (volume_parse_caps),
(volume_base_init), (volume_init):
Reenable volume element and fix to work with new caps stuff.
Rhythmbox needs this.
2003-12-22 21:06:03 +00:00
Benjamin Otte
07a0396381 gst/qtdemux/qtdemux.c: qtdemux requires bytestream
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/qtdemux/qtdemux.c: (plugin_init):
qtdemux requires bytestream
2003-12-22 19:05:34 +00:00
Benjamin Otte
3560b60623 ext/alsa/gstalsa.c: Fix remaining caps handling errors due to CAPS merge.
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_get_caps), (gst_alsa_link):
Fix remaining caps handling errors due to CAPS merge.
2003-12-22 16:38:00 +00:00
Benjamin Otte
9b88d2810a ext/faad/gstfaad.c: Port to new caps system.
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/faad/gstfaad.c: (gst_faad_base_init), (gst_faad_init),
(gst_faad_sinkconnect), (gst_faad_srcgetcaps),
(gst_faad_srcconnect):
Port to new caps system.
2003-12-22 06:56:16 +00:00
Julien Moutte
f43f0a9fd7 examples/gstplay/player.c: using g_print instead of g_message.
Original commit message from CVS:
* examples/gstplay/player.c: (got_time_tick), (got_stream_length),
(got_video_size), (main): using g_print instead of g_message.
* gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup): Fixing EOS
signal which was not emitted because of "switch" element added to the
bin but not connected. (Removing from the bin temporarily)
2003-12-21 22:11:45 +00:00
Julien Moutte
58fee07b95 configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X development files. I don't understand the...
Original commit message from CVS:
* configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to
find X development files. I don't understand the previous tests and
they fail on my debian/ppc unstable. This one works.
* examples/gstplay/player.c: (main): Set the pipeline to READY before
exiting.
* gst-libs/gst/play/gstplay.c: (gst_play_get_length_callback),
(gst_play_set_video_sink), (gst_play_set_audio_sink),
(gst_play_set_visualization): Add some safety checks in set_ methods
and state_change. This was throwing some ugly CRITICAL messages when
pipeline was getting disposed and casts were failing.
2003-12-21 19:48:40 +00:00
Ronald S. Bultje
ae91d7c717 configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Improve mpeg2enc detection. This is for distributions that do
ship mjpegtools, but without mpeg2enc. Also does object check
for might there ever be ABI incompatibility.
* ext/mpeg2enc/gstmpeg2enc.cc:
Add Andrew as second maintainer (he's helping me), and also add
an error if no caps was set. This happens if I pull before capsnego
and that's something I should solve sometime else.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix time parsing.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
(gst_matroska_mux_track_header):
Add caps to templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
Add mpegversion=1 to prevent confusion with MPEG/AAC.
* gst/mpegstream/gstmpegdemux.c:
Remove layer since it causes warnings about unfixed caps.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Fix obvious typo (we error out if caps were set, we should of
course error out if *no* caps were set).
* sys/oss/gstosselement.c: (gst_osselement_convert):
Fix format conversion, we confused bits/bytes.
* sys/oss/gstosselement.h:
Improve documentation for 'bps'.
* sys/v4l/TODO:
Remove stuff about plugins that need removing - this was done
ages ago.
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
(gst_v4lsrc_src_query):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_src_convert), (gst_v4l2src_src_query):
Add get_query_types(), get_formats() and query() functions.
2003-12-21 18:44:34 +00:00
Thomas Vander Stichele
4dbdabd716 fresh ChangeLog
Original commit message from CVS:
fresh ChangeLog
2003-12-21 18:06:07 +00:00
Thomas Vander Stichele
7012697bc0 disable gdk_pixbuf by default
Original commit message from CVS:
disable gdk_pixbuf by default
2003-12-16 16:58:59 +00:00
Benjamin Otte
88b75d73d1 live and let die
Original commit message from CVS:
live and let die
2003-12-16 03:37:21 +00:00
Thomas Vander Stichele
47d0444174 make pixbuf loader dir configurable
Original commit message from CVS:
make pixbuf loader dir configurable
2003-12-14 16:51:39 +00:00
Amaury Jacquot
60fe453656 unnecessary includes that prevent the build with freedesktop.org X server
Original commit message from CVS:
unnecessary includes that prevent the build with freedesktop.org X server
2003-12-14 11:58:29 +00:00
Thomas Vander Stichele
b119aedc2f fixing up X test and general features test
Original commit message from CVS:
fixing up X test and general features test
2003-12-03 12:23:37 +00:00
Thomas Vander Stichele
03f1b5c797 live and let die
Original commit message from CVS:
live and let die
2003-11-15 20:43:55 +00:00
Benjamin Otte
703a13d1b9 GStreamer does not use changelogs
Original commit message from CVS:
GStreamer does not use changelogs
2003-11-14 19:24:15 +00:00
Thomas Vander Stichele
68bd6538d8 various spec file and build fixes agogo /me kicks ds in a friendly way
Original commit message from CVS:
various spec file and build fixes agogo
/me kicks ds in a friendly way
2003-07-12 12:49:14 +00:00
Colin Walters
637c1a0768 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-02-15 04:54:32 +00:00
Colin Walters
f795ae930d I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-02-07 01:48:21 +00:00
Colin Walters
af0f294066 Don't make a size request when in iradio mode.
Original commit message from CVS:
(gst_gnomevfssrc_open_file): Don't make a size request when in iradio mode.
2003-01-25 23:20:36 +00:00
Colin Walters
d9c6d0dde9 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2002-11-25 16:35:18 +00:00
Jeremy Simon
793944596f Thanks Ken !
Original commit message from CVS:
Patch from Ken MacLeod (Bug #98797), Thanks Ken !
2002-11-23 09:32:25 +00:00
Richard Boulton
197d84d270 LICENSE_readme: Mention that synaesthesia is derived from GPL code.
Original commit message from CVS:
LICENSE_readme: Mention that synaesthesia is derived from GPL code.
2002-07-07 13:15:47 +00:00
Richard Boulton
78dcfe669a m4/mpeg2dec.m4: Test for cpuaccel library as well as mpeg2dec library. Add appropriate includes before test compile ...
Original commit message from CVS:
* m4/mpeg2dec.m4: Test for cpuaccel library as well as mpeg2dec
library.  Add appropriate includes before test compile of mpeg2.h
so that compilation succeeds.
2002-06-03 15:10:39 +00:00
Thomas Vander Stichele
a18f44638b removing snapshot from the build because we need to fix it adding gconf schema to build and spec
Original commit message from CVS:
removing snapshot from the build because we need to fix it
adding gconf schema to build and spec
2002-05-10 21:56:15 +00:00
Thomas Vander Stichele
7a4a13a6b9 more build fixing
Original commit message from CVS:
more build fixing
2002-02-06 18:18:16 +00:00
Bastien Nocera
511817763d - make the qcam plugin build only only platforms using NASM, ie. x86
Original commit message from CVS:
- make the qcam plugin build only only platforms using NASM, ie. x86
2002-01-17 00:36:01 +00:00
Rodney Dawes
352c2fc290 A couple check fixes
Original commit message from CVS:
A couple check fixes
2002-01-07 02:31:17 +00:00
Thomas Vander Stichele
d985a62999 doc stuff
Original commit message from CVS:
doc stuff
2001-12-20 20:07:24 +00:00