Commit graph

353 commits

Author SHA1 Message Date
Wim Taymans
796529c197 gst/: Added some logging, fixed an overflow bug in videorate.
Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_link),
(gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property):
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_chain):
Added some logging, fixed an overflow bug in videorate.
2004-06-24 12:45:27 +00:00
Benjamin Otte
814688a52b don't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball.
Original commit message from CVS:
* gst-libs/gst/colorbalance/Makefile.am:
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/play/Makefile.am:
* gst-libs/gst/tuner/Makefile.am:
* gst/tcp/Makefile.am:
* sys/dxr3/Makefile.am:
don't include -enumtypes.[ch] or -marshal.[ch] files in the disted
tarball.
Also add all *.list files that were missing.
* Makefile.am:
add a distcheck hook to ensure the above doesn't happen again.
2004-06-24 01:43:54 +00:00
Wim Taymans
13377326ca gst/audiorate/gstaudiorate.c: Implement sample dropping and notify
Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_class_init),
(gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property):
Implement sample dropping and notify
2004-06-23 11:06:10 +00:00
Wim Taymans
c09d2389f5 gst/videorate/gstvideorate.c: Initialize the property as well.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_init):
Initialize the property as well.
2004-06-22 11:57:22 +00:00
Wim Taymans
4d9cb8e1bd gst/videorate/gstvideorate.c: Add property to make videorate silent.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_set_property), (gst_videorate_get_property):
Add property to make videorate silent.
Add property to prefer new frames over old ones.
2004-06-22 11:19:46 +00:00
Jan Schmidt
818b452ea7 ext/dvdnav/gst-dvd: Grab the gconf key from the right spot
Original commit message from CVS:
* ext/dvdnav/gst-dvd: Grab the gconf key from the right spot
* gst/debug/gstnavseek.c: (gst_navseek_init),
(gst_navseek_segseek), (gst_navseek_handle_src_event),
(gst_navseek_chain):
* gst/debug/gstnavseek.h: Add 's', 'e' and 'l' keypresses to navseek
to define the start,end and loop parameters of a segment seek.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_init),
(gst_videotestsrc_get_event_masks),
(gst_videotestsrc_handle_src_event), (gst_videotestsrc_get):
* gst/videotestsrc/gstvideotestsrc.h:
Add seeking support to videotestsrc
Initialise the timestamp_offset variable.
2004-06-18 22:32:44 +00:00
Thomas Vander Stichele
7dfdfad793 cleanups, mem fix
Original commit message from CVS:
cleanups, mem fix
2004-06-17 19:07:00 +00:00
Thomas Vander Stichele
aabfd87d93 read caps in connect
Original commit message from CVS:
read caps in connect
2004-06-17 18:20:43 +00:00
Thomas Vander Stichele
cc145719cd notify; don't overlimit
Original commit message from CVS:
notify; don't overlimit
2004-06-17 17:07:50 +00:00
Wim Taymans
7face56b42 gst/audiorate/: Added an audiorate converter that fills in gaps.
Original commit message from CVS:
* gst/audiorate/Makefile.am:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_get_type),
(gst_audiorate_base_init), (gst_audiorate_class_init),
(gst_audiorate_link), (gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property),
(gst_audiorate_change_state), (plugin_init):
Added an audiorate converter that fills in gaps.
2004-06-17 13:45:50 +00:00
Johan Dahlin
c163b09cc4 ext/tcp/*: Revert Zaheer changes, to make things actually work again.
Original commit message from CVS:
* ext/tcp/*: Revert Zaheer changes, to make things actually work again.
2004-06-17 09:10:57 +00:00
Wim Taymans
17c1c603f9 gst/videorate/: Added a video timestamp corrector.
Original commit message from CVS:
* gst/videorate/Makefile.am:
* gst/videorate/gstvideorate.c: (gst_videorate_get_type),
(gst_videorate_base_init), (gst_videorate_class_init),
(gst_videorate_getcaps), (gst_videorate_link),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_set_property), (gst_videorate_get_property),
(gst_videorate_change_state), (plugin_init):
Added a video timestamp corrector.
2004-06-16 09:39:02 +00:00
David Schleef
53ece3e4be gst/volume/demo.c: (value_changed_callback): exp10() is not standard. Thank you for playing.
Original commit message from CVS:
* gst/volume/demo.c: (value_changed_callback): exp10() is not
standard.  Thank you for playing.
2004-06-14 20:24:08 +00:00
Wim Taymans
f1a3a74db3 gst/ffmpegcolorspace/imgconvert.c: Patch 1.3 broke the ordering of the colorspace info and made the plugin basically ...
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (img_convert):
Patch 1.3 broke the ordering of the colorspace info and
made the plugin basically work by coincidence, reodered
the info.
2004-06-14 13:19:39 +00:00
Thomas Vander Stichele
f0fb441850 added volume demo app
Original commit message from CVS:
added volume demo app
2004-06-14 10:04:44 +00:00
Christophe Fergeau
7d95f78199 gst/tags/gstvorbistag.c: replaced a g_warning which I added in my previous commit with GST_DEBUG
Original commit message from CVS:
2004-06-12  Christophe Fergeau  <teuf@gnome.org>

* gst/tags/gstvorbistag.c: replaced a g_warning which I added in my
previous commit with GST_DEBUG
2004-06-12 11:24:50 +00:00
Zaheer Abbas Merali
ff6de28f39 gst/tcp/: Modified the tcp plugins so they are portable (IPv4,IPv6, any future version of IP)
Original commit message from CVS:
2004-06-12  Zaheer Abbas Merali  <zaheerabbas@merali.org>

* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init_send):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init_receive):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_init),
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_init_send):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init_receive):
* gst/tcp/gsttcpserversrc.h:
Modified the tcp plugins so they are portable (IPv4,IPv6, any future
version of IP)
2004-06-12 10:55:10 +00:00
Christophe Fergeau
7a3955fdc8 gst/tags/gstvorbistag.c: make sure parsed vorbis comments are properly encoded in UTF-8 before adding them to a GstTa...
Original commit message from CVS:
2004-06-10  Christophe Fergeau  <teuf@gnome.org>

* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add): make sure parsed
vorbis comments are properly encoded in UTF-8 before adding them
to a GstTagList
2004-06-09 22:12:33 +00:00
Thomas Vander Stichele
5a05f869b4 looping read for caps and headers
Original commit message from CVS:
looping read for caps and headers
2004-06-08 15:47:53 +00:00
Thomas Vander Stichele
6cb4ae72f9 return EOS instead of NULL
Original commit message from CVS:
return EOS instead of NULL
2004-06-08 14:45:33 +00:00
Wim Taymans
fbd9b71c3a gst/tcp/: Memory leak fixes
Original commit message from CVS:
* gst/tcp/gsttcp.c: (gst_tcp_gdp_read_header),
(gst_tcp_gdp_read_caps), (gst_tcp_gdp_write_header),
(gst_tcp_gdp_write_caps):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get):
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_gdp_read_caps),
(gst_tcpserversrc_gdp_read_header), (gst_tcpserversrc_get):
Memory leak fixes
2004-06-08 14:24:52 +00:00
Thomas Vander Stichele
920d5bc922 fix
Original commit message from CVS:
fix
2004-06-08 14:09:30 +00:00
Thomas Vander Stichele
dfadb5df47 use streamheader
Original commit message from CVS:
use streamheader
2004-06-08 10:44:59 +00:00
Thomas Vander Stichele
6a35436fdc uniformized; added signals to serversink for new and removed clients
Original commit message from CVS:
uniformized; added signals to serversink for new and removed clients
2004-06-08 09:12:12 +00:00
Benjamin Otte
5b6ffe42de gst/adder/gstadder.c: properly error out when no negotiation has happened yet. (fixes #143032)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/adder/gstadder.c: (gst_adder_loop):
properly error out when no negotiation has happened yet. (fixes
#143032)
2004-06-06 23:43:15 +00:00
David Schleef
b09b7d5257 gst/ffmpegcolorspace/gstffmpegcodecmap.c: that's
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: that's
G_HAVE_GNUC_VARARGS, not G_HAVE_GNU_VARARGS.  Should fix compile
problems on several systems.
2004-06-06 20:59:00 +00:00
Andrew Turner
d95fa9f8e8 gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD)
Original commit message from CVS:
* gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD)
* gst/tcp/gsttcpclientsrc.h: idem
- define MSG_NOSIGNAL if not done
- include unistd.h for off_t
(fixes #143749)
patch by Andrew Turner <zxombie@hotpop.com>
2004-06-05 15:40:10 +00:00
Thomas Vander Stichele
cdb0c05c98 don't leak
Original commit message from CVS:
don't leak
2004-06-03 17:28:05 +00:00
Thomas Vander Stichele
b5580efd05 don't get sigpipe on send
Original commit message from CVS:
don't get sigpipe on send
2004-06-03 15:34:07 +00:00
Thomas Vander Stichele
571a5cd7a6 use ssize_t over size_t avoid segfault in alsa
Original commit message from CVS:

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

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

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

* gst-libs/gst/mixer/mixertrack.c : forgoten include
to define newly used G_MAXINT32, bad owen, bad
2004-06-02 11:47:10 +00:00
Benjamin Otte
b95a7dca6a gst/audioconvert/gstaudioconvert.c: fixate nicely even when the peer is not negotiating
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
fixate nicely even when the peer is not negotiating
2004-05-26 14:47:23 +00:00
Benjamin Otte
4f845c50ce gst/audioconvert/gstaudioconvert.c: make sure we don't allow depth > width
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps):
make sure we don't allow depth > width
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
fixate endianness to G_BYTE_ORDER as default
* gst/audioscale/gstaudioscale.c:
we don't handle another endianness as host-endianness
2004-05-25 20:14:10 +00:00
David Schleef
7e27333a2b gst/ffmpegcolorspace/mem.c: malloc() is in stdlib.h, not malloc.h
Original commit message from CVS:
* gst/ffmpegcolorspace/mem.c:  malloc() is in stdlib.h, not malloc.h
2004-05-25 18:38:39 +00:00
Benjamin Otte
2e050e0378 ext/vorbis/oggvorbisenc.c: properly fail when we can't setup the vorbis encoder due to unsupported settings
Original commit message from CVS:
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_sinkconnect),
(gst_oggvorbisenc_setup):
properly fail when we can't setup the vorbis encoder due to
unsupported settings
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_sinkconnect),
(gst_vorbisenc_setup):
same
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
fix case where warnings occured when one pad was unlinked while the
other's link function was called
2004-05-24 19:19:29 +00:00
Thomas Vander Stichele
72f03b689d use GST_ENABLE_NEW
Original commit message from CVS:
use GST_ENABLE_NEW
2004-05-24 16:36:54 +00:00
Wim Taymans
30c85388fa gst/videoscale/videoscale.c: Fix the scaling algorithm and avoid a buffer overflow. removed the while loop in the sca...
Original commit message from CVS:
* gst/videoscale/videoscale.c: (gst_videoscale_scale_nearest),
(gst_videoscale_scale_nearest_str2),
(gst_videoscale_scale_nearest_str4),
(gst_videoscale_scale_nearest_32bit),
(gst_videoscale_scale_nearest_24bit),
(gst_videoscale_scale_nearest_16bit):
Fix the scaling algorithm and avoid a buffer overflow.
removed the while loop in the scaling function as it
was used for point sampling only.
2004-05-24 14:48:54 +00:00
Stéphane Loeuillet
1f1a7cbe84 first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
Original commit message from CVS:

first batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
2004-05-21 22:39:30 +00:00
Stéphane Loeuillet
08b37bf327 rename defines too, so that they look like the others (say naming convention)
Original commit message from CVS:
rename defines too, so that they look like the others (say naming convention)
2004-05-21 14:53:20 +00:00
Stéphane Loeuillet
970e90054a - change sunaudio category to Sink/Audio
Original commit message from CVS:
- change sunaudio category to Sink/Audio
- change HAVE_FIONREAD macro to GST_CHECK_FIONREAD
- add conditional include for FIONREAD ioctl on more files
2004-05-20 19:43:25 +00:00
Stéphane Loeuillet
322db67058 test FIONREAD ioctl presence in an alternate header for Solaris 10 (and perhaps earlier versions)
Original commit message from CVS:
test FIONREAD ioctl presence in an alternate header for Solaris 10 (and perhaps earlier versions)
2004-05-20 19:19:26 +00:00
Thomas Vander Stichele
253fc51655 add new tcp elements
Original commit message from CVS:
add new tcp elements
2004-05-20 10:15:31 +00:00
Thomas Vander Stichele
79d7ddc550 gsttcp -> gsttcpplugin
Original commit message from CVS:
gsttcp -> gsttcpplugin
2004-05-19 15:07:44 +00:00
David Schleef
63469508c4 gst/ffmpegcolorspace/imgconvert.c: Fixes for warnings (bugs, actually) noticed by gcc but not forte.
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (img_convert): Fixes for
warnings (bugs, actually) noticed by gcc but not forte.
2004-05-19 06:47:58 +00:00
David Schleef
c95dd78c2b configure.ac: Add sunaudio
Original commit message from CVS:
* configure.ac: Add sunaudio
* examples/Makefile.am: make gstplay depend on gconf
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Remove c99-isms
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette),
(convert_table_lookup), (img_convert): remove c99-isms
* gst/ffmpegcolorspace/imgconvert_template.h: make a constant
unsigned, to fix a warning on Solaris
* gst/mpeg1sys/systems.c: bcopy->memcpy
* gst/rtjpeg/RTjpeg.c: (RTjpeg_yuvrgb8): bcopy->memcpy
* sys/Makefile.am: Add sunaudio
2004-05-19 06:10:49 +00:00
Colin Walters
9ecad5ee01 fix a number of memleaks
Original commit message from CVS:
fix a number of memleaks
2004-05-07 20:26:47 +00:00
Benjamin Otte
b581588127 ext/lame/gstlame.c: simplify
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
simplify
* ext/mad/gstmad.c: (gst_mad_handle_event):
fix event leak
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
be able to detect mp3 files < 4096 bytes
2004-05-07 00:43:50 +00:00
Thomas Vander Stichele
cba2022045 gst/audioconvert/gstaudioconvert.c: refactor/comment code
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
refactor/comment code
2004-05-03 13:25:22 +00:00
Ronald S. Bultje
bd56d546af gst/matroska/matroska-demux.c: Really detect ac-3 audio.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
Really detect ac-3 audio.
* gst/typefind/gsttypefindfunctions.c: (matroska_type_find):
really detect matroska files (off-by-1).
2004-05-01 02:46:38 +00:00
Thomas Vander Stichele
6e19650c97 gst/ffmpegcolorspace/gstffmpegcolorspace.c: remove broken nego fix
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
remove broken nego fix
2004-04-30 12:21:11 +00:00